* Package: sys-block/tgt-1.0.63 * Repository: gentoo * Maintainer: prometheanfire@gentoo.org cluster@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking tgt-1.0.63.tar.gz to /var/tmp/portage/sys-block/tgt-1.0.63/work >>> Source unpacked in /var/tmp/portage/sys-block/tgt-1.0.63/work >>> Preparing source in /var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7 ... make -j1 -C usr/ KERNELSRC= ISCSI=1 make: Entering directory '/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7/usr' x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/conn.c -o iscsi/conn.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/param.c -o iscsi/param.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/session.c -o iscsi/session.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/iscsid.c -o iscsi/iscsid.o iscsi/iscsid.c: In function ‘iscsi_task_queue’: iscsi/iscsid.c:1598:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] int err; ^ iscsi/iscsid.c: In function ‘iscsi_task_tx_done’: iscsi/iscsid.c:1961:6: warning: variable ‘err’ set but not used [-Wunused-but-set-variable] int err; ^ x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/target.c -o iscsi/target.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/chap.c -o iscsi/chap.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/sha1.c -o iscsi/sha1.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/md5.c -o iscsi/md5.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/transport.c -o iscsi/transport.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/iscsi_tcp.c -o iscsi/iscsi_tcp.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" iscsi/isns.c -o iscsi/isns.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_aio.c -o bs_aio.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" tgtd.c -o tgtd.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" mgmt.c -o mgmt.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" target.c -o target.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" scsi.c -o scsi.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" log.c -o log.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" driver.c -o driver.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" util.c -o util.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" work.c -o work.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" concat_buf.c -o concat_buf.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" parser.c -o parser.o parser.c: In function ‘match_one’: parser.c:33:21: warning: variable ‘ret’ set but not used [-Wunused-but-set-variable] unsigned long long ret; ^ x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" spc.c -o spc.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" sbc.c -o sbc.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" mmc.c -o mmc.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" osd.c -o osd.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" scc.c -o scc.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" smc.c -o smc.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" ssc.c -o ssc.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" libssc.c -o libssc.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_rdwr.c -o bs_rdwr.o bs_rdwr.c: In function ‘bs_rdwr_request’: bs_rdwr.c:68:11: warning: variable ‘info’ set but not used [-Wunused-but-set-variable] uint32_t info = 0; ^ x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_ssc.c -o bs_ssc.o bs_ssc.c: In function ‘bs_ssc_close’: bs_ssc.c:687:19: warning: variable ‘ssc’ set but not used [-Wunused-but-set-variable] struct ssc_info *ssc; ^ x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_null.c -o bs_null.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_sg.c -o bs_sg.o bs_sg.c: In function ‘chk_sg_device’: bs_sg.c:354:6: warning: implicit declaration of function ‘major’ [-Wimplicit-function-declaration] if (major(st.st_rdev) == SCSI_GENERIC_MAJOR) ^ x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs.c -o bs.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" libcrc32c.c -o libcrc32c.o x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -DUSE_SIGNALFD -DUSE_TIMERFD -DUSE_EVENTFD -D_GNU_SOURCE -I. -g -O2 -fno-strict-aliasing -Wall -Wstrict-prototypes -fPIC -DTGT_VERSION=\"\" -DBSDIR=\"/lib/tgt/backing-store\" bs_sheepdog.c -o bs_sheepdog.o echo x86_64-pc-linux-gnu-gcc -Wl,-E,-rpath=/lib/tgt iscsi/conn.o iscsi/param.o iscsi/session.o iscsi/iscsid.o iscsi/target.o iscsi/chap.o iscsi/sha1.o iscsi/md5.o iscsi/transport.o iscsi/iscsi_tcp.o iscsi/isns.o bs_aio.o tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o concat_buf.o parser.o spc.o sbc.o mmc.o osd.o scc.o smc.o ssc.o libssc.o bs_rdwr.o bs_ssc.o bs_null.o bs_sg.o bs.o libcrc32c.o bs_sheepdog.o -o tgtd -laio -lpthread -ldl x86_64-pc-linux-gnu-gcc -Wl,-E,-rpath=/lib/tgt iscsi/conn.o iscsi/param.o iscsi/session.o iscsi/iscsid.o iscsi/target.o iscsi/chap.o iscsi/sha1.o iscsi/md5.o iscsi/transport.o iscsi/iscsi_tcp.o iscsi/isns.o bs_aio.o tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o concat_buf.o parser.o spc.o sbc.o mmc.o osd.o scc.o smc.o ssc.o libssc.o bs_rdwr.o bs_ssc.o bs_null.o bs_sg.o bs.o libcrc32c.o bs_sheepdog.o -o tgtd -laio -lpthread -ldl x86_64-pc-linux-gnu-gcc -Wl,-E,-rpath=/lib/tgt iscsi/conn.o iscsi/param.o iscsi/session.o iscsi/iscsid.o iscsi/target.o iscsi/chap.o iscsi/sha1.o iscsi/md5.o iscsi/transport.o iscsi/iscsi_tcp.o iscsi/isns.o bs_aio.o tgtd.o mgmt.o target.o scsi.o log.o driver.o util.o work.o concat_buf.o parser.o spc.o sbc.o mmc.o osd.o scc.o smc.o ssc.o libssc.o bs_rdwr.o bs_ssc.o bs_null.o bs_sg.o bs.o libcrc32c.o bs_sheepdog.o -o tgtd -Wl,-E,-rpath=/lib/tgt -laio -lpthread -ldl bs_sg.o: In function `chk_sg_device': /var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7/usr/bs_sg.c:354: undefined reference to `major' /var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7/usr/bs_sg.c:358: undefined reference to `major' collect2: error: ld returned 1 exit status Makefile:72: recipe for target 'tgtd' failed make: *** [tgtd] Error 1 make: Leaving directory '/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7/usr' * ERROR: sys-block/tgt-1.0.63::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-block/tgt-1.0.63::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-block/tgt-1.0.63::gentoo'`. * The complete build log is located at '/var/log/portage/sys-block:tgt-1.0.63:20160420-003627.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-block/tgt-1.0.63/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-block/tgt-1.0.63/temp/environment'. * Working directory: '/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7' * S: '/var/tmp/portage/sys-block/tgt-1.0.63/work/fujita-tgt-eca74a7'