* Package: media-sound/takcd-0.10-r1 * Repository: gentoo * Maintainer: sound@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking takcd-0.10.tar.gz to /var/tmp/portage/media-sound/takcd-0.10-r1/work >>> Source unpacked in /var/tmp/portage/media-sound/takcd-0.10-r1/work >>> Preparing source in /var/tmp/portage/media-sound/takcd-0.10-r1/work/takcd-0.10 ... * Applying takcd-0.10-overflow.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/media-sound/takcd-0.10-r1/work/takcd-0.10' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: takcd-0.10/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-sound/takcd-0.10-r1/work/takcd-0.10 ... * econf: updating takcd-0.10/config.sub with /usr/share/gnuconfig/config.sub * econf: updating takcd-0.10/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/takcd-0.10-r1 --htmldir=/usr/share/doc/takcd-0.10-r1/html --libdir=/usr/lib64 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-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-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-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of x86_64-pc-linux-gnu-gcc... none checking how to run the C preprocessor... x86_64-pc-linux-gnu-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 errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.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 for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking whether x86_64-pc-linux-gnu-gcc needs -traditional... no checking for strstr... yes checking for malloc... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/media-sound/takcd-0.10-r1/work/takcd-0.10 ... make -j1 make all-am make[1]: Entering directory '/var/tmp/portage/media-sound/takcd-0.10-r1/work/takcd-0.10' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDEV_CDROM=\"/dev/cdrom\" -O2 -pipe -march=native -fno-common -c -o linux.o linux.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDEV_CDROM=\"/dev/cdrom\" -O2 -pipe -march=native -fno-common -c -o linux_discid.o linux_discid.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDEV_CDROM=\"/dev/cdrom\" -O2 -pipe -march=native -fno-common -c -o find.o find.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDEV_CDROM=\"/dev/cdrom\" -O2 -pipe -march=native -fno-common -c -o utils.o utils.c In file included from /usr/include/string.h:494, from utils.c:8: In function ‘strncpy’, inlined from ‘spacefix’ at utils.c:43:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ utils.c: In function ‘spacefix’: utils.c:43:2: note: length computed here 43 | strncpy(string, tmp, strlen(tmp)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDEV_CDROM=\"/dev/cdrom\" -O2 -pipe -march=native -fno-common -c -o config_api.o config_api.c config_api.c: In function ‘on_change’: config_api.c:23:13: warning: implicit declaration of function ‘time’; did you mean ‘utimes’? [-Wimplicit-function-declaration] 23 | time_t t = time(NULL); | ^~~~ | utimes config_api.c: In function ‘config_write’: config_api.c:347:3: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 347 | ftruncate(fileno(conf->fp), *write_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ config_api.c: In function ‘config_erase’: config_api.c:410:2: warning: ignoring return value of ‘ftruncate’, declared with attribute warn_unused_result [-Wunused-result] 410 | ftruncate(fileno(conf->fp), section_offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DDEV_CDROM=\"/dev/cdrom\" -O2 -pipe -march=native -fno-common -c -o takcd.o takcd.c takcd.c: In function ‘main’: takcd.c:159:15: warning: implicit declaration of function ‘play_track’ [-Wimplicit-function-declaration] 159 | } else if (play_track(cdrom_fd, track, &seconds, &starttime) < 0) { | ^~~~~~~~~~ takcd.c: In function ‘sig_term’: takcd.c:186:2: warning: implicit declaration of function ‘stop_cd’ [-Wimplicit-function-declaration] 186 | stop_cd(cdrom_fd); | ^~~~~~~ takcd.c: In function ‘sig_tstp’: takcd.c:191:2: warning: implicit declaration of function ‘pause_cd’; did you mean ‘pause’? [-Wimplicit-function-declaration] 191 | pause_cd(cdrom_fd,&stoptime); | ^~~~~~~~ | pause takcd.c: In function ‘sig_cont’: takcd.c:196:2: warning: implicit declaration of function ‘resume_cd’ [-Wimplicit-function-declaration] 196 | resume_cd(cdrom_fd,&seconds,&starttime,stoptime); | ^~~~~~~~~ x86_64-pc-linux-gnu-gcc -DDEV_CDROM=\"/dev/cdrom\" -O2 -pipe -march=native -fno-common -Wl,-O1 -Wl,--as-needed -o takcd linux.o linux_discid.o find.o utils.o config_api.o takcd.o /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: takcd.o:(.bss+0x10): multiple definition of `cdrom_fd'; linux_discid.o:(.bss+0x4b0): first defined here collect2: error: ld returned 1 exit status make[1]: *** [Makefile:428: takcd] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-sound/takcd-0.10-r1/work/takcd-0.10' make: *** [Makefile:331: all] Error 2 * ERROR: media-sound/takcd-0.10-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-sound/takcd-0.10-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-sound/takcd-0.10-r1::gentoo'`. * The complete build log is located at '/var/log/portage/media-sound:takcd-0.10-r1:20200128-214304.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/takcd-0.10-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-sound/takcd-0.10-r1/temp/environment'. * Working directory: '/var/tmp/portage/media-sound/takcd-0.10-r1/work/takcd-0.10' * S: '/var/tmp/portage/media-sound/takcd-0.10-r1/work/takcd-0.10'