* Package: net-mail/mswatch-1.2.0-r1 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.5.13-gentoo * Checking for suitable kernel configuration options... [ ok ] >>> Unpacking source... >>> Unpacking mswatch-1.2.0.tar.gz to /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work >>> Source unpacked in /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work >>> Preparing source in /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0 ... * Applying mswatch-1.2.0-gcc47.patch ... [ ok ] * Applying mswatch-1.2.0-gcc6.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0 ... * econf: updating mswatch-1.2.0/config/config.guess with /usr/share/gnuconfig/config.guess * econf: updating mswatch-1.2.0/config/config.sub with /usr/share/gnuconfig/config.sub ./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 --docdir=/usr/share/doc/mswatch-1.2.0-r1 --htmldir=/usr/share/doc/mswatch-1.2.0-r1/html --libdir=/usr/lib --with-notify=inotify --enable-shared --disable-static configure: loading site script /usr/share/config.site checking build system type... x86_64-gentoo-linux-musl checking host system type... x86_64-gentoo-linux-musl 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 for style of include used by make... GNU checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc 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-gcc accepts -g... yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... none needed checking dependency style of x86_64-gentoo-linux-musl-gcc... none 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/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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by x86_64-gentoo-linux-musl-gcc... /usr/x86_64-gentoo-linux-musl/bin/ld checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 98304 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/x86_64-gentoo-linux-musl/bin/ld option to reload object files... -r checking for x86_64-gentoo-linux-musl-objdump... x86_64-gentoo-linux-musl-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-gentoo-linux-musl-ar... x86_64-gentoo-linux-musl-ar checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for x86_64-gentoo-linux-musl-ranlib... x86_64-gentoo-linux-musl-ranlib checking command to parse /usr/bin/nm -B output from x86_64-gentoo-linux-musl-gcc object... ok checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-gentoo-linux-musl-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-gentoo-linux-musl-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-gcc static flag -static works... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-gcc linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for x86_64-gentoo-linux-musl-g++... x86_64-gentoo-linux-musl-g++ checking whether we are using the GNU C++ compiler... yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... yes checking dependency style of x86_64-gentoo-linux-musl-g++... none checking whether we are using the GNU C++ compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... (cached) yes checking dependency style of x86_64-gentoo-linux-musl-g++... (cached) none checking how to run the C++ preprocessor... x86_64-gentoo-linux-musl-g++ -E checking for ld used by x86_64-gentoo-linux-musl-g++... /usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64 checking if the linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking for x86_64-gentoo-linux-musl-g++ option to produce PIC... -fPIC -DPIC checking if x86_64-gentoo-linux-musl-g++ PIC flag -fPIC -DPIC works... yes checking if x86_64-gentoo-linux-musl-g++ static flag -static works... yes checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... yes checking if x86_64-gentoo-linux-musl-g++ supports -c -o file.o... (cached) yes checking whether the x86_64-gentoo-linux-musl-g++ linker (/usr/x86_64-gentoo-linux-musl/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for ANSI C header files... (cached) yes 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 GLIB... yes checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none checking whether we are using the GNU C++ compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... (cached) yes checking dependency style of x86_64-gentoo-linux-musl-g++... (cached) none checking for flex... flex checking lex output file root... lex.yy checking lex library... -lfl checking whether yytext is a pointer... yes checking for bison... bison -y checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for pid_t... yes checking for size_t... yes checking for inline... inline checking for x86_64-gentoo-linux-musl-gcc... (cached) x86_64-gentoo-linux-musl-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-gcc accepts -g... (cached) yes checking for x86_64-gentoo-linux-musl-gcc option to accept ISO C89... (cached) none needed checking dependency style of x86_64-gentoo-linux-musl-gcc... (cached) none checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... (cached) no checking for sys/mkdev.h... (cached) no checking for sys/sysmacros.h... (cached) yes checking for pid_t... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... (cached) yes checking dependency style of x86_64-gentoo-linux-musl-g++... (cached) none checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... (cached) no checking for sys/mkdev.h... (cached) no checking for sys/sysmacros.h... (cached) yes checking for pid_t... (cached) yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether x86_64-gentoo-linux-musl-g++ accepts -g... (cached) yes checking dependency style of x86_64-gentoo-linux-musl-g++... (cached) none checking for ANSI C header files... (cached) yes checking whether sys/types.h defines makedev... (cached) no checking for sys/mkdev.h... (cached) no checking for sys/sysmacros.h... (cached) yes checking for size_t... (cached) yes checking for inline... (cached) inline checking sys/inotify.h usability... yes checking sys/inotify.h presence... yes checking for sys/inotify.h... yes checking inotify... yes configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/mswatch/Makefile config.status: creating src/mswatch/rcparser/Makefile config.status: creating src/watch_maildirs/Makefile config.status: creating src/watch_maildirs/inotify/Makefile config.status: creating src/watch_maildirs/dnotify/Makefile config.status: creating src/inputkill/Makefile config.status: creating src/socketwatch/Makefile config.status: creating src/lib/Makefile config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands Build mswatch: yes Build watch_maildirs: yes Build inputkill: yes Build socketwatch: yes File system notification: inotify >>> Source configured. >>> Compiling source in /var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0 ... make -j1 Making all in src make[1]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src' make all-recursive make[2]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src' Making all in lib make[3]: Entering directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/lib' /bin/sh ../../libtool --tag=CXX --mode=compile x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/lib -O2 -pipe -march=native -W -Wall -c -o util.lo util.cc libtool: compile: x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I. -I../../src -I../../src -I../../src/lib -O2 -pipe -march=native -W -Wall -c util.cc -fPIC -DPIC -o .libs/util.o In file included from util.cc:15: util.h:4:10: fatal error: sys/cdefs.h: No such file or directory 4 | #include | ^~~~~~~~~~~~~ compilation terminated. make[3]: *** [Makefile:273: util.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src/lib' make[2]: *** [Makefile:300: all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src' make[1]: *** [Makefile:236: all] Error 2 make[1]: Leaving directory '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0/src' make: *** [Makefile:289: all-recursive] Error 1 * ERROR: net-mail/mswatch-1.2.0-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-mail/mswatch-1.2.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-mail/mswatch-1.2.0-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-mail:mswatch-1.2.0-r1:20200409-150652.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0' * S: '/var/tmp/portage/net-mail/mswatch-1.2.0-r1/work/mswatch-1.2.0'