On Thu, Jun 6, 2024 at 9:24 AM Vincent Torri <vincent.to...@gmail.com> 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 <bat...@sfr.fr> 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 <bat...@sfr.fr> 
> > > 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 <iestynap...@gmail.com> 
> > >>> 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: src/lib/eina/libeina.so.1.27.99.p/eina_benchmark.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_benchmark.c.o -MF
> > >>>> src/lib/eina/libeina.so.1.27.99.p/eina_benchmark.c.o.d -o
> > >>>> src/lib/eina/libeina.so.1.27.99.p/eina_benchmark.c.o -c
> > >>>> ../src/lib/eina/eina_benchmark.c
> > >>>> cc: warning: : linker input file unused because linking not done
> > >>>> cc: error: : linker input file not found: No such file or directory
> > >>>>
> > >>>> ....etc.
> > >>>> until ninja finally gave up.
> > >>>>
> > >>>> I notice there are a few commits in git today, with the latest comment:
> > >>>>
> > >>>> Eina: fix constness compilation error with gcc 14
> > >>>>
> > >>>> So i have to wonder, did this fix cause other problems? Or is
> > >>>> something else screwy going on? I haven't had problems building efl in
> > >>>> recent memory.. My gcc version is:
> > >>>>    gcc --version
> > >>>> gcc (GCC) 14.1.1 20240522
> > >>>>
> > >>>> Thanks,
> > >>>> -Conrad.
> > >>>>
> > >>>>
> > >>>>
> > >>>> --
> > >>>> Shine like thunder
> > >>>> Cry like rain
> > >>>>
> > >>>>
> > >>>> _______________________________________________
> > >>>> 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
> > >>
> > >> --
> > >> https://github.com/batden
> > >> https://gist.github.com/batden
> > >>
> > >>
> > >> _______________________________________________
> > >> 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
> >
> > --
> > https://github.com/batden
> > https://gist.github.com/batden
> >
> >
> > _______________________________________________
> > 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

Reply via email to