Re: [e-users] EFL compile problem

2024-06-06 Thread daniel antoine
I got this

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 1cd130a Eina: fix constness compilation error with gcc 14
+ patch -Np1 -i ../linker.patch
(Patch is indented 1 space.)
patching file src/lib/eina/meson.build
patch:  malformed patch at line 6: execinfo =
cc.find_library('execinfo', required: false)

===> ERROR: Building 'efl.ca1717527460any.cards.tar.xz' failed.

the patch file is not well formatted ?


Le jeu. 6 juin 2024 à 14:28, Vincent Torri  a écrit :
>
> On Thu, Jun 6, 2024 at 2:17 PM daniel antoine  wrote:
> >
> > do you mean just that
> >
> > diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
> > index 4ab37d2112..c50a06b59b 100644
> > --- a/src/lib/eina/meson.build
> >  +++ b/src/lib/eina/meson.build
> >  @@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
> > execinfo = cc.find_library('execinfo', required: false)
> > eina_ext_deps += [execinfo]
> > -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
> > +  c_args : eina_c_args,
>
> yes
>
>
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL compile problem

2024-06-06 Thread Vincent Torri
On Thu, Jun 6, 2024 at 2:17 PM daniel antoine  wrote:
>
> do you mean just that
>
> diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
> index 4ab37d2112..c50a06b59b 100644
> --- a/src/lib/eina/meson.build
>  +++ b/src/lib/eina/meson.build
>  @@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
> execinfo = cc.find_library('execinfo', required: false)
> eina_ext_deps += [execinfo]
> -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
> +  c_args : eina_c_args,

yes


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL compile problem

2024-06-06 Thread daniel antoine
do you mean just that

diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index 4ab37d2112..c50a06b59b 100644
--- a/src/lib/eina/meson.build
 +++ b/src/lib/eina/meson.build
 @@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
execinfo = cc.find_library('execinfo', required: false)
eina_ext_deps += [execinfo]
-  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
+  c_args : eina_c_args,

I am not an expert in this domain

Best regards

Le jeu. 6 juin 2024 à 11:56, Masaru Nomiya  a écrit :
>
> Hello,
>
> In the Message;
>
>   Subject: Re: [e-users] EFL compile problem
>   Message-ID : 
> 
>   Date & Time: Thu, 6 Jun 2024 10:35:38 +0200
>
> [VT] == Vincent Torri  has written:
>
> [...]
> VT>>  -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
> VT>>  +  c_args : eina_c_args
>
> VT>  see my last msg : missing comma at the end above (I did the diff
> VT>  before saving file...)
>
> It was fixed by a patch of patch.
>
> Thanks.
>
> ---
> ┏━━┓彡  Masaru Nomiya mail-to: m.nomiya+suse @ gmail.com
> ┃\/彡
> ┗━━┛Think.
>
> -- The IBM slogan --
>
>
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL compile problem

2024-06-06 Thread Masaru Nomiya
Hello,

In the Message; 

  Subject: Re: [e-users] EFL compile problem
  Message-ID : 

  Date & Time: Thu, 6 Jun 2024 10:35:38 +0200

[VT] == Vincent Torri  has written:

[...]
VT>>  -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
VT>>  +  c_args : eina_c_args

VT>  see my last msg : missing comma at the end above (I did the diff
VT>  before saving file...)

It was fixed by a patch of patch.

Thanks.

---
┏━━┓彡  Masaru Nomiya mail-to: m.nomiya+suse @ gmail.com
┃\/彡
┗━━┛Think.

-- The IBM slogan --


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL compile problem

2024-06-06 Thread Vincent Torri
On Thu, Jun 6, 2024 at 11:22 AM daniel antoine  wrote:
>
> Hi Vincent
>
> I run in the compile error with commit
> 1cd130ac096bd2148d4c0f6e54864413284e0963 , you talk about a patch, if
> you want I can try it

please try it. don't forget the missing colon that i have mentioned.
I'm waiting for someone  to tell me that the patch is fixing this
issue

Vincent

> Best regards
>
> Daniel
>
> Le jeu. 6 juin 2024 à 10:36, Vincent Torri  a écrit :
> >
> > On Thu, Jun 6, 2024 at 10:30 AM Masaru Nomiya  wrote:
> > >
> > > Hello,
> > >
> > > Sorry, forgot to attach the error message.
> > >
> > > In the Message;
> > >
> > >   Subject: Re: [e-users] EFL compile problem
> > >   Message-ID : <87v82mqyhu.wl-nom...@lake.dti.ne.jp>
> > >   Date & Time:
> > >
> > > [MN] == Masaru Nomiya  has written:
> > >
> > > MN> Hello,
> > >
> > > MN> In the Message;
> > >
> > > MN>   Subject: Re: [e-users] EFL compile problem
> > > MN>   Message-ID : 
> > > 
> > > MN>   Date & Time: Thu, 6 Jun 2024 09:24:51 +0200
> > >
> > > MN> [VT] == Vincent Torri  has written:
> > >
> > > VT>  try that patch
> > >
> > > VT>  diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
> > > VT>  index 4ab37d2112..c50a06b59b 100644
> > > VT>  --- a/src/lib/eina/meson.build
> > > VT>  +++ b/src/lib/eina/meson.build
> > > VT>  @@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
> > > VT>   execinfo = cc.find_library('execinfo', required: false)
> > > VT>   eina_ext_deps += [execinfo]
> > > MN> [...]
> > > VT>  -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
> > > VT>  +  c_args : eina_c_args
> >
> > see my last msg : missing comma at the end above (I did the diff
> > before saving file...)
> >
> > Vincent
> >
> >
> > ___
> > enlightenment-users mailing list
> > enlightenment-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>
>
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL compile problem

2024-06-06 Thread daniel antoine
Hi Vincent

I run in the compile error with commit
1cd130ac096bd2148d4c0f6e54864413284e0963 , you talk about a patch, if
you want I can try it

Best regards

Daniel

Le jeu. 6 juin 2024 à 10:36, Vincent Torri  a écrit :
>
> On Thu, Jun 6, 2024 at 10:30 AM Masaru Nomiya  wrote:
> >
> > Hello,
> >
> > Sorry, forgot to attach the error message.
> >
> > In the Message;
> >
> >   Subject: Re: [e-users] EFL compile problem
> >   Message-ID : <87v82mqyhu.wl-nom...@lake.dti.ne.jp>
> >   Date & Time:
> >
> > [MN] == Masaru Nomiya  has written:
> >
> > MN> Hello,
> >
> > MN> In the Message;
> >
> > MN>   Subject: Re: [e-users] EFL compile problem
> > MN>   Message-ID : 
> > 
> > MN>   Date & Time: Thu, 6 Jun 2024 09:24:51 +0200
> >
> > MN> [VT] == Vincent Torri  has written:
> >
> > VT>  try that patch
> >
> > VT>  diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
> > VT>  index 4ab37d2112..c50a06b59b 100644
> > VT>  --- a/src/lib/eina/meson.build
> > VT>  +++ b/src/lib/eina/meson.build
> > VT>  @@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
> > VT>   execinfo = cc.find_library('execinfo', required: false)
> > VT>   eina_ext_deps += [execinfo]
> > MN> [...]
> > VT>  -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
> > VT>  +  c_args : eina_c_args
>
> see my last msg : missing comma at the end above (I did the diff
> before saving file...)
>
> Vincent
>
>
> ___
> enlightenment-users mailing list
> enlightenment-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL compile problem

2024-06-06 Thread Vincent Torri
On Thu, Jun 6, 2024 at 10:30 AM Masaru Nomiya  wrote:
>
> Hello,
>
> Sorry, forgot to attach the error message.
>
> In the Message;
>
>   Subject: Re: [e-users] EFL compile problem
>   Message-ID : <87v82mqyhu.wl-nom...@lake.dti.ne.jp>
>   Date & Time:
>
> [MN] == Masaru Nomiya  has written:
>
> MN> Hello,
>
> MN> In the Message;
>
> MN>   Subject: Re: [e-users] EFL compile problem
> MN>   Message-ID : 
> 
> MN>   Date & Time: Thu, 6 Jun 2024 09:24:51 +0200
>
> MN> [VT] == Vincent Torri  has written:
>
> VT>  try that patch
>
> VT>  diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
> VT>  index 4ab37d2112..c50a06b59b 100644
> VT>  --- a/src/lib/eina/meson.build
> VT>  +++ b/src/lib/eina/meson.build
> VT>  @@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
> VT>   execinfo = cc.find_library('execinfo', required: false)
> VT>   eina_ext_deps += [execinfo]
> MN> [...]
> VT>  -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
> VT>  +  c_args : eina_c_args

see my last msg : missing comma at the end above (I did the diff
before saving file...)

Vincent


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL compile problem

2024-06-06 Thread Masaru Nomiya
Hello,

In the Message; 

  Subject: Re: [e-users] EFL compile problem
  Message-ID : 

  Date & Time: Thu, 6 Jun 2024 09:24:51 +0200

[VT] == Vincent Torri  has written:

VT>  try that patch

VT>  diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
VT>  index 4ab37d2112..c50a06b59b 100644
VT>  --- a/src/lib/eina/meson.build
VT>  +++ b/src/lib/eina/meson.build
VT>  @@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
VT>   execinfo = cc.find_library('execinfo', required: false)
VT>   eina_ext_deps += [execinfo]
[...]
VT>  -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
VT>  +  c_args : eina_c_args
VT> include_directories : config_dir,
VT> dependencies: eina_ext_deps + [eina_deps, evil],
VT> install: true,

Sorry, but it's to no avail.

Best Regards.

---
┏━━┓彡   Masaru Nomiya mail-to: m.nomiya+suse @ gmail.com
┃\/彡
┗━━┛   " Hassabis says that no one really knows for sure that AI will
   become a major danger. But he is certain that if progress
   continues at its current pace, there isn’t much time to develop
   safeguards. "I can see the kinds of things we're building into
   the Gemini series right, and we have no reason to believe that
   they won't work," he says."

   -- "Google DeepMind's CEO Says Its Next Algorithm Will Eclipse ChatGPT" -- 


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL compile problem

2024-06-06 Thread Masaru Nomiya
Hello,

Sorry, forgot to attach the error message.

In the Message; 

  Subject: Re: [e-users] EFL compile problem
  Message-ID : <87v82mqyhu.wl-nom...@lake.dti.ne.jp>
  Date & Time: 

[MN] == Masaru Nomiya  has written:

MN> Hello,

MN> In the Message; 

MN>   Subject: Re: [e-users] EFL compile problem
MN>   Message-ID : 

MN>   Date & Time: Thu, 6 Jun 2024 09:24:51 +0200

MN> [VT] == Vincent Torri  has written:

VT>  try that patch

VT>  diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
VT>  index 4ab37d2112..c50a06b59b 100644
VT>  --- a/src/lib/eina/meson.build
VT>  +++ b/src/lib/eina/meson.build
VT>  @@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
VT>   execinfo = cc.find_library('execinfo', required: false)
VT>   eina_ext_deps += [execinfo]
MN> [...]
VT>  -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
VT>  +  c_args : eina_c_args
VT> include_directories : config_dir,
VT> dependencies: eina_ext_deps + [eina_deps, evil],
VT> install: true,

MN> Sorry, but it's to no avail.


[...]
Run-time dependency lua5.1 found: YES 5.1.5

src/lib/eina/meson.build:385:2: ERROR: Expecting rparen got id.
  include_directories : config_dir,
  ^
For a block that started at 383,18
eina_lib = library('eina', eina_src,
[...]  ^

Best Regards.

---
┏━━┓彡  Masaru Nomiyamail-to: m.nomiya+suse @ gmail.com
┃\/彡
┗━━┛"To hire for skills, firms will need to implement robust and
intentional changes in their hiring practices ― and change is
hard."
  
-- Employers don’t practice what they preach on skills-based hiring --


___
enlightenment-users mailing list
enlightenment-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-users


Re: [e-users] EFL compile problem

2024-06-06 Thread Vincent Torri
On Thu, Jun 6, 2024 at 9:24 AM Vincent Torri  wrote:
>
> try that patch
>
>
> diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
> index 4ab37d2112..c50a06b59b 100644
> --- a/src/lib/eina/meson.build
> +++ b/src/lib/eina/meson.build
> @@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
>  execinfo = cc.find_library('execinfo', required: false)
>  eina_ext_deps += [execinfo]
>
> -iconv_c_args = ''
> +eina_c_args = [package_c_args, '-DEINA_BUILD']
>  if sys_windows == true
> bcrypt = cc.find_library('bcrypt', required: true)
> eina_ext_deps += [bcrypt]
> if iconv.found()
> - iconv_c_args = '-DWINICONV_CONST='
> + eina_c_args += '-DWINICONV_CONST='
> endif
>  endif
>
>  eina_lib = library('eina', eina_src,
> -  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
> +  c_args : eina_c_args

missing  comma at the end of the previous line

>include_directories : config_dir,
>dependencies: eina_ext_deps + [eina_deps, evil],
>install: true,
>
>
>
> On Thu, Jun 6, 2024 at 8:47 AM Philippe Jean Guillaumie  wrote:
> >
> > I update the Enlightenment ecosystem on a daily basis.
> > Everything was okay before commit 1cd130ac09.
> >
> > This commit is the obvious culprit.
> >
> > Le 06/06/2024 à 08:23, Vincent Torri a écrit :
> > > On Thu, Jun 6, 2024 at 7:59 AM Philippe Jean Guillaumie  
> > > wrote:
> > >>
> > >> EFL fails to build on all my Ubuntu systems (22.04 LTS and 24.04 LTS)
> > >>
> > >> Same errors:
> > >>
> > >> gcc: warning: : linker input file unused because linking not done
> > >> gcc: error: : linker input file not found: No such file or directory
> > >> ninja: build stopped: subcommand failed.
> > >
> > > and if you revert my patch,it works ?
> > >
> > > Vincent
> > >
> > >>
> > >> Le 06/06/2024 à 06:35, Vincent Torri a écrit :
> > >>> hello
> > >>>
> > >>> i have no clue about this error (except maybe a problem with ccache),
> > >>> but the commit about constness is only for Windows
> > >>>
> > >>> Vincent
> > >>>
> > >>> On Thu, Jun 6, 2024 at 1:19 AM Conrad Knight  
> > >>> wrote:
> > 
> >  Hi,
> > 
> >  I just did the usual updates on my system today and that included
> >  pulling the latest efl sources using AUR (the efl-git package). But i
> >  quickly ran into a problem... meson ran fine, but as soon as ninja
> >  started the compile process i got errors:
> > 
> >  ninja: Entering directory `build'
> >  [1/2065] Compiling C object 
> >  src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o
> >  FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o
> >  ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
> >  -I../src/lib/eina -I. -I.. -I/usr/include/valgrind
> >  -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
> >  -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
> >  -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
> >  -DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
> >  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
> >  -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
> >  -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
> >  -mno-omit-leaf-frame-pointer -g
> >  -ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
> >  -flto=auto -fvisibility=hidden -fPIC -pthread
> >  '-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
> >  -DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
> >  src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o -MF
> >  src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o.d -o
> >  src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o -c
> >  ../src/lib/eina/eina_abi.c
> >  cc: warning: : linker input file unused because linking not done
> >  cc: error: : linker input file not found: No such file or directory
> >  [2/2065] Compiling C object 
> >  src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o
> >  FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o
> >  ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
> >  -I../src/lib/eina -I. -I.. -I/usr/include/valgrind
> >  -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
> >  -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
> >  -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
> >  -DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
> >  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
> >  -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
> >  -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
> >  -mno-omit-leaf-frame-pointer -g
> >  -ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
> >  -flto=auto -fvisibility=hidden -fPIC -pthread
> >  '-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
> >  -DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
> >  

Re: [e-users] EFL compile problem

2024-06-06 Thread Vincent Torri
try that patch


diff --git a/src/lib/eina/meson.build b/src/lib/eina/meson.build
index 4ab37d2112..c50a06b59b 100644
--- a/src/lib/eina/meson.build
+++ b/src/lib/eina/meson.build
@@ -371,17 +371,17 @@ eina_ext_deps += [iconv]
 execinfo = cc.find_library('execinfo', required: false)
 eina_ext_deps += [execinfo]

-iconv_c_args = ''
+eina_c_args = [package_c_args, '-DEINA_BUILD']
 if sys_windows == true
bcrypt = cc.find_library('bcrypt', required: true)
eina_ext_deps += [bcrypt]
if iconv.found()
- iconv_c_args = '-DWINICONV_CONST='
+ eina_c_args += '-DWINICONV_CONST='
endif
 endif

 eina_lib = library('eina', eina_src,
-  c_args : [package_c_args, '-DEINA_BUILD', iconv_c_args],
+  c_args : eina_c_args
   include_directories : config_dir,
   dependencies: eina_ext_deps + [eina_deps, evil],
   install: true,



On Thu, Jun 6, 2024 at 8:47 AM Philippe Jean Guillaumie  wrote:
>
> I update the Enlightenment ecosystem on a daily basis.
> Everything was okay before commit 1cd130ac09.
>
> This commit is the obvious culprit.
>
> Le 06/06/2024 à 08:23, Vincent Torri a écrit :
> > On Thu, Jun 6, 2024 at 7:59 AM Philippe Jean Guillaumie  
> > wrote:
> >>
> >> EFL fails to build on all my Ubuntu systems (22.04 LTS and 24.04 LTS)
> >>
> >> Same errors:
> >>
> >> gcc: warning: : linker input file unused because linking not done
> >> gcc: error: : linker input file not found: No such file or directory
> >> ninja: build stopped: subcommand failed.
> >
> > and if you revert my patch,it works ?
> >
> > Vincent
> >
> >>
> >> Le 06/06/2024 à 06:35, Vincent Torri a écrit :
> >>> hello
> >>>
> >>> i have no clue about this error (except maybe a problem with ccache),
> >>> but the commit about constness is only for Windows
> >>>
> >>> Vincent
> >>>
> >>> On Thu, Jun 6, 2024 at 1:19 AM Conrad Knight  
> >>> wrote:
> 
>  Hi,
> 
>  I just did the usual updates on my system today and that included
>  pulling the latest efl sources using AUR (the efl-git package). But i
>  quickly ran into a problem... meson ran fine, but as soon as ninja
>  started the compile process i got errors:
> 
>  ninja: Entering directory `build'
>  [1/2065] Compiling C object 
>  src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o
>  FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o
>  ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
>  -I../src/lib/eina -I. -I.. -I/usr/include/valgrind
>  -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
>  -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
>  -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
>  -DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
>  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
>  -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
>  -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
>  -mno-omit-leaf-frame-pointer -g
>  -ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
>  -flto=auto -fvisibility=hidden -fPIC -pthread
>  '-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
>  -DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
>  src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o -MF
>  src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o.d -o
>  src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o -c
>  ../src/lib/eina/eina_abi.c
>  cc: warning: : linker input file unused because linking not done
>  cc: error: : linker input file not found: No such file or directory
>  [2/2065] Compiling C object 
>  src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o
>  FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o
>  ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
>  -I../src/lib/eina -I. -I.. -I/usr/include/valgrind
>  -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
>  -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
>  -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
>  -DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
>  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
>  -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
>  -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
>  -mno-omit-leaf-frame-pointer -g
>  -ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
>  -flto=auto -fvisibility=hidden -fPIC -pthread
>  '-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
>  -DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
>  src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o -MF
>  src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o.d -o
>  src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o -c
>  ../src/lib/eina/eina_accessor.c
>  cc: warning: : linker input file unused because linking not done
>  cc: error: : linker input file 

Re: [e-users] EFL compile problem

2024-06-06 Thread Philippe Jean Guillaumie

I update the Enlightenment ecosystem on a daily basis.
Everything was okay before commit 1cd130ac09.

This commit is the obvious culprit.

Le 06/06/2024 à 08:23, Vincent Torri a écrit :

On Thu, Jun 6, 2024 at 7:59 AM Philippe Jean Guillaumie  wrote:


EFL fails to build on all my Ubuntu systems (22.04 LTS and 24.04 LTS)

Same errors:

gcc: warning: : linker input file unused because linking not done
gcc: error: : linker input file not found: No such file or directory
ninja: build stopped: subcommand failed.


and if you revert my patch,it works ?

Vincent



Le 06/06/2024 à 06:35, Vincent Torri a écrit :

hello

i have no clue about this error (except maybe a problem with ccache),
but the commit about constness is only for Windows

Vincent

On Thu, Jun 6, 2024 at 1:19 AM Conrad Knight  wrote:


Hi,

I just did the usual updates on my system today and that included
pulling the latest efl sources using AUR (the efl-git package). But i
quickly ran into a problem... meson ran fine, but as soon as ninja
started the compile process i got errors:

ninja: Entering directory `build'
[1/2065] Compiling C object src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o
FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o
ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
-I../src/lib/eina -I. -I.. -I/usr/include/valgrind
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
-Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -g
-ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
-flto=auto -fvisibility=hidden -fPIC -pthread
'-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
-DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o -MF
src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o.d -o
src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o -c
../src/lib/eina/eina_abi.c
cc: warning: : linker input file unused because linking not done
cc: error: : linker input file not found: No such file or directory
[2/2065] Compiling C object src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o
FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o
ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
-I../src/lib/eina -I. -I.. -I/usr/include/valgrind
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
-Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -g
-ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
-flto=auto -fvisibility=hidden -fPIC -pthread
'-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
-DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o -MF
src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o.d -o
src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o -c
../src/lib/eina/eina_accessor.c
cc: warning: : linker input file unused because linking not done
cc: error: : linker input file not found: No such file or directory
[3/2065] Compiling C object src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o
FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o
ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
-I../src/lib/eina -I. -I.. -I/usr/include/valgrind
-fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
-fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
-Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
-DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
-fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
-mno-omit-leaf-frame-pointer -g
-ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
-flto=auto -fvisibility=hidden -fPIC -pthread
'-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
-DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o -MF
src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o.d -o
src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o -c
../src/lib/eina/eina_binshare.c
cc: warning: : linker input file unused because linking not done
cc: error: : linker input file not found: No such file or directory
[4/2065] Compiling C object src/lib/eina/libeina.so.1.27.99.p/eina_benchmark.c.o
FAILED: 

Re: [e-users] EFL compile problem

2024-06-06 Thread Vincent Torri
On Thu, Jun 6, 2024 at 7:59 AM Philippe Jean Guillaumie  wrote:
>
> EFL fails to build on all my Ubuntu systems (22.04 LTS and 24.04 LTS)
>
> Same errors:
>
> gcc: warning: : linker input file unused because linking not done
> gcc: error: : linker input file not found: No such file or directory
> ninja: build stopped: subcommand failed.

and if you revert my patch,it works ?

Vincent

>
> Le 06/06/2024 à 06:35, Vincent Torri a écrit :
> > hello
> >
> > i have no clue about this error (except maybe a problem with ccache),
> > but the commit about constness is only for Windows
> >
> > Vincent
> >
> > On Thu, Jun 6, 2024 at 1:19 AM Conrad Knight  wrote:
> >>
> >> Hi,
> >>
> >> I just did the usual updates on my system today and that included
> >> pulling the latest efl sources using AUR (the efl-git package). But i
> >> quickly ran into a problem... meson ran fine, but as soon as ninja
> >> started the compile process i got errors:
> >>
> >> ninja: Entering directory `build'
> >> [1/2065] Compiling C object src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o
> >> FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o
> >> ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
> >> -I../src/lib/eina -I. -I.. -I/usr/include/valgrind
> >> -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
> >> -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
> >> -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
> >> -DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
> >> -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
> >> -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
> >> -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
> >> -mno-omit-leaf-frame-pointer -g
> >> -ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
> >> -flto=auto -fvisibility=hidden -fPIC -pthread
> >> '-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
> >> -DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
> >> src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o -MF
> >> src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o.d -o
> >> src/lib/eina/libeina.so.1.27.99.p/eina_abi.c.o -c
> >> ../src/lib/eina/eina_abi.c
> >> cc: warning: : linker input file unused because linking not done
> >> cc: error: : linker input file not found: No such file or directory
> >> [2/2065] Compiling C object 
> >> src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o
> >> FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o
> >> ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
> >> -I../src/lib/eina -I. -I.. -I/usr/include/valgrind
> >> -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
> >> -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
> >> -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
> >> -DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
> >> -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
> >> -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
> >> -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
> >> -mno-omit-leaf-frame-pointer -g
> >> -ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
> >> -flto=auto -fvisibility=hidden -fPIC -pthread
> >> '-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
> >> -DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
> >> src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o -MF
> >> src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o.d -o
> >> src/lib/eina/libeina.so.1.27.99.p/eina_accessor.c.o -c
> >> ../src/lib/eina/eina_accessor.c
> >> cc: warning: : linker input file unused because linking not done
> >> cc: error: : linker input file not found: No such file or directory
> >> [3/2065] Compiling C object 
> >> src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o
> >> FAILED: src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o
> >> ccache cc -Isrc/lib/eina/libeina.so.1.27.99.p -Isrc/lib/eina
> >> -I../src/lib/eina -I. -I.. -I/usr/include/valgrind
> >> -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch
> >> -fvisibility=hidden -Wpointer-arith -Wunused-parameter -Wsign-compare
> >> -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1
> >> -DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1
> >> -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions
> >> -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security
> >> -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer
> >> -mno-omit-leaf-frame-pointer -g
> >> -ffile-prefix-map=/usr/src/aur/efl-git/src=/usr/src/debug/efl-git
> >> -flto=auto -fvisibility=hidden -fPIC -pthread
> >> '-DPACKAGE_DATA_DIR="/usr/share/eina"' -DNEED_RUN_IN_TREE=1
> >> -DEFL_BUILD=1 -DEINA_BUILD '' -MD -MQ
> >> src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o -MF
> >> src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o.d -o
> >> src/lib/eina/libeina.so.1.27.99.p/eina_binshare.c.o -c
> >> ../src/lib/eina/eina_binshare.c
> >> cc: warning: