* Package: sys-libs/libtermcap-compat-2.0.8-r4 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking termtypes.tc.gz to /var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work >>> Unpacking termcap-2.0.8.tar.bz2 to /var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work >>> Unpacking termcap-2.0.8-patches-2.tar.bz2 to /var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work >>> Source unpacked in /var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work >>> Preparing source in /var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work/termcap-2.0.8 ... * Applying various patches (bugfixes/updates) ... * 002_all_termcap-setuid.patch ... [ ok ] * 003_all_termcap-inst-no-root.patch ... [ ok ] * 004_all_termcap-compat-glibc21.patch ... [ ok ] * 005_all_termcap-xref.patch ... [ ok ] * 006_all_termcap-fix-tc.patch ... [ ok ] * 007_all_termcap-ignore-p.patch ... [ ok ] * 008_all_termcap-buffer.patch ... [ ok ] * 009_all_termcap-bufsize--needs-011.patch ... [ ok ] * 010_all_termcap-colon.patch ... [ ok ] * 011_all_termcap-AAARGH.patch ... [ ok ] * 012_all_libtermcap-compat-2.0.8-fPIC.patch ... [ ok ] * 013_all_libtermcap-compat_bcopy_fix.patch ... [ ok ] * 014_all_libtermcap-build-settings.patch ... [ ok ] * 015_all_libtermcap-only-shared-lib.patch ... [ ok ] * Done with patching * Applying various patches (bugfixes/updates) ... * 001_all_termcap-linuxlat.patch ... [ ok ] * 002_all_termcap-xtermchanges.patch ... [ ok ] * 003_all_termcap-utf8.patch ... [ ok ] * 004_all_termcap-xterm-X11R6.patch ... [ ok ] * 005_all_termcap-Eterm.patch ... [ ok ] * Done with patching * Will copy sources from /var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work/termcap-2.0.8 * abi_x86_64.amd64: copying to /var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work/termcap-2.0.8-abi_x86_64.amd64 >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work/termcap-2.0.8 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work/termcap-2.0.8 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j1 x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -M termcap.c tparam.c version.c | \ sed -e 's,^[ ]*\(.*\.o\)[ ]*:,\1 pic/\1:,' > .depend x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -I. -fPIC -c termcap.c -o termcap.o In file included from termcap.c:30: ./termcap.h:35:14: error: expected ‘;’ before ‘typedef’ 35 | __BEGIN_DECLS | ^ | ; ...... 40 | typedef int (*outfuntype) __P((int)); | ~~~~~~~ ./termcap.h:40:27: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 40 | typedef int (*outfuntype) __P((int)); | ^~~ ./termcap.h:43:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 43 | extern int tgetent __P((void *__buffer, __const char *__termtype)); | ^~~ ./termcap.h:44:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 44 | extern int tgetflag __P((__const char *__name)); | ^~~ ./termcap.h:45:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 45 | extern int tgetnum __P((__const char *__name)); | ^~~ ./termcap.h:46:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 46 | extern char *tgetstr __P((__const char *__name, char **__area)); | ^~~ ./termcap.h:47:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 47 | extern char *tgoto __P((__const char *__cstring, int __hpos, | ^~~ ./termcap.h:49:21: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 49 | extern char *tparam __P((__const char *__ctlstring, void *__buffer, | ^~~ ./termcap.h:56:19: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__P’ 56 | extern void tputs __P((__const char *__string, int __nlines, | ^~~ ./termcap.h:60:12: error: expected ‘;’ before ‘static’ 60 | __END_DECLS | ^ | ; termcap.c: In function ‘tc_read’: termcap.c:403:4: warning: implicit declaration of function ‘setfsuid’; did you mean ‘setreuid’? [-Wimplicit-function-declaration] 403 | setfsuid(getuid()); | ^~~~~~~~ | setreuid termcap.c:404:4: warning: implicit declaration of function ‘setfsgid’; did you mean ‘setregid’? [-Wimplicit-function-declaration] 404 | setfsgid(getgid()); | ^~~~~~~~ | setregid make: *** [Makefile:29: termcap.o] Error 1 * ERROR: sys-libs/libtermcap-compat-2.0.8-r4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-libs/libtermcap-compat-2.0.8-r4::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-libs/libtermcap-compat-2.0.8-r4::gentoo'`. * The complete build log is located at '/var/log/portage/sys-libs:libtermcap-compat-2.0.8-r4:20200406-080223.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/temp/environment'. * Working directory: '/var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work/termcap-2.0.8-abi_x86_64.amd64' * S: '/var/tmp/portage/sys-libs/libtermcap-compat-2.0.8-r4/work/termcap-2.0.8'