* Package: sys-apps/hdparm-9.48 * Repository: gentoo * Maintainer: base-system@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux pie ssp userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking hdparm-9.48.tar.gz to /var/tmp/portage/sys-apps/hdparm-9.48/work >>> Source unpacked in /var/tmp/portage/sys-apps/hdparm-9.48/work >>> Preparing source in /var/tmp/portage/sys-apps/hdparm-9.48/work/hdparm-9.48 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/hdparm-9.48/work/hdparm-9.48 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/hdparm-9.48/work/hdparm-9.48 ... make -j1 STRIP=: CC=x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o hdparm.o hdparm.c In file included from /usr/include/unistd.h:25:0, from hdparm.c:9: /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" ^ x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o identify.o identify.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o sgio.o sgio.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o sysfs.o sysfs.c sysfs.c: In function ‘sysfs_find_dev2’: sysfs.c:106:12: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] min = ~minor(dev); ^ sysfs.c:106:5: warning: nested extern declaration of ‘minor’ [-Wnested-externs] min = ~minor(dev); ^ sysfs.c:107:30: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] else if (maj != (unsigned)major(dev)) ^ sysfs.c:107:4: warning: nested extern declaration of ‘major’ [-Wnested-externs] else if (maj != (unsigned)major(dev)) ^ x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o geom.o geom.c geom.c: In function ‘fd_is_raid’: geom.c:74:10: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] return (major(st.st_rdev) == md_major()); ^ geom.c:74:2: warning: nested extern declaration of ‘major’ [-Wnested-externs] return (major(st.st_rdev) == md_major()); ^ geom.c:74:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] return (major(st.st_rdev) == md_major()); ^ geom.c: In function ‘find_dev_in_directory’: geom.c:217:39: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] unsigned int maj = major(dev), min = minor(dev); ^ geom.c:217:2: warning: nested extern declaration of ‘minor’ [-Wnested-externs] unsigned int maj = major(dev), min = minor(dev); ^ x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o fallocate.o fallocate.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o fibmap.o fibmap.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o fwdownload.o fwdownload.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o dvdspeed.o dvdspeed.c x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -W -Wall -Wbad-function-cast -Wcast-align -Wpointer-arith -Wcast-qual -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -fkeep-inline-functions -Wwrite-strings -Waggregate-return -Wnested-externs -Wtrigraphs -march=native -O2 -pipe -c -o wdidle3.o wdidle3.c x86_64-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -o hdparm hdparm.o identify.o sgio.o sysfs.o geom.o fallocate.o fibmap.o fwdownload.o dvdspeed.o wdidle3.o sysfs.o: In function `sysfs_find_dev2.constprop.2': sysfs.c:(.text+0x25e): undefined reference to `minor' sysfs.c:(.text+0x26e): undefined reference to `minor' sysfs.c:(.text+0x2a9): undefined reference to `major' sysfs.o: In function `sysfs_find_fd': sysfs.c:(.text+0x46d): undefined reference to `minor' sysfs.c:(.text+0x479): undefined reference to `major' geom.o: In function `fd_is_raid.part.0': geom.c:(.text+0x202): undefined reference to `major' geom.o: In function `get_dev_t_geometry': geom.c:(.text+0x9d4): undefined reference to `major' geom.c:(.text+0x9e2): undefined reference to `minor' geom.c:(.text+0xa58): undefined reference to `minor' geom.c:(.text+0xa64): undefined reference to `major' geom.c:(.text+0xb2c): undefined reference to `major' geom.c:(.text+0xb42): undefined reference to `minor' collect2: error: ld returned 1 exit status Makefile:30: recipe for target 'hdparm' failed make: *** [hdparm] Error 1 * ERROR: sys-apps/hdparm-9.48::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/hdparm-9.48::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/hdparm-9.48::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:hdparm-9.48:20160415-001302.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/hdparm-9.48/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/hdparm-9.48/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/hdparm-9.48/work/hdparm-9.48' * S: '/var/tmp/portage/sys-apps/hdparm-9.48/work/hdparm-9.48'