Re: [e-users] EFL compile problem

Philippe Jean Guillaumie <[email protected]> Thu, 6 Jun 2024 08:45:45 +0200
Newsgroups gmane.comp.window-managers.enlightenment.user
Message-ID <[email protected]>
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 <[email protected]> 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 <[email protected]> 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
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>>>
>>>
>>> _______________________________________________
>>> enlightenment-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
>>
>> --
>> https://github.com/batden
>> https://gist.github.com/batden
>>
>>
>> _______________________________________________
>> enlightenment-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-users
> 
> 
> _______________________________________________
> enlightenment-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-users

-- 
https://github.com/batden
https://gist.github.com/batden


_______________________________________________
enlightenment-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-users