Hi
For several days now, When upgrading to "next release" and KDE -plasma, I have failed to compile any package. Probably C compiler is not working. It is possible to repair it or reinstall the system.
Emerging (1 of 158) sys-apps/iproute2-5.1.0::core-kit
* iproute2-5.1.0.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking iproute2-5.1.0.tar.xz to /var/tmp/portage/sys-apps/iproute2-5.1.0/work
>>> Source unpacked in /var/tmp/portage/sys-apps/iproute2-5.1.0/work
>>> Preparing source in /var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0 ...
* Applying iproute2-3.1.0-mtu.patch ...
patching file tc/tc_core.c
Hunk #1 succeeded at 173 (offset 18 lines).
patching file tc/tc_stab.c
Hunk #1 succeeded at 32 with fuzz 2. [ ok ]
* Applying iproute2-4.20.0-configure-nomagic.patch ...
patching file bridge/Makefile
patching file config.include
patching file configure
patching file devlink/Makefile
patching file genl/Makefile
patching file ip/Makefile
patching file lib/Makefile
patching file misc/Makefile
patching file netem/Makefile
patching file rdma/Makefile
Hunk #1 succeeded at 1 with fuzz 2.
patching file tc/Makefile
patching file tipc/Makefile [ ok ]
* Applying iproute2-5.1.0-portability.patch ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0 ...
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64
TC schedulers
ATM no
IPT using iptables
IPSET no
iptables modules directory: /usr/lib64/xtables
libc has setns: no
SELinux support: no
ELF support: yes
libmnl support: yes
Berkeley DB: no
need for strlcpy: no
libcap support: yes
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0 ...
make -j4 V=1
lib
make[1]: warning: -jN forced in submake: disabling jobserver mode.
make[1]: Entering directory '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0/lib'
x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -mtune=generic -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mtune=generic -O2 -pipe -DHAVE_LIBBSD -DHAVE_LIBMNL -fPIC -c -o libgenl.o libgenl.c
x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -mtune=generic -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mtune=generic -O2 -pipe -DHAVE_LIBBSD -DHAVE_LIBMNL -fPIC -c -o libnetlink.o libnetlink.c
x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -mtune=generic -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mtune=generic -O2 -pipe -DHAVE_LIBBSD -DHAVE_LIBMNL -fPIC -c -o utils.o utils.c
x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -mtune=generic -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mtune=generic -O2 -pipe -DHAVE_LIBBSD -DHAVE_LIBMNL -fPIC -c -o rt_names.o rt_names.c
x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
make[1]: *** [../config.include:24: libgenl.o] Error 1
make[1]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
make[1]: *** [../config.include:24: utils.o] Error 1
x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
make[1]: *** [../config.include:24: libnetlink.o] Error 1
x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
make[1]: *** [../config.include:24: rt_names.o] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0/lib'
make: *** [Makefile:63: all] Error 2
In file included from utils.c:41:
../include/namespace.h:41:19: error: static declaration of ‘setns’ follows non-static declaration
41 | static inline int setns(int fd, int nstype)
| ^~~~~
In file included from /usr/include/sched.h:43,
from ../include/namespace.h:5,
from utils.c:41:
/usr/include/bits/sched.h:95:12: note: previous declaration of ‘setns’ was here
95 | extern int setns (int __fd, int __nstype) __THROW;
| ^~~~~
* ERROR: sys-apps/iproute2-5.1.0::core-kit failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-apps/iproute2-5.1.0::core-kit'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/iproute2-5.1.0::core-kit'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0'
* S: '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0'
>>> Failed to emerge sys-apps/iproute2-5.1.0, Log file:
>>> '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/build.log'
* Messages for package sys-apps/iproute2-5.1.0:
* ERROR: sys-apps/iproute2-5.1.0::core-kit failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=sys-apps/iproute2-5.1.0::core-kit'`,
* the complete build log and the output of `emerge -pqv '=sys-apps/iproute2-5.1.0::core-kit'`.
* The complete build log is located at '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/environment'.
* Working directory: '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0'
* S: '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0'
Question
kris
Hi
For several days now, When upgrading to "next release" and KDE -plasma, I have failed to compile any package. Probably C compiler is not working. It is possible to repair it or reinstall the system.
Emerging (1 of 158) sys-apps/iproute2-5.1.0::core-kit * iproute2-5.1.0.tar.xz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking iproute2-5.1.0.tar.xz to /var/tmp/portage/sys-apps/iproute2-5.1.0/work >>> Source unpacked in /var/tmp/portage/sys-apps/iproute2-5.1.0/work >>> Preparing source in /var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0 ... * Applying iproute2-3.1.0-mtu.patch ... patching file tc/tc_core.c Hunk #1 succeeded at 173 (offset 18 lines). patching file tc/tc_stab.c Hunk #1 succeeded at 32 with fuzz 2. [ ok ] * Applying iproute2-4.20.0-configure-nomagic.patch ... patching file bridge/Makefile patching file config.include patching file configure patching file devlink/Makefile patching file genl/Makefile patching file ip/Makefile patching file lib/Makefile patching file misc/Makefile patching file netem/Makefile patching file rdma/Makefile Hunk #1 succeeded at 1 with fuzz 2. patching file tc/Makefile patching file tipc/Makefile [ ok ] * Applying iproute2-5.1.0-portability.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 TC schedulers ATM no IPT using iptables IPSET no iptables modules directory: /usr/lib64/xtables libc has setns: no SELinux support: no ELF support: yes libmnl support: yes Berkeley DB: no need for strlcpy: no libcap support: yes >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0 ... make -j4 V=1 lib make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0/lib' x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -mtune=generic -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mtune=generic -O2 -pipe -DHAVE_LIBBSD -DHAVE_LIBMNL -fPIC -c -o libgenl.o libgenl.c x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -mtune=generic -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mtune=generic -O2 -pipe -DHAVE_LIBBSD -DHAVE_LIBMNL -fPIC -c -o libnetlink.o libnetlink.c x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -mtune=generic -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mtune=generic -O2 -pipe -DHAVE_LIBBSD -DHAVE_LIBMNL -fPIC -c -o utils.o utils.c x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -mtune=generic -O2 -pipe -I../include -I../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -mtune=generic -O2 -pipe -DHAVE_LIBBSD -DHAVE_LIBMNL -fPIC -c -o rt_names.o rt_names.c x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory compilation terminated. make[1]: *** [../config.include:24: libgenl.o] Error 1 make[1]: *** Waiting for unfinished jobs.... x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory compilation terminated. make[1]: *** [../config.include:24: utils.o] Error 1 x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory compilation terminated. make[1]: *** [../config.include:24: libnetlink.o] Error 1 x86_64-pc-linux-gnu-gcc: fatal error: cannot execute ‘as’: execvp: No such file or directory compilation terminated. make[1]: *** [../config.include:24: rt_names.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0/lib' make: *** [Makefile:63: all] Error 2 In file included from utils.c:41: ../include/namespace.h:41:19: error: static declaration of ‘setns’ follows non-static declaration 41 | static inline int setns(int fd, int nstype) | ^~~~~ In file included from /usr/include/sched.h:43, from ../include/namespace.h:5, from utils.c:41: /usr/include/bits/sched.h:95:12: note: previous declaration of ‘setns’ was here 95 | extern int setns (int __fd, int __nstype) __THROW; | ^~~~~ * ERROR: sys-apps/iproute2-5.1.0::core-kit failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/iproute2-5.1.0::core-kit'`, * the complete build log and the output of `emerge -pqv '=sys-apps/iproute2-5.1.0::core-kit'`. * The complete build log is located at '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0' * S: '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0' >>> Failed to emerge sys-apps/iproute2-5.1.0, Log file: >>> '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/build.log' * Messages for package sys-apps/iproute2-5.1.0: * ERROR: sys-apps/iproute2-5.1.0::core-kit failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/iproute2-5.1.0::core-kit'`, * the complete build log and the output of `emerge -pqv '=sys-apps/iproute2-5.1.0::core-kit'`. * The complete build log is located at '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/iproute2-5.1.0/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0' * S: '/var/tmp/portage/sys-apps/iproute2-5.1.0/work/iproute2-5.1.0'
https://dpaste.com/BYGMBC36U
Compilation of every package ends with the same error
Link to comment
Share on other sites
1 answer to this question
Recommended Posts