* Package: net-libs/libiscsi-1.18.0 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking libiscsi-1.18.0.tar.gz to /var/tmp/portage/net-libs/libiscsi-1.18.0/work >>> Source unpacked in /var/tmp/portage/net-libs/libiscsi-1.18.0/work >>> Preparing source in /var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0 ... * Running eautoreconf in '/var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: libiscsi-1.18.0/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0 ... * econf: updating libiscsi-1.18.0/config.sub with /usr/share/gnuconfig/config.sub * econf: updating libiscsi-1.18.0/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/libiscsi-1.18.0 --htmldir=/usr/share/doc/libiscsi-1.18.0/html --libdir=/usr/lib64 --enable-manpages --disable-werror --disable-static checking for a BSD-compatible install... /usr/lib/portage/python3.8/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 whether make supports nested variables... (cached) yes checking whether make supports the include directive... yes (GNU style) 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 dependency style of x86_64-pc-linux-gnu-gcc... none checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking the archiver (x86_64-pc-linux-gnu-ar) interface... ar checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... (cached) x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -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 for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for gcry_control in -lgcrypt... yes checking for sin_len in sock... no checking for sys filio.h... no checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking poll.h usability... yes checking poll.h presence... yes checking for poll.h... yes checking for sockaddr_in6 support... yes checking for SG_IO support... yes checking for iSER support... yes checking whether libcunit is available... no configure: You need libcunit to build the test suite. configure: The scsi/iscsi test suite will not be built. 5 checking for struct CU_SuiteInfo.pSetUpFunc... no checking for library containing clock_gettime... none required checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating lib/Makefile config.status: creating test-tool/Makefile config.status: creating tests/Makefile config.status: creating utils/Makefile config.status: creating libiscsi.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0' Making all in lib make[2]: Entering directory '/var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0/lib' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-connect.lo `test -f 'connect.c' || echo './'`connect.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c connect.c -fPIC -DPIC -o .libs/libiscsi_la-connect.o In file included from /usr/include/string.h:519, from connect.c:25: In function ‘strncpy’, inlined from ‘iscsi_reconnect’ at connect.c:453:2: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘iscsi_reconnect’ at connect.c:455:2: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-crc32c.lo `test -f 'crc32c.c' || echo './'`crc32c.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c crc32c.c -fPIC -DPIC -o .libs/libiscsi_la-crc32c.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-discovery.lo `test -f 'discovery.c' || echo './'`discovery.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c discovery.c -fPIC -DPIC -o .libs/libiscsi_la-discovery.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-init.lo `test -f 'init.c' || echo './'`init.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c init.c -fPIC -DPIC -o .libs/libiscsi_la-init.o In file included from /usr/include/string.h:519, from init.c:32: In function ‘strncpy’, inlined from ‘iscsi_set_error’ at init.c:416:3: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘iscsi_parse_url’ at init.c:657:2: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘iscsi_parse_url’ at init.c:660:3: /usr/include/bits/string_fortified.h:91:10: warning: ‘__builtin_strncpy’ output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-login.lo `test -f 'login.c' || echo './'`login.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c login.c -fPIC -DPIC -o .libs/libiscsi_la-login.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-nop.lo `test -f 'nop.c' || echo './'`nop.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c nop.c -fPIC -DPIC -o .libs/libiscsi_la-nop.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-pdu.lo `test -f 'pdu.c' || echo './'`pdu.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c pdu.c -fPIC -DPIC -o .libs/libiscsi_la-pdu.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-iscsi-command.lo `test -f 'iscsi-command.c' || echo './'`iscsi-command.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c iscsi-command.c -fPIC -DPIC -o .libs/libiscsi_la-iscsi-command.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-scsi-lowlevel.lo `test -f 'scsi-lowlevel.c' || echo './'`scsi-lowlevel.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c scsi-lowlevel.c -fPIC -DPIC -o .libs/libiscsi_la-scsi-lowlevel.o scsi-lowlevel.c: In function ‘scsi_maintenancein_datain_getfullsize’: scsi-lowlevel.c:1052:3: warning: this statement may fall through [-Wimplicit-fallthrough=] 1052 | switch (scsi_report_supported_opcodes_options(task)) { | ^~~~~~ scsi-lowlevel.c:1061:2: note: here 1061 | default: | ^~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-socket.lo `test -f 'socket.c' || echo './'`socket.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c socket.c -fPIC -DPIC -o .libs/libiscsi_la-socket.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-sync.lo `test -f 'sync.c' || echo './'`sync.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c sync.c -fPIC -DPIC -o .libs/libiscsi_la-sync.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-task_mgmt.lo `test -f 'task_mgmt.c' || echo './'`task_mgmt.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c task_mgmt.c -fPIC -DPIC -o .libs/libiscsi_la-task_mgmt.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-logging.lo `test -f 'logging.c' || echo './'`logging.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c logging.c -fPIC -DPIC -o .libs/libiscsi_la-logging.o logging.c: In function ‘iscsi_log_message’: logging.c:78:31: warning: ‘ [’ directive output may be truncated writing 2 bytes into a region of size between 1 and 1024 [-Wformat-truncation=] 78 | snprintf(message2, 1024, "%s [%s]", message, iscsi->target_name); | ^~ In file included from /usr/include/stdio.h:866, from logging.c:38: /usr/include/bits/stdio2.h:70:10: note: ‘__builtin___snprintf_chk’ output between 4 and 1282 bytes into a destination of size 1024 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c -o libiscsi_la-iser.lo `test -f 'iser.c' || echo './'`iser.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I./../include -I./include "-D_U_=__attribute__((unused))" "-D_R_(A,B)=__attribute__((format(printf,A,B)))" -Wall -W -Wshadow -Wstrict-prototypes -Wpointer-arith -Wcast-align -Wno-strict-aliasing -Wwrite-strings -I/usr/include -O2 -pipe -march=native -fno-diagnostics-color -c iser.c -fPIC -DPIC -o .libs/libiscsi_la-iser.o iser.c: In function ‘iscsi_iser_free_pdu’: iser.c:302:13: warning: implicit declaration of function ‘container_of’ [-Wimplicit-function-declaration] 302 | iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu); | ^~~~~~~~~~~~ iser.c:302:31: error: expected expression before ‘struct’ 302 | iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu); | ^~~~~~ iser.c: In function ‘iscsi_iser_queue_pdu’: iser.c:678:31: error: expected expression before ‘struct’ 678 | iser_pdu = container_of(pdu, struct iser_pdu, iscsi_pdu); | ^~~~~~ iser.c: In function ‘iser_alloc_rx_descriptors’: iser.c:894:11: warning: taking address of packed member of ‘struct iser_rx_desc’ may result in an unaligned pointer value [-Waddress-of-packed-member] 894 | rx_sg = &rx_desc->rx_sg; | ^~~~~~~~~~~~~~~ iser.c: In function ‘iser_post_recvm’: iser.c:933:20: warning: taking address of packed member of ‘struct iser_rx_desc’ may result in an unaligned pointer value [-Waddress-of-packed-member] 933 | rx_wr->sg_list = &rx_desc->rx_sg; | ^~~~~~~~~~~~~~~ iser.c: In function ‘iser_rcv_completion’: iser.c:1043:37: error: expected expression before ‘struct’ 1043 | iser_pdu = container_of(iscsi_pdu, struct iser_pdu, iscsi_pdu); | ^~~~~~ make[2]: *** [Makefile:597: libiscsi_la-iser.lo] Error 1 make[2]: Leaving directory '/var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0/lib' make[1]: *** [Makefile:496: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0' make: *** [Makefile:384: all] Error 2 * ERROR: net-libs/libiscsi-1.18.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-libs/libiscsi-1.18.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-libs/libiscsi-1.18.0::gentoo'`. * The complete build log is located at '/var/log/portage/net-libs:libiscsi-1.18.0:20201223-122745.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-libs/libiscsi-1.18.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-libs/libiscsi-1.18.0/temp/environment'. * Working directory: '/var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0' * S: '/var/tmp/portage/net-libs/libiscsi-1.18.0/work/libiscsi-1.18.0'