* Package: app-i18n/fbterm-1.7-r5 * Repository: gentoo * Maintainer: cjk@gentoo.org * USE: abi_x86_64 amd64 elibc_musl filecaps kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking fbterm-1.7.0.tar.gz to /var/tmp/portage/app-i18n/fbterm-1.7-r5/work >>> Source unpacked in /var/tmp/portage/app-i18n/fbterm-1.7-r5/work >>> Preparing source in /var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7 ... * Applying fbterm-gcc6.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: fbterm-1.7/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7 ... ./configure --prefix=/usr --build=x86_64-gentoo-linux-musl --host=x86_64-gentoo-linux-musl --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/fbterm-1.7-r5 --htmldir=/usr/share/doc/fbterm-1.7-r5/html --libdir=/usr/lib --disable-gpm --disable-vesa checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-gentoo-linux-musl-g++... none checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking whether x86_64-gentoo-linux-musl-gcc understands -c and -o together... yes checking dependency style of x86_64-gentoo-linux-musl-gcc... none checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking for x86_64-gentoo-linux-musl-pkg-config... /usr/bin/x86_64-gentoo-linux-musl-pkg-config checking pkg-config is at least version 0.9.0... yes checking for forkpty in -lutil... yes checking for freetype2... yes checking for fontconfig... yes checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking linux/fb.h usability... yes checking linux/fb.h presence... yes checking for linux/fb.h... yes checking linux/kd.h usability... yes checking linux/kd.h presence... yes checking for linux/kd.h... yes checking linux/keyboard.h usability... yes checking linux/keyboard.h presence... yes checking for linux/keyboard.h... yes checking linux/input.h usability... yes checking linux/input.h presence... yes checking for linux/input.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking whether x86_64-gentoo-linux-musl-gcc needs -traditional... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... yes checking for getpagesize... yes checking for working mmap... yes checking return type of signal handlers... void checking whether lstat correctly handles trailing slash... yes checking whether stat accepts an empty string... no checking for memset... yes checking for memmove... yes checking for munmap... yes checking for nl_langinfo... yes checking for setenv... yes checking for setlocale... yes checking for socket... yes checking for strcasecmp... yes checking for strchr... yes checking for strstr... yes checking for strtol... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/lib/Makefile config.status: creating im/Makefile config.status: creating terminfo/Makefile config.status: creating doc/Makefile config.status: creating doc/fbterm.1 config.status: creating config.h config.status: linking src/input_key.h to im/input_key.h config.status: linking src/immessage.h to im/immessage.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7 ... make -j1 (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7/missing autoheader) configure.ac:87: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2740: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2759: AC_RUN_IFELSE is expanded from... configure.ac:87: the top level configure.ac:95: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2740: _AC_RUN_IFELSE is expanded from... ../../lib/m4sugar/m4sh.m4:639: AS_IF is expanded from... ../../lib/autoconf/general.m4:2759: AC_RUN_IFELSE is expanded from... configure.ac:95: the top level rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged make all-recursive make[1]: Entering directory '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7' Making all in src make[2]: Entering directory '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7/src' Making all in lib make[3]: Entering directory '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7/src/lib' x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o libshell_a-io.o `test -f 'io.cpp' || echo './'`io.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o libshell_a-shell.o `test -f 'shell.cpp' || echo './'`shell.cpp shell.cpp: In member function ‘void Shell::createShellProcess(s8**)’: shell.cpp:88:40: warning: missing sentinel in function call [-Wformat=] 88 | if (shell) execlp(shell, shell, NULL); | ^ shell.cpp:91:51: warning: missing sentinel in function call [-Wformat=] 91 | execlp(userpd->pw_shell, userpd->pw_shell, NULL); | ^ shell.cpp:93:37: warning: missing sentinel in function call [-Wformat=] 93 | execlp("/bin/sh", "/bin/sh", NULL); | ^ x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o libshell_a-vterm_action.o `test -f 'vterm_action.cpp' || echo './'`vterm_action.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o libshell_a-vterm.o `test -f 'vterm.cpp' || echo './'`vterm.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o libshell_a-vterm_states.o `test -f 'vterm_states.cpp' || echo './'`vterm_states.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o libshell_a-wcwidth.o `test -f 'wcwidth.cpp' || echo './'`wcwidth.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../.. -fno-exceptions -fno-rtti -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o libshell_a-charsetmap.o `test -f 'charsetmap.cpp' || echo './'`charsetmap.cpp rm -f libshell.a ar cru libshell.a libshell_a-io.o libshell_a-shell.o libshell_a-vterm_action.o libshell_a-vterm.o libshell_a-vterm_states.o libshell_a-wcwidth.o libshell_a-charsetmap.o x86_64-gentoo-linux-musl-ranlib libshell.a make[3]: Leaving directory '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7/src/lib' make[3]: Entering directory '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7/src' x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/freetype2 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o fbterm-fbconfig.o `test -f 'fbconfig.cpp' || echo './'`fbconfig.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/freetype2 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o fbterm-fbio.o `test -f 'fbio.cpp' || echo './'`fbio.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/freetype2 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o fbterm-fbshell.o `test -f 'fbshell.cpp' || echo './'`fbshell.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/freetype2 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o fbterm-fbshellman.o `test -f 'fbshellman.cpp' || echo './'`fbshellman.cpp x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I.. -fno-exceptions -fno-rtti -Ilib -I/usr/include/freetype2 -I/usr/include/uuid -I/usr/include/freetype2 -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c -o fbterm-fbterm.o `test -f 'fbterm.cpp' || echo './'`fbterm.cpp In file included from fbterm.cpp:42: signalfd.h:49:1: error: ‘__BEGIN_DECLS’ does not name a type 49 | __BEGIN_DECLS | ^~~~~~~~~~~~~ signalfd.h:56:1: error: ‘__END_DECLS’ does not name a type 56 | __END_DECLS | ^~~~~~~~~~~ fbterm.cpp: In constructor ‘SignalIo::SignalIo(sigset_t&)’: fbterm.cpp:56:11: error: ‘signalfd’ was not declared in this scope; did you mean ‘signal’? 56 | int fd = signalfd(-1, &sigmask, 0); | ^~~~~~~~ | signal fbterm.cpp: In member function ‘void FbTerm::init()’: fbterm.cpp:134:36: error: ‘oldSigmask’ was not declared in this scope; did you mean ‘sigmask’? 134 | sigprocmask(SIG_BLOCK, &sigmask, &oldSigmask); | ^~~~~~~~~~ | sigmask fbterm.cpp: In member function ‘void FbTerm::processSignal(u32)’: fbterm.cpp:212:22: error: ‘WAIT_ANY’ was not declared in this scope 212 | s32 pid = waitpid(WAIT_ANY, 0, WNOHANG); | ^~~~~~~~ fbterm.cpp: In member function ‘void FbTerm::initChildProcess()’: fbterm.cpp:285:28: error: ‘oldSigmask’ was not declared in this scope 285 | sigprocmask(SIG_SETMASK, &oldSigmask, 0); | ^~~~~~~~~~ make[3]: *** [Makefile:528: fbterm-fbterm.o] Error 1 make[3]: Leaving directory '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7/src' make[2]: *** [Makefile:656: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7/src' make[1]: *** [Makefile:366: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7' make: *** [Makefile:307: all] Error 2 * ERROR: app-i18n/fbterm-1.7-r5::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-i18n/fbterm-1.7-r5::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-i18n/fbterm-1.7-r5::gentoo'`. * The complete build log is located at '/var/log/portage/app-i18n:fbterm-1.7-r5:20200322-142224.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-i18n/fbterm-1.7-r5/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-i18n/fbterm-1.7-r5/temp/environment'. * Working directory: '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7' * S: '/var/tmp/portage/app-i18n/fbterm-1.7-r5/work/fbterm-1.7'