* Package: net-misc/etherdfs-20180203 * Repository: gentoo * Maintainer: conikost@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ethersrv-linux-20180203.tar.xz to /var/tmp/portage/net-misc/etherdfs-20180203/work >>> Source unpacked in /var/tmp/portage/net-misc/etherdfs-20180203/work >>> Preparing source in /var/tmp/portage/net-misc/etherdfs-20180203/work/ethersrv-linux-20180203 ... * Applying etherdfs-20180203-makefile.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/etherdfs-20180203/work/ethersrv-linux-20180203 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/etherdfs-20180203/work/ethersrv-linux-20180203 ... make -j1 x86_64-gentoo-linux-musl-gcc ethersrv-linux.c fs.c lock.c -o ethersrv-linux -O2 -pipe -march=native -Wall -std=gnu89 -pedantic -Wextra -Wno-long-long -Wno-variadic-macros -Wformat-security -D_FORTIFY_SOURCE=1 : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition In file included from /usr/include/net/ethernet.h:10, from ethersrv-linux.c:37: /usr/include/netinet/if_ether.h:113:8: error: redefinition of ‘struct ethhdr’ 113 | struct ethhdr { | ^~~~~~ In file included from ethersrv-linux.c:34: /usr/include/linux/if_ether.h:163:8: note: originally defined here 163 | struct ethhdr { | ^~~~~~ ethersrv-linux.c: In function ‘main’: ethersrv-linux.c:919:22: warning: passing argument 2 to restrict-qualified parameter aliases with argument 4 [-Wrestrict] 919 | select(sock + 1, &fdset, NULL, &fdset, &stimeout); | ^~~~~~ ~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition fs.c: In function ‘getitemattr’: fs.c:201:17: warning: overflow in conversion from ‘long unsigned int’ to ‘int’ changes value from ‘2147774992’ to ‘-2147192304’ [-Woverflow] 201 | if (ioctl(fd, FAT_IOCTL_GET_ATTRIBUTES, &attr) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~~ fs.c: In function ‘isfat’: fs.c:467:17: warning: overflow in conversion from ‘long unsigned int’ to ‘int’ changes value from ‘2147774995’ to ‘-2147192301’ [-Woverflow] 467 | if (ioctl(fd, FAT_IOCTL_GET_VOLUME_ID, &volid) < 0) { | ^~~~~~~~~~~~~~~~~~~~~~~ fs.c: In function ‘delfiles’: fs.c:446:26: warning: ‘%s’ directive writing up to 255 bytes into a region of size between 0 and 511 [-Wformat-overflow=] 446 | sprintf(fname, "%s/%s", dir, diridx->d_name); | ^~ fs.c:446:7: note: ‘sprintf’ output between 2 and 768 bytes into a destination of size 512 446 | sprintf(fname, "%s/%s", dir, diridx->d_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ : warning: "_FORTIFY_SOURCE" redefined : note: this is the location of the previous definition make: *** [Makefile:13: ethersrv-linux] Error 1 * ERROR: net-misc/etherdfs-20180203::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/etherdfs-20180203::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/etherdfs-20180203::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:etherdfs-20180203:20200330-131307.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/etherdfs-20180203/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/etherdfs-20180203/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/etherdfs-20180203/work/ethersrv-linux-20180203' * S: '/var/tmp/portage/net-misc/etherdfs-20180203/work/ethersrv-linux-20180203'