* Package: media-sound/cdtool-2.1.8-r1 * Repository: gentoo * Maintainer: sound@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking cdtool-2.1.8.tar.gz to /var/tmp/portage/media-sound/cdtool-2.1.8-r1/work >>> Source unpacked in /var/tmp/portage/media-sound/cdtool-2.1.8-r1/work >>> Preparing source in /var/tmp/portage/media-sound/cdtool-2.1.8-r1/work/cdtool-2.1.8 ... * Applying cdtool-2.1.8-glibc-2.10.patch ... [ ok ] * Applying cdtool-2.1.8-fix-build-system.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/cdtool-2.1.8-r1/work/cdtool-2.1.8 ... * econf: updating cdtool-2.1.8/config.sub with /usr/share/gnuconfig/config.sub * econf: updating cdtool-2.1.8/config.guess with /usr/share/gnuconfig/config.guess ./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 --libdir=/usr/lib checking for x86_64-gentoo-linux-musl-gcc... x86_64-gentoo-linux-musl-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking how to run the C preprocessor... x86_64-gentoo-linux-musl-gcc -E checking for egrep... grep -E checking whether x86_64-gentoo-linux-musl-gcc needs -traditional... no checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking whether ln -s works... yes checking for x86_64-gentoo-linux-musl-strip... x86_64-gentoo-linux-musl-strip checking for connect in -lsocket... no checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... 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 getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking mntent.h usability... yes checking mntent.h presence... yes checking for mntent.h... yes checking sys/mnttab.h usability... no checking sys/mnttab.h presence... no checking for sys/mnttab.h... no checking ioctl.h usability... no checking ioctl.h presence... no checking for ioctl.h... no checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/cdio.h usability... no checking sys/cdio.h presence... no checking for sys/cdio.h... no checking linux/cdrom.h usability... yes checking linux/cdrom.h presence... yes checking for linux/cdrom.h... yes checking for ioctl CDROMRESET... yes checking for ioctl CDROMCLOSETRAY... yes checking for uid_t in sys/types.h... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for an ANSI C-conforming const... yes checking type of array argument to getgroups... gid_t checking for getgroups... yes checking for working getgroups... yes checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... yes checking for strsep... yes checking for memmove... yes checking for memset... yes checking for socket... yes checking for gethostbyname... yes checking for library containing gethostbyname... none required checking whether to disable SCSI code... no configure: creating ./config.status config.status: creating Makefile config.status: creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/cdtool-2.1.8-r1/work/cdtool-2.1.8 ... make -j1 x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -c -o commands.o commands.c commands.c: In function ‘cdtool_open’: commands.c:59:15: warning: implicit declaration of function ‘open’; did you mean ‘popen’? [-Wimplicit-function-declaration] 59 | if ((fd = open(cddev, O_RDONLY | O_NONBLOCK)) < 0) { | ^~~~ | popen commands.c:59:27: error: ‘O_RDONLY’ undeclared (first use in this function) 59 | if ((fd = open(cddev, O_RDONLY | O_NONBLOCK)) < 0) { | ^~~~~~~~ commands.c:59:27: note: each undeclared identifier is reported only once for each function it appears in commands.c:59:38: error: ‘O_NONBLOCK’ undeclared (first use in this function) 59 | if ((fd = open(cddev, O_RDONLY | O_NONBLOCK)) < 0) { | ^~~~~~~~~~ make: *** [: commands.o] Error 1 * ERROR: media-sound/cdtool-2.1.8-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-sound/cdtool-2.1.8-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/cdtool-2.1.8-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-sound:cdtool-2.1.8-r1:20200314-224602.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/cdtool-2.1.8-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/cdtool-2.1.8-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/cdtool-2.1.8-r1/work/cdtool-2.1.8' * S: '/var/tmp/portage/media-sound/cdtool-2.1.8-r1/work/cdtool-2.1.8'