* Package: sys-block/scsirastools-1.5.7 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking scsirastools-1.5.7.tar.gz to /var/tmp/portage/sys-block/scsirastools-1.5.7/work * Applying scsirastools-1.5.6-glibc-2.10.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/sys-block/scsirastools-1.5.7/work/scsirastools-1.5.7' ... * Running aclocal ... [ ok ] * This package has a configure.in file which has long been deprecated. Please * update it to use configure.ac instead as newer versions of autotools will die * when it finds this file. See https://bugs.gentoo.org/426262 for details. * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --force-missing ... [ ok ] * Running elibtoolize in: scsirastools-1.5.7/ >>> Source unpacked in /var/tmp/portage/sys-block/scsirastools-1.5.7/work >>> Compiling source in /var/tmp/portage/sys-block/scsirastools-1.5.7/work/scsirastools-1.5.7 ... ./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 --libdir=/usr/lib64 --sbindir=/usr/sbin configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.4/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 for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3 checking whether make sets $(MAKE)... (cached) yes 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 fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.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 working memcmp... yes checking for strcspn... yes checking for strspn... yes checking for uname... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating files/Makefile config.status: creating mdadm.d/Makefile config.status: creating config.h config.status: executing depfiles commands make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-block/scsirastools-1.5.7/work/scsirastools-1.5.7' Making all in src make[2]: Entering directory '/var/tmp/portage/sys-block/scsirastools-1.5.7/work/scsirastools-1.5.7/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -march=native -O2 -pipe -Wall -MT getmd.o -MD -MP -MF .deps/getmd.Tpo -c -o getmd.o getmd.c mv -f .deps/getmd.Tpo .deps/getmd.Po x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wl,-O1 -Wl,--as-needed -o getmd getmd.o x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -march=native -O2 -pipe -Wall -MT sgdefects.o -MD -MP -MF .deps/sgdefects.Tpo -c -o sgdefects.o sgdefects.c sgdefects.c: In function ‘main’: sgdefects.c:149:10: warning: variable ‘fgetdefects’ set but not used [-Wunused-but-set-variable] char fgetdefects = 0; ^ sgdefects.c:147:9: warning: variable ‘eacces_err’ set but not used [-Wunused-but-set-variable] int eacces_err = 0; ^ sgdefects.c: In function ‘do_getdefects’: sgdefects.c:368:15: warning: variable ‘dv’ set but not used [-Wunused-but-set-variable] uchar ch, dv; ^ sgdefects.c:368:11: warning: variable ‘ch’ set but not used [-Wunused-but-set-variable] uchar ch, dv; ^ sgdefects.c: In function ‘beforegd’: sgdefects.c:499:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] fname = devlist[idx].fname; ^ sgdefects.c:485:12: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] int i, rc, rcdl; ^ sgdefects.c:485:9: warning: variable ‘i’ set but not used [-Wunused-but-set-variable] int i, rc, rcdl; ^ mv -f .deps/sgdefects.Tpo .deps/sgdefects.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -march=native -O2 -pipe -Wall -MT sgsub.o -MD -MP -MF .deps/sgsub.Tpo -c -o sgsub.o sgsub.c sgsub.c: In function ‘sn_inquiry’: sgsub.c:1001:5: warning: assuming signed overflow does not occur when assuming that (X + c) >= X is always true [-Wstrict-overflow] if (rsplen > rlen) rsplen = rlen; ^ mv -f .deps/sgsub.Tpo .deps/sgsub.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -march=native -O2 -pipe -Wall -MT sgerr.o -MD -MP -MF .deps/sgerr.Tpo -c -o sgerr.o sgerr.c mv -f .deps/sgerr.Tpo .deps/sgerr.Po x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I ../intl -DLOCALEDIR=\"/usr/share/locale\" -DDATA_DIR=\"/usr/share/scsirastools\" -march=native -O2 -pipe -Wall -MT sgcommon.o -MD -MP -MF .deps/sgcommon.Tpo -c -o sgcommon.o sgcommon.c sgcommon.c: In function ‘get_ival’: sgcommon.c:514:9: warning: variable ‘ch’ set but not used [-Wunused-but-set-variable] int ch; ^ sgcommon.c: In function ‘handle_sense’: sgcommon.c:561:6: warning: variable ‘x’ set but not used [-Wunused-but-set-variable] int x; ^ sgcommon.c: In function ‘find_mmdev’: sgcommon.c:645:14: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] dmaj = major(stats.st_rdev); ^ sgcommon.c:646:14: warning: implicit declaration of function ‘minor’ [-Wimplicit-function-declaration] dmin = minor(stats.st_rdev); ^ sgcommon.c:624:8: warning: variable ‘match’ set but not used [-Wunused-but-set-variable] int match = 0; ^ sgcommon.c: In function ‘get_scsi_info’: sgcommon.c:827:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(devlist[idx].fname, fname); /*copy fname string*/ ^ In file included from /usr/include/features.h:368:0, from /usr/include/sys/types.h:25, from sgcommon.c:63: /usr/include/bits/string3.h:108:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ mv -f .deps/sgcommon.Tpo .deps/sgcommon.Po x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wall -Wl,-O1 -Wl,--as-needed -o sgdefects sgdefects.o sgsub.o sgerr.o sgcommon.o sgcommon.o: In function `find_mmdev': sgcommon.c:(.text+0x1261): undefined reference to `major' sgcommon.c:(.text+0x1270): undefined reference to `minor' collect2: error: ld returned 1 exit status Makefile:373: recipe for target 'sgdefects' failed make[2]: *** [sgdefects] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-block/scsirastools-1.5.7/work/scsirastools-1.5.7/src' Makefile:357: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-block/scsirastools-1.5.7/work/scsirastools-1.5.7' Makefile:298: recipe for target 'all' failed make: *** [all] Error 2 emake failed * ERROR: sys-block/scsirastools-1.5.7::gentoo failed (compile phase): * emake failed * * Call stack: * ebuild.sh, line 133: Called src_compile * environment, line 2778: Called die * The specific snippet of code: * emake || die "emake failed" * * If you need support, post the output of `emerge --info '=sys-block/scsirastools-1.5.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-block/scsirastools-1.5.7::gentoo'`. * The complete build log is located at '/var/log/portage/sys-block:scsirastools-1.5.7:20160416-100239.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-block/scsirastools-1.5.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-block/scsirastools-1.5.7/temp/environment'. * Working directory: '/var/tmp/portage/sys-block/scsirastools-1.5.7/work/scsirastools-1.5.7' * S: '/var/tmp/portage/sys-block/scsirastools-1.5.7/work/scsirastools-1.5.7'