* Package: app-admin/watchfolder-0.3.3-r1:0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking watchfolder-0.3.3.tar.gz to /var/tmp/portage/app-admin/watchfolder-0.3.3-r1/work >>> Source unpacked in /var/tmp/portage/app-admin/watchfolder-0.3.3-r1/work >>> Preparing source in /var/tmp/portage/app-admin/watchfolder-0.3.3-r1/work/watchd-0.3.3 ... * Applying 0.3.3-64bit.patch ... [ ok ] * Applying 0.3.3-fortify-sources.patch ... [ ok ] * Applying 0.3.3-implicit-decl.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-admin/watchfolder-0.3.3-r1/work/watchd-0.3.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-admin/watchfolder-0.3.3-r1/work/watchd-0.3.3 ... make -j4 CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o chain.o chain.c x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o inifile.o inifile.c inifile.c: In function ‘ini_nextgrp’: inifile.c:94:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 94 | fgets(tmp, 1023, i->f); | ^~~~~~~~~~~~~~~~~~~~~~ inifile.c: In function ‘ini_nextline’: inifile.c:144:5: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | fgets(buffer, 1023, i->f); | ^~~~~~~~~~~~~~~~~~~~~~~~~ inifile.c: In function ‘ini_grp2s’: inifile.c:185:8: warning: ‘free’ called on pointer ‘r’ with nonzero offset 1 [-Wfree-nonheap-object] 185 | free(r); | ^~~~~~~ inifile.c:171:10: note: returned from ‘strdup’ 171 | char *r=(char *)strdup(s); | ^~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -c -o filedb.o filedb.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -D_GLIBCXX_ASSERTIONS -Werror=implicit-function-declaration -Werror=implicit-int -o watchd watchd.c inifile.o chain.o filedb.o watchd.c: In function ‘get_filestate’: watchd.c:145:8: error: implicit declaration of function ‘isdir’ [-Werror=implicit-function-declaration] 145 | if (isdir(fn)) | ^~~~~ watchd.c: In function ‘init’: watchd.c:541:2: error: implicit declaration of function ‘ini_close’ [-Werror=implicit-function-declaration] 541 | ini_close(f); | ^~~~~~~~~ watchd.c: In function ‘processfile’: watchd.c:772:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘__time_t’ {aka ‘long int’} [-Wformat=] 772 | sprintf(complete, "%s/watchdtmp.%d%d", tmpdir, tp.tv_sec, tp.tv_usec); | ~^ ~~~~~~~~~ | | | | int __time_t {aka long int} | %ld watchd.c:772:39: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘__suseconds_t’ {aka ‘long int’} [-Wformat=] 772 | sprintf(complete, "%s/watchdtmp.%d%d", tmpdir, tp.tv_sec, tp.tv_usec); | ~^ ~~~~~~~~~~ | | | | int __suseconds_t {aka long int} | %ld watchd.c: In function ‘finalize_logfd’: watchd.c:680:8: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 680 | write(log, buf, strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ watchd.c:685:10: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 685 | write(log, buf, l); | ^~~~~~~~~~~~~~~~~~ watchd.c: In function ‘processfile’: watchd.c:779:4: warning: ignoring return value of ‘chown’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 779 | chown(complete, w.user, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make: *** [Makefile:10: all] Error 1 * ERROR: app-admin/watchfolder-0.3.3-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-admin/watchfolder-0.3.3-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-admin/watchfolder-0.3.3-r1::gentoo'`. * The complete build log is located at '/var/log/portage/app-admin:watchfolder-0.3.3-r1:20220916-175728.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-admin/watchfolder-0.3.3-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-admin/watchfolder-0.3.3-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-admin/watchfolder-0.3.3-r1/work/watchd-0.3.3' * S: '/var/tmp/portage/app-admin/watchfolder-0.3.3-r1/work/watchd-0.3.3'