* Package: net-misc/ethercard-diag-20050321.1g-r1 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_musl kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking ethercard-diag-20050321.1g.tar.lzma to /var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/work >>> Source unpacked in /var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/work >>> Preparing source in /var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/work/ethercard-diag-20050321.1g ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/work/ethercard-diag-20050321.1g ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/work/ethercard-diag-20050321.1g ... make -j4 [ ! -d patches ] || for p in patches/*.patch ; do echo " -_- $p" ; patch -p1 < $p || exit $? ; done -_- patches/0001-respect-DESTDIR-and-fixup-build-paths.patch patching file pub/diag/Makefile patching file pub/isa-diag/Makefile -_- patches/0002-remove-unused-asm-includes-and-declare-a-local-get_.patch patching file pub/diag/alta-diag.c patching file pub/diag/diag-example.c patching file pub/diag/myson-diag.c patching file pub/diag/natsemi-diag.c patching file pub/diag/ns820-diag.c patching file pub/diag/pcnet-diag.c patching file pub/diag/tulip-diag.c patching file pub/diag/via-diag.c -_- patches/0003-do-not-build-utilities-that-need-sys-io.h-when-it-is.patch patching file pub/diag/Makefile -_- patches/0004-force-prefix-of-O-in-CFLAGS.patch patching file pub/diag/Makefile patching file pub/isa-diag/Makefile -_- patches/0005-add-build-fix-for-uClibc.patch patching file pub/diag/ether-wake.c touch .patch make -C pub/diag make[1]: Entering directory '/var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/work/ethercard-diag-20050321.1g/pub/diag' x86_64-gentoo-linux-musl-gcc -O -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wstrict-prototypes -DLIBFLASH -DLIBMII -c -o libflash.o libflash.c x86_64-gentoo-linux-musl-gcc -O -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wstrict-prototypes -DLIBFLASH -DLIBMII -c -o libmii.o libmii.c x86_64-gentoo-linux-musl-gcc -O -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wstrict-prototypes -DLIBFLASH -DLIBMII -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 pci-config.c -o pci-config x86_64-gentoo-linux-musl-gcc -O -pipe -march=native -fno-diagnostics-color -O2 -Wall -Wstrict-prototypes -DLIBFLASH -DLIBMII -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 ether-wake.c -o ether-wake In file included from /usr/include/netinet/ether.h:8, from ether-wake.c:90: /usr/include/netinet/if_ether.h:114:8: error: redefinition of 'struct ethhdr' 114 | struct ethhdr { | ^~~~~~ In file included from ether-wake.c:87: /usr/include/linux/if_ether.h:168:8: note: originally defined here 168 | struct ethhdr { | ^~~~~~ ether-wake.c: In function 'main': ether-wake.c:184:41: warning: pointer targets in initialization of 'unsigned char *' from 'char *' differ in signedness [-Wpointer-sign] 184 | unsigned char *hwaddr = if_hwaddr.ifr_hwaddr.sa_data; | ^~~~~~~~~ make[1]: *** [: ether-wake] Error 1 make[1]: *** Waiting for unfinished jobs.... In function 'acpi_sleep', inlined from 'show_one_device' at pci-config.c:270:3: pci-config.c:382:24: warning: 'config' may be used uninitialized [-Wmaybe-uninitialized] 382 | unsigned short pwr_command = configw[(pwr_idx + 4)>>1]; | ^~~~~~~~~~~ pci-config.c: In function 'show_one_device': pci-config.c:233:22: note: 'config' declared here 233 | unsigned int config[64]; | ^~~~~~ make[1]: Leaving directory '/var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/work/ethercard-diag-20050321.1g/pub/diag' make: *** [Makefile:2: all] Error 2 * ERROR: net-misc/ethercard-diag-20050321.1g-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/ethercard-diag-20050321.1g-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/ethercard-diag-20050321.1g-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:ethercard-diag-20050321.1g-r1:20211211-224031.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/work/ethercard-diag-20050321.1g' * S: '/var/tmp/portage/net-misc/ethercard-diag-20050321.1g-r1/work/ethercard-diag-20050321.1g'