D: [iurt_root_command] chroot warning: Macro expanded in comment on line 21: %{version}-%{rev}.tar.gz warning: extra tokens at the end of %endif directive in line 99: %endif # dkms warning: extra tokens at the end of %endif directive in line 246: %endif # dkms Installing /home/iurt/rpmbuild/SRPMS/open-iscsi-2.0-872.20.mga8.src.rpm Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.BWw1gj + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf open-iscsi-2.0-872-rc4-bnx2i + /usr/bin/gzip -dc /home/iurt/rpmbuild/SOURCES/open-iscsi-2.0-872-rc4-bnx2i.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd open-iscsi-2.0-872-rc4-bnx2i + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (iscsi-initiator-utils-sync-uio-0.7.0.8.patch):' Patch #0 (iscsi-initiator-utils-sync-uio-0.7.0.8.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sync-uio-0.7.0.8 --fuzz=0 patching file iscsiuio/aclocal.m4 patching file iscsiuio/ChangeLog patching file iscsiuio/compile patching file iscsiuio/config.guess patching file iscsiuio/config.h.in patching file iscsiuio/config.sub patching file iscsiuio/configure patching file iscsiuio/configure.ac patching file iscsiuio/COPYING patching file iscsiuio/depcomp patching file iscsiuio/docs/iscsiuio.8 patching file iscsiuio/include/config.h patching file iscsiuio/include/fw_context.h patching file iscsiuio/include/iscsi_if.h patching file iscsiuio/include/iscsi_proto.h patching file iscsiuio/include/list.h patching file iscsiuio/include/mgmt_ipc.h patching file iscsiuio/include/sysdeps.h patching file iscsiuio/include/uip_mgmt_ipc.h patching file iscsiuio/INSTALL patching file iscsiuio/install-sh patching file iscsiuio/iscsiuiolog patching file iscsiuio/ltmain.sh patching file iscsiuio/Makefile.am patching file iscsiuio/Makefile.in patching file iscsiuio/missing patching file iscsiuio/README patching file iscsiuio/RELEASE.TXT patching file iscsiuio/src/apps/brcm-iscsi/brcm_iscsi.c patching file iscsiuio/src/apps/brcm-iscsi/brcm_iscsi.h patching file iscsiuio/src/apps/brcm-iscsi/Makefile.am patching file iscsiuio/src/apps/brcm-iscsi/Makefile.brcm-iscsi patching file iscsiuio/src/apps/brcm-iscsi/Makefile.in patching file iscsiuio/src/apps/dhcpc/dhcpc.c patching file iscsiuio/src/apps/dhcpc/dhcpc.h patching file iscsiuio/src/apps/dhcpc/dhcpv6.c patching file iscsiuio/src/apps/dhcpc/dhcpv6.h patching file iscsiuio/src/apps/dhcpc/Makefile.am patching file iscsiuio/src/apps/dhcpc/Makefile.dhcpc patching file iscsiuio/src/apps/dhcpc/Makefile.in patching file iscsiuio/src/apps/Makefile.am patching file iscsiuio/src/apps/Makefile.in patching file iscsiuio/src/apps/README patching file iscsiuio/src/Makefile.am patching file iscsiuio/src/Makefile.in patching file iscsiuio/src/README patching file iscsiuio/src/uip/clock.h patching file iscsiuio/src/uip/debug.h patching file iscsiuio/src/uip/icmpv6.h patching file iscsiuio/src/uip/ipv6.c patching file iscsiuio/src/uip/ipv6.h patching file iscsiuio/src/uip/ipv6_ndpc.c patching file iscsiuio/src/uip/ipv6_ndpc.h patching file iscsiuio/src/uip/ipv6_pkt.h patching file iscsiuio/src/uip/lc-addrlabels.h patching file iscsiuio/src/uip/lc.h patching file iscsiuio/src/uip/lc-switch.h patching file iscsiuio/src/uip/Makefile.am patching file iscsiuio/src/uip/Makefile.in patching file iscsiuio/src/uip/Makefile.include patching file iscsiuio/src/uip/psock.c patching file iscsiuio/src/uip/psock.h patching file iscsiuio/src/uip/pt.h patching file iscsiuio/src/uip/timer.c patching file iscsiuio/src/uip/timer.h patching file iscsiuio/src/uip/uip_arch.h patching file iscsiuio/src/uip/uip_arp.c patching file iscsiuio/src/uip/uip_arp.h patching file iscsiuio/src/uip/uip.c patching file iscsiuio/src/uip/uip_eth.c patching file iscsiuio/src/uip/uip_eth.h patching file iscsiuio/src/uip/uip.h patching file iscsiuio/src/uip/uip-neighbor.c patching file iscsiuio/src/uip/uip-neighbor.h patching file iscsiuio/src/uip/uipopt.h patching file iscsiuio/src/uip-1.0-changelog.txt patching file iscsiuio/src/unix/build_date.c patching file iscsiuio/src/unix/build_date.h patching file iscsiuio/src/unix/clock-arch.c patching file iscsiuio/src/unix/clock-arch.h patching file iscsiuio/src/unix/iscsid_ipc.c patching file iscsiuio/src/unix/iscsid_ipc.h patching file iscsiuio/src/unix/libs/bnx2.c patching file iscsiuio/src/unix/libs/bnx2.h patching file iscsiuio/src/unix/libs/bnx2x.c patching file iscsiuio/src/unix/libs/bnx2x.h patching file iscsiuio/src/unix/libs/cnic.c patching file iscsiuio/src/unix/libs/cnic.h patching file iscsiuio/src/unix/libs/Makefile.am patching file iscsiuio/src/unix/libs/Makefile.in patching file iscsiuio/src/unix/logger.c patching file iscsiuio/src/unix/logger.h patching file iscsiuio/src/unix/main.c patching file iscsiuio/src/unix/Makefile.am patching file iscsiuio/src/unix/Makefile.in patching file iscsiuio/src/unix/nic.c patching file iscsiuio/src/unix/nic.h patching file iscsiuio/src/unix/nic_id.c patching file iscsiuio/src/unix/nic_id.h patching file iscsiuio/src/unix/nic_nl.c patching file iscsiuio/src/unix/nic_nl.h patching file iscsiuio/src/unix/nic_utils.c patching file iscsiuio/src/unix/nic_utils.h patching file iscsiuio/src/unix/nic_vlan.c patching file iscsiuio/src/unix/nic_vlan.h patching file iscsiuio/src/unix/options.h patching file iscsiuio/src/unix/packet.c patching file iscsiuio/src/unix/packet.h patching file iscsiuio/src/unix/uip-conf.h patching file iscsiuio/stamp-h1 + echo 'Patch #1 (iscsi-initiator-utils-sync-iscsi.patch):' Patch #1 (iscsi-initiator-utils-sync-iscsi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sync-iscsi --fuzz=0 patching file Changelog patching file doc/iscsiadm.8 patching file doc/iscsid.8 patching file etc/iface.example patching file etc/initd/boot.suse patching file etc/initd/initd.suse patching file etc/iscsid.conf patching file include/iscsi_err.h patching file include/iscsi_if.h patching file Makefile patching file README patching file TODO patching file usr/actor.c patching file usr/auth.c patching file usr/config.h patching file usr/cxgb3i.c patching file usr/cxgb3i.h patching file usr/cxgbi.c patching file usr/cxgbi.h patching file usr/dcb_app.c patching file usr/dcb_app.h patching file usr/dcbnl.h patching file usr/discovery.c patching file usr/discoveryd.c patching file usr/event_poll.c patching file usr/host.c patching file usr/idbm.c patching file usr/idbm_fields.h patching file usr/idbm.h patching file usr/iface.c patching file usr/iface.h patching file usr/initiator.c patching file usr/initiator_common.c patching file usr/initiator.h patching file usr/io.c patching file usr/iscsiadm.c patching file usr/iscsid.c patching file usr/iscsid.h patching file usr/iscsid_req.c patching file usr/iscsid_req.h patching file usr/iscsi_err.c patching file usr/iscsi_ipc.h patching file usr/iscsi_net_util.c patching file usr/iscsistart.c patching file usr/iscsi_sysfs.c patching file usr/iscsi_sysfs.h patching file usr/iscsi_timer.c patching file usr/iscsi_timer.h patching file usr/iscsi_util.c patching file usr/iscsi_util.h patching file usr/log.c patching file usr/login.c patching file usr/Makefile patching file usr/mgmt_ipc.c patching file usr/mgmt_ipc.h patching file usr/netlink.c patching file usr/session_info.c patching file usr/session_info.h patching file usr/session_mgmt.c patching file usr/session_mgmt.h patching file usr/sysfs.c patching file usr/sysfs.h patching file usr/transport.c patching file utils/fwparam_ibft/fw_entry.c patching file utils/fwparam_ibft/fwparam_ppc.c patching file utils/fwparam_ibft/fwparam_sysfs.c patching file utils/fwparam_ibft/prom_lex.c patching file utils/fwparam_ibft/prom_lex.l patching file utils/open-isns/client.c patching file utils/open-isns/db-file.c patching file utils/open-isns/Makefile.in patching file utils/open-isns/objects.h patching file utils/open-isns/socket.c + echo 'Patch #2 (iscsi-initiator-utils-update-initscripts-and-docs.patch):' Patch #2 (iscsi-initiator-utils-update-initscripts-and-docs.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .update-initscripts-and-docs --fuzz=0 patching file etc/iscsid.conf patching file README patching file usr/idbm.c + echo 'Patch #3 (iscsi-initiator-utils-use-var-for-config.patch):' Patch #3 (iscsi-initiator-utils-use-var-for-config.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .use-var-for-config --fuzz=0 patching file doc/iscsiadm.8 patching file README patching file usr/idbm.c patching file usr/idbm.h patching file usr/iface.h + echo 'Patch #5 (iscsi-initiator-utils-add-libiscsi.patch):' Patch #5 (iscsi-initiator-utils-add-libiscsi.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .add-libiscsi --fuzz=0 patching file libiscsi/libiscsi.c patching file libiscsi/libiscsi.doxy patching file libiscsi/libiscsi.h patching file libiscsi/Makefile patching file libiscsi/pylibiscsi.c patching file libiscsi/setup.py patching file libiscsi/tests/test_discovery_firmware.c patching file libiscsi/tests/test_discovery_sendtargets.c patching file libiscsi/tests/test_get_auth.c patching file libiscsi/tests/test_get_initiator_name.c patching file libiscsi/tests/test_get_network_config.c patching file libiscsi/tests/test_login.c patching file libiscsi/tests/test_logout.c patching file libiscsi/tests/test_params.c patching file libiscsi/tests/test_set_auth.c patching file Makefile patching file usr/discovery.c patching file usr/idbm.c patching file usr/idbm.h patching file usr/iscsi_ipc.h patching file usr/Makefile + echo 'Patch #6 (iscsi-initiator-utils-uip-mgmt.patch):' Patch #6 (iscsi-initiator-utils-uip-mgmt.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .uip-mgmt --fuzz=0 patching file include/iscsi_err.h patching file libiscsi/Makefile patching file usr/initiator.c patching file usr/initiator_common.c patching file usr/initiator.h patching file usr/iscsid_req.c patching file usr/iscsid_req.h patching file usr/iscsi_err.c patching file usr/Makefile patching file usr/transport.c patching file usr/transport.h patching file usr/uip_mgmt_ipc.c patching file usr/uip_mgmt_ipc.h + echo 'Patch #7 (iscsi-initiator-utils-dont-use-static.patch):' Patch #7 (iscsi-initiator-utils-dont-use-static.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dont-use-static --fuzz=0 patching file usr/Makefile Hunk #1 succeeded at 64 (offset 3 lines). + echo 'Patch #8 (iscsi-initiator-utils-remove-the-offload-boot-supported-ifdef.patch):' Patch #8 (iscsi-initiator-utils-remove-the-offload-boot-supported-ifdef.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .remove-the-offload-boot-supported-ifdef --fuzz=0 patching file usr/iface.c Hunk #1 succeeded at 794 (offset -35 lines). Hunk #2 succeeded at 807 (offset -35 lines). Hunk #3 succeeded at 821 (offset -35 lines). patching file usr/iscsi_net_util.c + echo 'Patch #9 (iscsi-initiator-utils-uio-handle-different-iface_rec.patch):' Patch #9 (iscsi-initiator-utils-uio-handle-different-iface_rec.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .uio-handle-different-iface_rec --fuzz=0 patching file iscsiuio/include/config.h patching file iscsiuio/include/iscsi_net_util.h patching file iscsiuio/src/unix/iscsid_ipc.c + echo 'Patch #10 (iscsi-initiator-utils-brcm-man.patch):' Patch #10 (iscsi-initiator-utils-brcm-man.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .brcm-man --fuzz=0 patching file iscsiuio/docs/iscsiuio.8 + echo 'Patch #11 (iscsi-initiator-utils-fix-default-bindings.patch):' Patch #11 (iscsi-initiator-utils-fix-default-bindings.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-default-bindings --fuzz=0 patching file usr/iface.c Hunk #3 succeeded at 874 (offset -4 lines). Hunk #4 succeeded at 951 (offset -4 lines). Hunk #5 succeeded at 1494 (offset -4 lines). patching file usr/iscsi_sysfs.c + echo 'Patch #12 (iscsi-initiator-utils-fix-iscsiadm-return.patch):' Patch #12 (iscsi-initiator-utils-fix-iscsiadm-return.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-iscsiadm-return --fuzz=0 patching file usr/initiator.c + echo 'Patch #13 (iscsi-initiator-utils-dont-use-openssl.patch):' Patch #13 (iscsi-initiator-utils-dont-use-openssl.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .dont-use-openssl --fuzz=0 patching file utils/open-isns/db-policy.c patching file utils/open-isns/security.h patching file utils/open-isns/util.h + echo 'Patch #14 (iscsi-initiator-utils-sync-uio-0.7.0.14.patch):' Patch #14 (iscsi-initiator-utils-sync-uio-0.7.0.14.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .sync-uio-0.7.0.14 --fuzz=0 patching file iscsiuio/configure patching file iscsiuio/configure.ac patching file iscsiuio/docs/iscsiuio.8 patching file iscsiuio/include/uip_mgmt_ipc.h patching file iscsiuio/README patching file iscsiuio/RELEASE.TXT patching file iscsiuio/src/unix/iscsid_ipc.c patching file iscsiuio/src/unix/main.c patching file iscsiuio/src/unix/nic_utils.c patching file iscsiuio/src/unix/options.h + echo 'Patch #15 (iscsi-initiator-utils-fix-nlmsglen.patch):' Patch #15 (iscsi-initiator-utils-fix-nlmsglen.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-nlmsglen --fuzz=0 patching file usr/netlink.c + echo 'Patch #16 (iscsi-initiator-utils-ofl-iface-fixes.patch):' Patch #16 (iscsi-initiator-utils-ofl-iface-fixes.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .ofl-iface-fixes --fuzz=0 patching file include/iscsi_if.h patching file usr/host.c patching file usr/iface.c patching file usr/initiator.c patching file usr/iscsi_netlink.h patching file usr/iscsi_sysfs.c patching file usr/netlink.c + echo 'Patch #17 (iscsi-initiator-utils-fix-ipv6-boot.patch):' Patch #17 (iscsi-initiator-utils-fix-ipv6-boot.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix-ipv6-boot --fuzz=0 patching file include/fw_context.h + echo 'Patch #100 (open-iscsi-2.0-872-etc_iscsi.diff):' Patch #100 (open-iscsi-2.0-872-etc_iscsi.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file Makefile + echo 'Patch #101 (open-iscsi-2.0-872-awkfix.diff):' Patch #101 (open-iscsi-2.0-872-awkfix.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file kernel/Makefile + echo 'Patch #102 (open-iscsi-2.0-872-libiscsi_strfmt.diff):' Patch #102 (open-iscsi-2.0-872-libiscsi_strfmt.diff): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file libiscsi/libiscsi.c + echo 'Patch #103 (open-iscsi-2.0-872-best_match_bufcmp.patch):' Patch #103 (open-iscsi-2.0-872-best_match_bufcmp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file iscsiuio/src/uip/ipv6.c + echo 'Patch #200 (0001-Fix-duplicate-define-of-__bitwise.patch):' Patch #200 (0001-Fix-duplicate-define-of-__bitwise.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file include/iscsi_proto.h + echo 'Patch #300 (open-iscsi-2.0.874-include-sysmacros.patch):' Patch #300 (open-iscsi-2.0.874-include-sysmacros.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file iscsiuio/src/unix/libs/bnx2.c Hunk #1 succeeded at 45 (offset -1 lines). patching file iscsiuio/src/unix/libs/bnx2x.c Hunk #1 succeeded at 49 (offset -1 lines). + chmod 0644 README Makefile COPYING etc/iscsid.conf + for arq in doc/{iscsiadm,iscsid}.8 README usr/initiator.h + sed -i -e s,/var/db/iscsi,/var/lib/open-iscsi,g doc/iscsiadm.8 + for arq in doc/{iscsiadm,iscsid}.8 README usr/initiator.h + sed -i -e s,/var/db/iscsi,/var/lib/open-iscsi,g doc/iscsid.8 + for arq in doc/{iscsiadm,iscsid}.8 README usr/initiator.h + sed -i -e s,/var/db/iscsi,/var/lib/open-iscsi,g README + for arq in doc/{iscsiadm,iscsid}.8 README usr/initiator.h + sed -i -e s,/var/db/iscsi,/var/lib/open-iscsi,g usr/initiator.h ++ find . -name configure.ac + for i in $(find . -name "configure.ac") + sed -i -e 's,AM_INIT_AUTOMAKE.*,AM_INIT_AUTOMAKE(\[foreign subdir-objects\]),' ./utils/open-isns/configure.ac + for i in $(find . -name "configure.ac") + sed -i -e 's,AM_INIT_AUTOMAKE.*,AM_INIT_AUTOMAKE(\[foreign subdir-objects\]),' ./iscsiuio/configure.ac + for i in $(find . -name "configure.ac") + sed -i -e 's,AM_INIT_AUTOMAKE.*,AM_INIT_AUTOMAKE(\[foreign subdir-objects\]),' ./brcm_iscsi_uio/configure.ac + sed -i -e 's/^CFLAGS.*//' iscsiuio/configure.ac + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.vr1Wuk + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd open-iscsi-2.0-872-rc4-bnx2i + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export 'RPM_OPT_FLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + RPM_OPT_FLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + pushd utils/open-isns ~/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/utils/open-isns ~/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:5: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:5: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:5: the top level configure.ac:25: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:25: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:25: the top level configure.ac:118: warning: AC_OUTPUT should be used without arguments. configure.ac:118: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: configure.ac: not using Automake autoreconf: 'aclocal/config.sub' is updated autoreconf: 'aclocal/config.guess' is updated autoreconf: 'aclocal/install-sh' is updated autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./aclocal/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./aclocal/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./aclocal/config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./aclocal/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./aclocal/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./aclocal/config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-security=no --with-slp=no configure: WARNING: unrecognized options: --disable-dependency-tracking checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-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 the compiler supports GNU C... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking whether byte ordering is bigendian... no checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether make sets $(MAKE)... yes checking for sh... /usr/bin/sh checking for inline... inline checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for sys/wait.h that is POSIX.1 compatible... yes checking for errno.h... yes checking for fcntl.h... yes checking for malloc.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for locale.h... yes checking for getopt.h... yes checking for socket in -lsocket... no checking for getopt_long... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating config.h configure: WARNING: unrecognized options: --disable-dependency-tracking + make 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o server.o server.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o client.o client.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o objects.o objects.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o callback.o callback.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o timer.o timer.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o vendor.o vendor.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o db.o db.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o db-file.o db-file.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o db-policy.o db-policy.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o relation.o relation.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o scope.o scope.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o message.o message.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o security.o security.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o authblock.o authblock.c authblock.c: In function 'isns_authblock_decode': authblock.c:24:21: warning: taking address of packed member of 'struct isns_authblk' may result in an unaligned pointer value [-Waddress-of-packed-member] 24 | if (!buf_get32(bp, &auth->iab_bsd) | ^~~~~~~~~~~~~~ authblock.c:25:21: warning: taking address of packed member of 'struct isns_authblk' may result in an unaligned pointer value [-Waddress-of-packed-member] 25 | || !buf_get32(bp, &auth->iab_length) | ^~~~~~~~~~~~~~~~~ authblock.c:26:21: warning: taking address of packed member of 'struct isns_authblk' may result in an unaligned pointer value [-Waddress-of-packed-member] 26 | || !buf_get64(bp, &auth->iab_timestamp) | ^~~~~~~~~~~~~~~~~~~~ authblock.c:27:21: warning: taking address of packed member of 'struct isns_authblk' may result in an unaligned pointer value [-Waddress-of-packed-member] 27 | || !buf_get32(bp, &auth->iab_spi_len)) | ^~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o policy.o policy.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o register.o register.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o query.o query.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o getnext.o getnext.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o deregister.o deregister.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o esi.o esi.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o scn.o scn.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o dd.o dd.c dd.c: In function 'isns_dd_list_resize': dd.c:602:25: warning: variable 'cur_size' set but not used [-Wunused-but-set-variable] 602 | unsigned int new_size, cur_size; | ^~~~~~~~ aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o entity.o entity.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o portal-group.o portal-group.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o storage-node.o storage-node.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o domain.o domain.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o simple.o simple.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o tags.o tags.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o attrs.o attrs.c attrs.c: In function 'isns_portal_string': attrs.c:1053:39: warning: ']:' directive output may be truncated writing 2 bytes into a region of size between 0 and 127 [-Wformat-truncation=] 1053 | snprintf(buffer, sizeof(buffer), "[%s]:%d/%s", | ^~ attrs.c:1053:35: note: directive argument in the range [0, 65535] 1053 | snprintf(buffer, sizeof(buffer), "[%s]:%d/%s", | ^~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from util.h:13, from attrs.c:10: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 9 and 140 bytes into a destination of size 128 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o export.o export.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o socket.o socket.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o slp.o slp.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o error.o error.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o logging.o logging.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o config.o config.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o parser.o parser.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o buffer.o buffer.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o pidfile.o pidfile.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o sysdep-unix.o sysdep-unix.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o util.o util.c aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o bitvector.o bitvector.c bitvector.c: In function 'isns_bitvector_is_empty': bitvector.c:330:16: warning: variable 'base' set but not used [-Wunused-but-set-variable] 330 | unsigned int base, rlen; | ^~~~ bitvector.c: In function 'isns_bitvector_foreach': bitvector.c:465:28: warning: variable 'bits' set but not used [-Wunused-but-set-variable] 465 | unsigned int base, rlen, bits; | ^~~~ bitvector.c: In function 'isns_bitvector_dump': bitvector.c:495:28: warning: variable 'bits' set but not used [-Wunused-but-set-variable] 495 | unsigned int base, rlen, bits; | ^~~~ bitvector.c: In function 'isns_bitvector_print': bitvector.c:541:28: warning: variable 'bits' set but not used [-Wunused-but-set-variable] 541 | unsigned int base, rlen, bits; | ^~~~ aarch64-mageia-linux-gnu-gcc -Wall -fno-strict-aliasing -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -I. -D_GNU_SOURCE -c -o mdebug.o mdebug.c ar cr libisns.a server.o client.o objects.o callback.o timer.o vendor.o db.o db-file.o db-policy.o relation.o scope.o message.o security.o authblock.o policy.o register.o query.o getnext.o deregister.o esi.o scn.o dd.o entity.o portal-group.o storage-node.o domain.o simple.o tags.o attrs.o export.o socket.o slp.o error.o logging.o config.o parser.o buffer.o pidfile.o sysdep-unix.o util.o bitvector.o mdebug.o + popd ~/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i + make 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' -C utils/sysdeps make: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/utils/sysdeps' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -fno-inline -Wall -Wstrict-prototypes -g -c -o sysdeps.o sysdeps.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/utils/sysdeps' + make 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' -C utils/fwparam_ibft make: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/utils/fwparam_ibft' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../../include -I../../usr -c -o fw_entry.o fw_entry.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../../include -I../../usr -c -o fwparam_sysfs.o fwparam_sysfs.c In file included from /usr/include/ftw.h:25, from fwparam_sysfs.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ fwparam_sysfs.c: In function 'fwparam_sysfs_boot_info': fwparam_sysfs.c:45:25: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 242 [-Wformat-truncation=] 45 | #define ISCSI_LLD_ROOT "/sys/firmware/" | ^~~~~~~~~~~~~~~~ fwparam_sysfs.c:368:34: note: in expansion of macro 'ISCSI_LLD_ROOT' 368 | snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s/", | ^~~~~~~~~~~~~~ fwparam_sysfs.c:483:49: note: format string is defined here 483 | snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s/", | ^~ In file included from /usr/include/stdio.h:866, from fwparam_sysfs.c:24: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 16 and 271 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fwparam_sysfs.c: In function 'fwparam_sysfs_get_targets': fwparam_sysfs.c:45:25: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 242 [-Wformat-truncation=] 45 | #define ISCSI_LLD_ROOT "/sys/firmware/" | ^~~~~~~~~~~~~~~~ fwparam_sysfs.c:483:34: note: in expansion of macro 'ISCSI_LLD_ROOT' 483 | snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s/", | ^~~~~~~~~~~~~~ fwparam_sysfs.c:483:49: note: format string is defined here 483 | snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s/", | ^~ In file included from /usr/include/stdio.h:866, from fwparam_sysfs.c:24: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 16 and 271 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../../include -I../../usr -c -o ../../usr/iscsi_net_util.o ../../usr/iscsi_net_util.c ../../usr/iscsi_net_util.c: In function 'net_get_netdev_from_hwaddress': ../../usr/iscsi_net_util.c:147:8: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 147 | if (!strcasecmp(tmp_hwaddress, hwaddress)) { | ^~~~~~~~~~ In file included from /usr/include/string.h:519, from ../../usr/iscsi_net_util.c:18: In function 'strncpy', inlined from 'net_setup_netdev' at ../../usr/iscsi_net_util.c:231:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'net_setup_netdev' at ../../usr/iscsi_net_util.c:241:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'net_setup_netdev' at ../../usr/iscsi_net_util.c:252:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../../include -I../../usr -c -o prom_lex.o prom_lex.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../../include -I../../usr -c -o prom_parse.tab.o prom_parse.tab.c prom_parse.tab.c: In function 'yyparse': prom_parse.y:263:34: warning: ',' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 263 | sprintf($$, ":%s,%s", $2, $4); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 513 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:260:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 260 | sprintf($$, ":%s", $2); | ^~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:255:34: warning: ',' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 255 | sprintf($$, "@%s,%s%s", $2, $4, $5); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:252:34: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 252 | sprintf($$, "%s%s", $1, $2); | ^~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 1 and 511 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:244:34: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 244 | sprintf($$, "%s:%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:236:25: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] 236 | sprintf($$, "::%s", $2); | ^~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:233:25: warning: '::' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 233 | sprintf($$, "%s::%s", $1, $3); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 513 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:230:25: warning: '::' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] 230 | sprintf($$, "%s::", $1); | ^~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:222:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 222 | sprintf($$, "%s:%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:193:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 193 | sprintf($$, "%s,%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:185:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 185 | sprintf($$, "%s=%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:181:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 181 | sprintf($$, "%s=%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:177:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 177 | sprintf($$, "%s=%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:173:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 173 | sprintf($$, "%s=%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:169:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 169 | sprintf($$, "%s=%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:159:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 159 | sprintf($$, "%s,%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:156:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 156 | sprintf($$, "%s,%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:153:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 153 | sprintf($$, ",%s", $2); | ^~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:148:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 148 | sprintf($$, "%s=%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:143:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 143 | sprintf($$, "%s,%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:140:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 140 | sprintf($$, "%s,%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:137:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 137 | sprintf($$, ":%s", $2); | ^~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:132:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 132 | sprintf($$, "%s/%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:127:25: warning: '@' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 127 | sprintf($$, "/%s@%s,%s", $2, $4, $6); | ^~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 769 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:124:25: warning: '@' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] 124 | sprintf($$, "/%s@%s", $2, $4); | ^~~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 513 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:121:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] 121 | sprintf($$, "/%s", $2); | ^~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:115:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 115 | sprintf($$, "%s,%s@%s", $1, $3, $5); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:112:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 112 | sprintf($$, "%s@%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:109:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 109 | sprintf($$, "%s@%s,%s", $1, $3, $5); | ^~~~~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:106:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 106 | sprintf($$, "%s@%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:98:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] 98 | sprintf($$, "%s/%s", $1, $3); | ^~~~~~~ In file included from /usr/include/stdio.h:866, from prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../../include -I../../usr -c -o fwparam_ppc.o fwparam_ppc.c make: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/utils/fwparam_ibft' + make 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' -C usr make: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/usr' cat: /lib/modules/5.7.19-server-3.mga7/build/Makefile: No such file or directory cat: /lib/modules/5.7.19-server-3.mga7/build/Makefile: No such file or directory cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o iscsi_util.o iscsi_util.c iscsi_util.c: In function 'cfg_get_string_param': iscsi_util.c:181:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] 181 | int len; | ^~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o io.o io.c io.c: In function 'select_priority': io.c:106:9: warning: implicit declaration of function 'ffs' [-Wimplicit-function-declaration] 106 | return ffs(pri_mask) - 1; | ^~~ io.c: In function 'iscsi_io_send_pdu': io.c:699:9: warning: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration] 699 | rc = writev(conn->socket_fd, vec, 1); | ^~~~~~ | write cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o auth.o auth.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o iscsi_timer.o iscsi_timer.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o login.o login.c login.c: In function 'iscsi_add_text': login.c:53:8: warning: variable 'pdu_text' set but not used [-Wunused-but-set-variable] 53 | char *pdu_text; | ^~~~~~~~ In file included from /usr/include/string.h:519, from login.c:29: In function 'strncpy', inlined from 'iscsi_add_text' at login.c:67:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ login.c: In function 'iscsi_add_text': login.c:44:18: note: length computed here 44 | int param_len = strlen(param); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from login.c:29: In function 'strncpy', inlined from 'iscsi_add_text' at login.c:74:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ login.c: In function 'iscsi_add_text': login.c:45:18: note: length computed here 45 | int value_len = strlen(value); | ^~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o log.o log.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o md5.o md5.c md5.c: In function 'MD5Final': md5.c:130:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 130 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o sha1.o sha1.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o iface.o iface.c iface.c: In function '__iface_get_by_net_binding': iface.c:368:8: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 368 | if (!strcasecmp(iface->hwaddress, | ^~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o idbm.o idbm.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o sysfs.o sysfs.c sysfs.c: In function 'sysfs_set_param': sysfs.c:674:14: warning: variable 'path' set but not used [-Wunused-but-set-variable] 674 | const char *path; | ^~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o host.o host.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o session_info.o session_info.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o iscsi_sysfs.o iscsi_sysfs.c iscsi_sysfs.c: In function '__get_host_no_from_hwaddress': iscsi_sysfs.c:328:7: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 328 | if (!strcasecmp(ret_info->iface.hwaddress, info->iface.hwaddress)) { | ^~~~~~~~~~ iscsi_sysfs.c: In function 'iscsi_sysfs_get_sid_from_path': iscsi_sysfs.c:726:7: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 726 | if (index(session, '/')) { | ^~~~~ iscsi_sysfs.c:726:7: warning: incompatible implicit declaration of built-in function 'index' iscsi_sysfs.c: In function 'iscsi_sysfs_for_each_device': iscsi_sysfs.c:1237:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 1237 | snprintf(path_full, sizeof(path_full), "%s%s/device/target%d:0:%d", | ^~ 1238 | sysfs_path, devpath, host_no, target); | ~~~~~~~ iscsi_sysfs.c:1237:41: note: using the range [-2147483648, 2147483647] for directive argument 1237 | snprintf(path_full, sizeof(path_full), "%s%s/device/target%d:0:%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from iscsi_sysfs.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 20 and 1062 bytes into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o iscsid_req.o iscsid_req.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o transport.o transport.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o cxgbi.o cxgbi.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o be2iscsi.o be2iscsi.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o initiator_common.o initiator_common.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o iscsi_err.o iscsi_err.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o uip_mgmt_ipc.o uip_mgmt_ipc.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o netlink.o netlink.c netlink.c: In function 'ctldev_handle': netlink.c:1044:29: warning: variable 'state' set but not used [-Wunused-but-set-variable] 1044 | uint32_t sid = 0, cid = 0, state = 0; | ^~~~~ netlink.c: At top level: netlink.c:1283:28: warning: initialization of 'int (*)(struct iscsi_conn *, uint32_t *)' {aka 'int (*)(struct iscsi_conn *, unsigned int *)'} from incompatible pointer type 'int (*)(struct iscsi_conn *, int *)' [-Wincompatible-pointer-types] 1283 | .recv_conn_state = krecv_conn_state, | ^~~~~~~~~~~~~~~~ netlink.c:1283:28: note: (near initialization for 'nl_ipc.recv_conn_state') cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o dcb_app.o dcb_app.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o initiator.o initiator.c initiator.c: In function 'iscsi_host_send_targets': initiator.c:2103:6: warning: unused variable 'rc' [-Wunused-variable] 2103 | int rc; | ^~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o scsi.o scsi.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o actor.o actor.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o event_poll.o event_poll.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o mgmt_ipc.o mgmt_ipc.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o strings.o strings.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o discovery.o discovery.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o iscsid.o iscsid.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o session_mgmt.o session_mgmt.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o discoveryd.o discoveryd.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE iscsi_util.o io.o auth.o iscsi_timer.o login.o log.o md5.o sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o iscsi_net_util.o iscsid_req.o transport.o cxgbi.o be2iscsi.o initiator_common.o iscsi_err.o uip_mgmt_ipc.o netlink.o ../utils/sysdeps/sysdeps.o dcb_app.o initiator.o scsi.o actor.o event_poll.o mgmt_ipc.o ../utils/fwparam_ibft/fw_entry.o ../utils/fwparam_ibft/fwparam_ppc.o ../utils/fwparam_ibft/fwparam_sysfs.o ../utils/fwparam_ibft/prom_lex.o ../utils/fwparam_ibft/prom_parse.tab.o strings.o discovery.o iscsid.o session_mgmt.o discoveryd.o -o iscsid -L../utils/open-isns -lisns cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o iscsiadm.o iscsiadm.c iscsiadm.c: In function 'session_stats': iscsiadm.c:787:56: warning: array subscript 2147483647 is outside the bounds of an interior zero-length array 'struct iscsi_stats_custom[0]' [-Wzero-length-bounds] 787 | printf("\t%s: %llu\n", rsp.u.getstats.stats.custom[i].desc, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~ In file included from initiator.h:29, from iscsiadm.c:32: ../include/iscsi_if.h:552:28: note: while referencing 'custom' 552 | struct iscsi_stats_custom custom[0] | ^~~~~~ iscsiadm.c:788:56: warning: array subscript 2147483647 is outside the bounds of an interior zero-length array 'struct iscsi_stats_custom[0]' [-Wzero-length-bounds] 788 | (unsigned long long)rsp.u.getstats.stats.custom[i].value); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~ In file included from initiator.h:29, from iscsiadm.c:32: ../include/iscsi_if.h:552:28: note: while referencing 'custom' 552 | struct iscsi_stats_custom custom[0] | ^~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE iscsi_util.o io.o auth.o iscsi_timer.o login.o log.o md5.o sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o iscsi_net_util.o iscsid_req.o transport.o cxgbi.o be2iscsi.o initiator_common.o iscsi_err.o uip_mgmt_ipc.o netlink.o ../utils/sysdeps/sysdeps.o dcb_app.o ../utils/fwparam_ibft/fw_entry.o ../utils/fwparam_ibft/fwparam_ppc.o ../utils/fwparam_ibft/fwparam_sysfs.o ../utils/fwparam_ibft/prom_lex.o ../utils/fwparam_ibft/prom_parse.tab.o strings.o discovery.o iscsiadm.o session_mgmt.o -o iscsiadm -L../utils/open-isns -lisns cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o iscsistart.o iscsistart.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE -c -o statics.o statics.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I. -I../utils/open-isns -DLinux -DNETLINK_ISCSI=8 -D_GNU_SOURCE -DISNS_ENABLE iscsi_util.o io.o auth.o iscsi_timer.o login.o log.o md5.o sha1.o iface.o idbm.o sysfs.o host.o session_info.o iscsi_sysfs.o iscsi_net_util.o iscsid_req.o transport.o cxgbi.o be2iscsi.o initiator_common.o iscsi_err.o uip_mgmt_ipc.o netlink.o ../utils/sysdeps/sysdeps.o dcb_app.o initiator.o scsi.o actor.o event_poll.o mgmt_ipc.o ../utils/fwparam_ibft/fw_entry.o ../utils/fwparam_ibft/fwparam_ppc.o ../utils/fwparam_ibft/fwparam_sysfs.o ../utils/fwparam_ibft/prom_lex.o ../utils/fwparam_ibft/prom_parse.tab.o iscsistart.o statics.o -o iscsistart make: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/usr' + make 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' -C utils make: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/utils' cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -fno-inline -Wall -Wstrict-prototypes -g -c -o md5.o md5.c md5.c: In function 'MD5Final': md5.c:136:24: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 136 | memset(ctx, 0, sizeof (ctx)); /* In case it's sensitive */ | ^ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -fno-inline -Wall -Wstrict-prototypes -g -c -o iscsi-iname.o iscsi-iname.c cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -O2 -fno-inline -Wall -Wstrict-prototypes -g md5.o iscsi-iname.o -o iscsi-iname make: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/utils' + make 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' -C libiscsi make: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/libiscsi' mkdir -p common-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../utils/sysdeps/sysdeps.c -o common-objs/sysdeps.o mkdir -p fw-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../utils/fwparam_ibft/fw_entry.c -o fw-objs/fw_entry.o mkdir -p fw-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../utils/fwparam_ibft/prom_lex.c -o fw-objs/prom_lex.o mkdir -p fw-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../utils/fwparam_ibft/prom_parse.tab.c -o fw-objs/prom_parse.tab.o prom_parse.tab.c: In function 'yyparse': prom_parse.y:263:34: warning: ',' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 513 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:260:34: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:255:34: warning: ',' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:252:34: warning: '%s' directive writing up to 255 bytes into a region of size between 1 and 256 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 1 and 511 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:244:34: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:236:25: warning: '%s' directive writing up to 255 bytes into a region of size 254 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:233:25: warning: '::' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 513 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:230:25: warning: '::' directive writing 2 bytes into a region of size between 1 and 256 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 258 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:222:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:193:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:185:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:181:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:177:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:173:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:169:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:159:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:156:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:153:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:148:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:143:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:140:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:137:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:132:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:127:25: warning: '@' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 4 and 769 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:124:25: warning: '@' directive writing 1 byte into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 513 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:121:25: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 257 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:115:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:112:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:109:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 3 and 768 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:106:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ prom_parse.y:98:25: warning: '%s' directive writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-overflow=] In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/prom_parse.h:30, from prom_parse.y:29: /usr/include/bits/stdio2.h:38:10: note: '__builtin___sprintf_chk' output between 2 and 512 bytes into a destination of size 256 38 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 39 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkdir -p fw-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../utils/fwparam_ibft/fwparam_ppc.c -o fw-objs/fwparam_ppc.o mkdir -p fw-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../utils/fwparam_ibft/fwparam_sysfs.c -o fw-objs/fwparam_sysfs.o In file included from /usr/include/ftw.h:25, from ../utils/fwparam_ibft/fwparam_sysfs.c:23: /usr/include/features.h:187:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 187 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ../utils/fwparam_ibft/fwparam_sysfs.c: In function 'fwparam_sysfs_boot_info': ../utils/fwparam_ibft/fwparam_sysfs.c:45:25: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 242 [-Wformat-truncation=] 45 | #define ISCSI_LLD_ROOT "/sys/firmware/" | ^~~~~~~~~~~~~~~~ ../utils/fwparam_ibft/fwparam_sysfs.c:368:34: note: in expansion of macro 'ISCSI_LLD_ROOT' 368 | snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s/", | ^~~~~~~~~~~~~~ ../utils/fwparam_ibft/fwparam_sysfs.c:483:49: note: format string is defined here 483 | snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s/", | ^~ In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/fwparam_sysfs.c:24: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 16 and 271 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../utils/fwparam_ibft/fwparam_sysfs.c: In function 'fwparam_sysfs_get_targets': ../utils/fwparam_ibft/fwparam_sysfs.c:45:25: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 242 [-Wformat-truncation=] 45 | #define ISCSI_LLD_ROOT "/sys/firmware/" | ^~~~~~~~~~~~~~~~ ../utils/fwparam_ibft/fwparam_sysfs.c:483:34: note: in expansion of macro 'ISCSI_LLD_ROOT' 483 | snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s/", | ^~~~~~~~~~~~~~ ../utils/fwparam_ibft/fwparam_sysfs.c:483:49: note: format string is defined here 483 | snprintf(lld_root, FILENAMESZ, ISCSI_LLD_ROOT"%s/", | ^~ In file included from /usr/include/stdio.h:866, from ../utils/fwparam_ibft/fwparam_sysfs.c:24: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 16 and 271 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/netlink.c -o usr-objs/netlink.o ../usr/netlink.c: In function 'ctldev_handle': ../usr/netlink.c:1044:29: warning: variable 'state' set but not used [-Wunused-but-set-variable] 1044 | uint32_t sid = 0, cid = 0, state = 0; | ^~~~~ ../usr/netlink.c: At top level: ../usr/netlink.c:1283:28: warning: initialization of 'int (*)(struct iscsi_conn *, uint32_t *)' {aka 'int (*)(struct iscsi_conn *, unsigned int *)'} from incompatible pointer type 'int (*)(struct iscsi_conn *, int *)' [-Wincompatible-pointer-types] 1283 | .recv_conn_state = krecv_conn_state, | ^~~~~~~~~~~~~~~~ ../usr/netlink.c:1283:28: note: (near initialization for 'nl_ipc.recv_conn_state') mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/uip_mgmt_ipc.c -o usr-objs/uip_mgmt_ipc.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/transport.c -o usr-objs/transport.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/cxgbi.c -o usr-objs/cxgbi.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/be2iscsi.c -o usr-objs/be2iscsi.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/iscsi_timer.c -o usr-objs/iscsi_timer.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/initiator_common.c -o usr-objs/initiator_common.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/iscsi_err.c -o usr-objs/iscsi_err.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/session_info.c -o usr-objs/session_info.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/iscsi_util.c -o usr-objs/iscsi_util.o ../usr/iscsi_util.c: In function 'cfg_get_string_param': ../usr/iscsi_util.c:181:6: warning: variable 'len' set but not used [-Wunused-but-set-variable] 181 | int len; | ^~~ mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/dcb_app.c -o usr-objs/dcb_app.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/io.c -o usr-objs/io.o ../usr/io.c: In function 'select_priority': ../usr/io.c:106:9: warning: implicit declaration of function 'ffs' [-Wimplicit-function-declaration] 106 | return ffs(pri_mask) - 1; | ^~~ ../usr/io.c: In function 'iscsi_io_send_pdu': ../usr/io.c:699:9: warning: implicit declaration of function 'writev'; did you mean 'write'? [-Wimplicit-function-declaration] 699 | rc = writev(conn->socket_fd, vec, 1); | ^~~~~~ | write mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/auth.c -o usr-objs/auth.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/discovery.c -o usr-objs/discovery.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/login.c -o usr-objs/login.o ../usr/login.c: In function 'iscsi_add_text': ../usr/login.c:53:8: warning: variable 'pdu_text' set but not used [-Wunused-but-set-variable] 53 | char *pdu_text; | ^~~~~~~~ In file included from /usr/include/string.h:519, from ../usr/login.c:29: In function 'strncpy', inlined from 'iscsi_add_text' at ../usr/login.c:67:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../usr/login.c: In function 'iscsi_add_text': ../usr/login.c:44:18: note: length computed here 44 | int param_len = strlen(param); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from ../usr/login.c:29: In function 'strncpy', inlined from 'iscsi_add_text' at ../usr/login.c:74:2: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../usr/login.c: In function 'iscsi_add_text': ../usr/login.c:45:18: note: length computed here 45 | int value_len = strlen(value); | ^~~~~~~~~~~~~ mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/log.c -o usr-objs/log.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/md5.c -o usr-objs/md5.o ../usr/md5.c: In function 'MD5Final': ../usr/md5.c:130:23: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] 130 | memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ | ^ mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/sha1.c -o usr-objs/sha1.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/iface.c -o usr-objs/iface.o ../usr/iface.c: In function '__iface_get_by_net_binding': ../usr/iface.c:368:8: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 368 | if (!strcasecmp(iface->hwaddress, | ^~~~~~~~~~ mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/idbm.c -o usr-objs/idbm.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/sysfs.c -o usr-objs/sysfs.o ../usr/sysfs.c: In function 'sysfs_set_param': ../usr/sysfs.c:674:14: warning: variable 'path' set but not used [-Wunused-but-set-variable] 674 | const char *path; | ^~~~ mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/iscsi_sysfs.c -o usr-objs/iscsi_sysfs.o ../usr/iscsi_sysfs.c: In function '__get_host_no_from_hwaddress': ../usr/iscsi_sysfs.c:328:7: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 328 | if (!strcasecmp(ret_info->iface.hwaddress, info->iface.hwaddress)) { | ^~~~~~~~~~ ../usr/iscsi_sysfs.c: In function 'iscsi_sysfs_get_sid_from_path': ../usr/iscsi_sysfs.c:726:7: warning: implicit declaration of function 'index' [-Wimplicit-function-declaration] 726 | if (index(session, '/')) { | ^~~~~ ../usr/iscsi_sysfs.c:726:7: warning: incompatible implicit declaration of built-in function 'index' ../usr/iscsi_sysfs.c: In function 'iscsi_sysfs_for_each_device': ../usr/iscsi_sysfs.c:1237:44: warning: '%s' directive output may be truncated writing up to 511 bytes into a region of size between 1 and 512 [-Wformat-truncation=] 1237 | snprintf(path_full, sizeof(path_full), "%s%s/device/target%d:0:%d", | ^~ 1238 | sysfs_path, devpath, host_no, target); | ~~~~~~~ ../usr/iscsi_sysfs.c:1237:41: note: using the range [-2147483648, 2147483647] for directive argument 1237 | snprintf(path_full, sizeof(path_full), "%s%s/device/target%d:0:%d", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:866, from ../usr/iscsi_sysfs.c:20: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 20 and 1062 bytes into a destination of size 512 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/iscsi_net_util.c -o usr-objs/iscsi_net_util.o ../usr/iscsi_net_util.c: In function 'net_get_netdev_from_hwaddress': ../usr/iscsi_net_util.c:147:8: warning: implicit declaration of function 'strcasecmp' [-Wimplicit-function-declaration] 147 | if (!strcasecmp(tmp_hwaddress, hwaddress)) { | ^~~~~~~~~~ In file included from /usr/include/string.h:519, from ../usr/iscsi_net_util.c:18: In function 'strncpy', inlined from 'net_setup_netdev' at ../usr/iscsi_net_util.c:231:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'net_setup_netdev' at ../usr/iscsi_net_util.c:241:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'net_setup_netdev' at ../usr/iscsi_net_util.c:252:3: /usr/include/bits/string_fortified.h:91:10: warning: '__builtin_strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 91 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/iscsid_req.c -o usr-objs/iscsid_req.o mkdir -p usr-objs cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c ../usr/strings.c -o usr-objs/strings.o cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -c -o libiscsi.o libiscsi.c libiscsi.c: In function 'libiscsi_discover_sendtargets': libiscsi.c:142:2: warning: enumeration value 'libiscsi_auth_none' not handled in switch [-Wswitch] 142 | switch(auth_info ? auth_info->method : libiscsi_auth_none) { | ^~~~~~ libiscsi.c: In function 'libiscsi_get_firmware_network_config': libiscsi.c:582:53: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 582 | strncpy(config->iface_name, fw_entry.iface, sizeof fw_entry.iface); | ^~~~~~~~ libiscsi.c:583:52: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 583 | strncpy(config->mac_address, fw_entry.mac, sizeof fw_entry.mac); | ^~~~~~~~ libiscsi.c: In function 'libiscsi_get_firmware_initiator_name': libiscsi.c:609:10: warning: argument to 'sizeof' in 'strncpy' call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] 609 | sizeof fw_entry.initiatorname); | ^~~~~~~~ libiscsi.c: In function 'libiscsi_node_get_auth': libiscsi.c:388:37: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size 225 [-Wformat-truncation=] 388 | "unknown authentication method: %s", value); | ^~ ~~~~~ In file included from /usr/include/stdio.h:866, from libiscsi.c:21: /usr/include/bits/stdio2.h:70:10: note: '__builtin___snprintf_chk' output between 32 and 287 bytes into a destination of size 256 70 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 71 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I../include -I../usr -DLinux -fPIC -D_GNU_SOURCE -fvisibility=hidden -shared -Wl,-soname,libiscsi.so.0 common-objs/sysdeps.o fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.o -o libiscsi.so.0 ln -s -f libiscsi.so.0 libiscsi.so cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags tests/test_discovery_sendtargets.c fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o common-objs/sysdeps.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.so.0 -o tests/test_discovery_sendtargets cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags tests/test_discovery_firmware.c fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o common-objs/sysdeps.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.so.0 -o tests/test_discovery_firmware cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags tests/test_login.c fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o common-objs/sysdeps.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.so.0 -o tests/test_login cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags tests/test_logout.c fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o common-objs/sysdeps.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.so.0 -o tests/test_logout cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags tests/test_params.c fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o common-objs/sysdeps.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.so.0 -o tests/test_params cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags tests/test_get_network_config.c fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o common-objs/sysdeps.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.so.0 -o tests/test_get_network_config cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags tests/test_get_initiator_name.c fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o common-objs/sysdeps.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.so.0 -o tests/test_get_initiator_name cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags tests/test_set_auth.c fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o common-objs/sysdeps.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.so.0 -o tests/test_set_auth cc -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -Wall -Wstrict-prototypes -I. -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags tests/test_get_auth.c fw-objs/fw_entry.o fw-objs/prom_lex.o fw-objs/prom_parse.tab.o fw-objs/fwparam_ppc.o fw-objs/fwparam_sysfs.o common-objs/sysdeps.o usr-objs/netlink.o usr-objs/uip_mgmt_ipc.o usr-objs/transport.o usr-objs/cxgbi.o usr-objs/be2iscsi.o usr-objs/iscsi_timer.o usr-objs/initiator_common.o usr-objs/iscsi_err.o usr-objs/session_info.o usr-objs/iscsi_util.o usr-objs/dcb_app.o usr-objs/io.o usr-objs/auth.o usr-objs/discovery.o usr-objs/login.o usr-objs/log.o usr-objs/md5.o usr-objs/sha1.o usr-objs/iface.o usr-objs/idbm.o usr-objs/sysfs.o usr-objs/iscsi_sysfs.o usr-objs/iscsi_net_util.o usr-objs/iscsid_req.o usr-objs/strings.o libiscsi.so.0 -o tests/test_get_auth doxygen libiscsi.doxy warning: Tag 'SYMBOL_CACHE_SIZE' at line 278 of file 'libiscsi.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'SHOW_DIRECTORIES' at line 462 of file 'libiscsi.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'COLS_IN_ALPHA_INDEX' at line 728 of file 'libiscsi.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'HTML_ALIGN_MEMBERS' at line 783 of file 'libiscsi.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_SCHEMA' at line 1103 of file 'libiscsi.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'XML_DTD' at line 1109 of file 'libiscsi.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'PERL_PATH' at line 1270 of file 'libiscsi.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: Tag 'MSCGEN_PATH' at line 1292 of file 'libiscsi.doxy' has become obsolete. To avoid this warning please remove this line from your configuration file or upgrade it using "doxygen -u" warning: argument 'a4wide' for option PAPER_TYPE is not a valid enum value Using the default: a4! warning: doxygen no longer ships with the FreeSans font. You may want to clear or change DOT_FONTNAME. Otherwise you run the risk that the wrong font is being used for dot generated graphs. make: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/libiscsi' + pushd iscsiuio ~/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio ~/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i + chmod u+x configure + touch NEWS AUTHORS + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: 'AC_PROG_RANLIB' is rendered obsolete by 'LT_INIT' autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:19: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:19: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:19: the top level configure.ac:27: warning: The macro `AC_GNU_SOURCE' is obsolete. configure.ac:27: You should run autoupdate. ./lib/autoconf/specific.m4:312: AC_GNU_SOURCE is expanded from... configure.ac:27: the top level configure.ac:50: warning: The macro `AC_LIBTOOL_DLOPEN' is obsolete. configure.ac:50: You should run autoupdate. aclocal.m4:8486: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:50: the top level configure.ac:50: warning: AC_LIBTOOL_DLOPEN: Remove this warning and the call to _LT_SET_OPTION when you configure.ac:50: put the 'dlopen' option into LT_INIT's first parameter. ./lib/autoconf/general.m4:2433: AC_DIAGNOSE is expanded from... aclocal.m4:8486: AC_LIBTOOL_DLOPEN is expanded from... configure.ac:50: the top level configure.ac:53: warning: The macro `AC_PROG_LIBTOOL' is obsolete. configure.ac:53: You should run autoupdate. aclocal.m4:121: AC_PROG_LIBTOOL is expanded from... configure.ac:53: the top level configure.ac:85: warning: AC_OUTPUT should be used without arguments. configure.ac:85: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:22: installing './compile' configure.ac:18: installing './missing' src/apps/brcm-iscsi/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/apps/brcm-iscsi/Makefile.am: installing './depcomp' src/apps/dhcpc/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/uip/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/unix/Makefile.am:3: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/unix/libs/Makefile.am:1: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/Overlinking) + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=aarch64-mageia-linux-gnu --build=aarch64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-debug checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for bash... /bin/sh checking for aarch64-mageia-linux-gnu-gcc... aarch64-mageia-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 the compiler supports GNU C... yes checking whether aarch64-mageia-linux-gnu-gcc accepts -g... yes checking for aarch64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether aarch64-mageia-linux-gnu-gcc understands -c and -o together... yes checking whether make supports the include directive... yes (GNU style) checking dependency style of aarch64-mageia-linux-gnu-gcc... none checking for aarch64-mageia-linux-gnu-ranlib... aarch64-mageia-linux-gnu-ranlib checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... aarch64-mageia-linux-gnu-gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether aarch64-mageia-linux-gnu-gcc needs -traditional... no checking for an ANSI C-conforming const... yes checking for inline... inline checking for off_t... yes checking for size_t... yes checking for int8_t... yes checking for uint8_t... yes checking for int16_t... yes checking for uint16_t... yes checking for int32_t... yes checking for uint32_t... yes checking for int64_t... yes checking for uint64_t... yes checking size of short... 2 checking size of int... 4 checking size of long... 8 checking whether byte ordering is bigendian... no checking build system type... aarch64-mageia-linux-gnu checking host system type... aarch64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by aarch64-mageia-linux-gnu-gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/aarch64-mageia-linux-gnu-nm -p checking the name lister (/usr/bin/aarch64-mageia-linux-gnu-nm -p) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert aarch64-mageia-linux-gnu file names to aarch64-mageia-linux-gnu format... func_convert_file_noop checking how to convert aarch64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for aarch64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for aarch64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for aarch64-mageia-linux-gnu-ar... aarch64-mageia-linux-gnu-ar checking for archiver @FILE support... @ checking for aarch64-mageia-linux-gnu-strip... no checking for strip... strip checking for aarch64-mageia-linux-gnu-ranlib... (cached) aarch64-mageia-linux-gnu-ranlib checking command to parse /usr/bin/aarch64-mageia-linux-gnu-nm -p output from aarch64-mageia-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for aarch64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if aarch64-mageia-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for aarch64-mageia-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if aarch64-mageia-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if aarch64-mageia-linux-gnu-gcc static flag -static works... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... yes checking if aarch64-mageia-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the aarch64-mageia-linux-gnu-gcc linker (/usr/bin/ld) 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 for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no 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... yes which: no iscsid in (/usr/local/bin:/usr/bin:/usr/local/games:/usr/games:/usr/local/sbin:/usr/sbin:/usr/lib64/qt5/bin:/home/iurt/.local/bin:/home/iurt/bin) ISCSID_VERSION: 871 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 src/apps/Makefile config.status: creating src/apps/dhcpc/Makefile config.status: creating src/apps/brcm-iscsi/Makefile config.status: creating src/uip/Makefile config.status: creating src/unix/Makefile config.status: creating src/unix/libs/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default commands + make 'OPTFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables' make all-recursive make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio' Making all in src make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src' Making all in apps make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/apps' Making all in dhcpc make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/apps/dhcpc' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/unix -I../../../src/uip -I../../../src/apps/dhcpc -I../../../src/apps/brcm-iscsi -I../../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_apps_dhcpc_a-dhcpc.o `test -f 'dhcpc.c' || echo './'`dhcpc.c In file included from /usr/include/errno.h:25, from dhcpc.c:34: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../../include/iscsi_if.h:24, from ../../../src/unix/nic.h:55, from dhcpc.h:38, from dhcpc.c:42: ../../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from ../../../src/unix/nic.h:45, from dhcpc.h:38, from dhcpc.c:42: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/unix -I../../../src/uip -I../../../src/apps/dhcpc -I../../../src/apps/brcm-iscsi -I../../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_apps_dhcpc_a-dhcpv6.o `test -f 'dhcpv6.c' || echo './'`dhcpv6.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from dhcpv6.c:39: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../../include/iscsi_if.h:24, from ../../../src/unix/nic.h:55, from ../../../src/uip/ipv6_ndpc.h:43, from ../../../src/uip/ipv6.h:47, from dhcpv6.c:42: ../../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from ../../../src/unix/nic.h:45, from ../../../src/uip/ipv6_ndpc.h:43, from ../../../src/uip/ipv6.h:47, from dhcpv6.c:42: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | rm -f lib_apps_dhcpc.a aarch64-mageia-linux-gnu-ar cru lib_apps_dhcpc.a lib_apps_dhcpc_a-dhcpc.o lib_apps_dhcpc_a-dhcpv6.o aarch64-mageia-linux-gnu-ranlib lib_apps_dhcpc.a make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/apps/dhcpc' Making all in brcm-iscsi make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/apps/brcm-iscsi' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/unix -I../../../src/uip -I../../../src/apps/dhcpc -I../../../src/apps/brcm-iscsi -I../../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_apps_brcm_iscsi_a-brcm_iscsi.o `test -f 'brcm_iscsi.c' || echo './'`brcm_iscsi.c In file included from /usr/include/inttypes.h:25, from ../../../src/unix/uip-conf.h:58, from ../../../src/uip/uipopt.h:70, from brcm_iscsi.h:64, from brcm_iscsi.c:61: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../../include/iscsi_if.h:24, from ../../../src/unix/nic.h:55, from ../../../src/unix/packet.h:43, from ../../../src/uip/uip_arp.h:54, from brcm_iscsi.c:66: ../../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from ../../../src/unix/nic.h:45, from ../../../src/unix/packet.h:43, from ../../../src/uip/uip_arp.h:54, from brcm_iscsi.c:66: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | rm -f lib_apps_brcm_iscsi.a aarch64-mageia-linux-gnu-ar cru lib_apps_brcm_iscsi.a lib_apps_brcm_iscsi_a-brcm_iscsi.o aarch64-mageia-linux-gnu-ranlib lib_apps_brcm_iscsi.a make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/apps/brcm-iscsi' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/apps' make[4]: Nothing to be done for 'all-am'. make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/apps' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/apps' Making all in uip make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/uip' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/unix -I../../src/apps/dhcpc -I../../src/apps/brcm-iscsi -I../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_iscsi_uip_a-uip.o `test -f 'uip.c' || echo './'`uip.c In file included from /usr/include/netinet/in.h:21, from uip.c:1: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from ../../src/unix/nic.h:55, from ../../src/apps/dhcpc/dhcpc.h:38, from uip.c:7: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from ../../src/unix/nic.h:45, from ../../src/apps/dhcpc/dhcpc.h:38, from uip.c:7: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/unix -I../../src/apps/dhcpc -I../../src/apps/brcm-iscsi -I../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_iscsi_uip_a-uip_arp.o `test -f 'uip_arp.c' || echo './'`uip_arp.c In file included from /usr/include/errno.h:25, from uip_arp.c:1: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from ../../src/unix/nic.h:55, from ../../src/unix/packet.h:43, from uip_arp.c:8: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from ../../src/unix/nic.h:45, from ../../src/unix/packet.h:43, from uip_arp.c:8: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | uip_arp.c: In function 'uip_arp_ipin': uip_arp.c:225:20: warning: taking address of packed member of 'struct ip_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 225 | uip_arp_update(ip->srcipaddr, ð->src); | ~~^~~~~~~~~~~ uip_arp.c: In function 'uip_arp_arpin': uip_arp.c:253:22: warning: taking address of packed member of 'struct arp_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 253 | uip_arp_update(arp->sipaddr, &arp->shwaddr); | ~~~^~~~~~~~~ uip_arp.c:276:21: warning: taking address of packed member of 'struct arp_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 276 | uip_arp_update(arp->sipaddr, &arp->shwaddr); | ~~~^~~~~~~~~ aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/unix -I../../src/apps/dhcpc -I../../src/apps/brcm-iscsi -I../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_iscsi_uip_a-psock.o `test -f 'psock.c' || echo './'`psock.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from psock.c:36: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/unix -I../../src/apps/dhcpc -I../../src/apps/brcm-iscsi -I../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_iscsi_uip_a-timer.o `test -f 'timer.c' || echo './'`timer.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/unix -I../../src/apps/dhcpc -I../../src/apps/brcm-iscsi -I../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_iscsi_uip_a-uip-neighbor.o `test -f 'uip-neighbor.c' || echo './'`uip-neighbor.c In file included from /usr/include/pthread.h:21, from ../../src/unix/logger.h:41, from uip-neighbor.c:42: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ uip-neighbor.c: In function 'uip_neighbor_out': uip-neighbor.c:200:44: warning: taking address of packed member of 'struct uip_ipv6_hdr' may result in an unaligned pointer value [-Waddress-of-packed-member] 200 | e = find_entry(ustack, (struct in6_addr *)ipv6_hdr->destipaddr); | ^~~~~~~~ aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/unix -I../../src/apps/dhcpc -I../../src/apps/brcm-iscsi -I../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_iscsi_uip_a-uip_eth.o `test -f 'uip_eth.c' || echo './'`uip_eth.c In file included from /usr/include/netinet/in.h:21, from uip.h:55, from uip_eth.c:39: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/unix -I../../src/apps/dhcpc -I../../src/apps/brcm-iscsi -I../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_iscsi_uip_a-ipv6_ndpc.o `test -f 'ipv6_ndpc.c' || echo './'`ipv6_ndpc.c In file included from /usr/include/errno.h:25, from ipv6_ndpc.c:40: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from ../../src/unix/nic.h:55, from ipv6_ndpc.h:43, from ipv6_ndpc.c:48: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from ../../src/unix/nic.h:45, from ipv6_ndpc.h:43, from ipv6_ndpc.c:48: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/unix -I../../src/apps/dhcpc -I../../src/apps/brcm-iscsi -I../../include -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o lib_iscsi_uip_a-ipv6.o `test -f 'ipv6.c' || echo './'`ipv6.c In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from ipv6.c:39: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from ../../src/unix/nic.h:55, from ipv6_ndpc.h:43, from ipv6.h:47, from ipv6.c:43: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from ../../src/unix/nic.h:45, from ipv6_ndpc.h:43, from ipv6.h:47, from ipv6.c:43: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | rm -f lib_iscsi_uip.a aarch64-mageia-linux-gnu-ar cru lib_iscsi_uip.a lib_iscsi_uip_a-uip.o lib_iscsi_uip_a-uip_arp.o lib_iscsi_uip_a-psock.o lib_iscsi_uip_a-timer.o lib_iscsi_uip_a-uip-neighbor.o lib_iscsi_uip_a-uip_eth.o lib_iscsi_uip_a-ipv6_ndpc.o lib_iscsi_uip_a-ipv6.o aarch64-mageia-linux-gnu-ranlib lib_iscsi_uip.a make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/uip' Making all in unix make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/unix' Making all in libs make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/unix/libs' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/uip -I../../../src/unix -I../../../src/unix/libs -I../../../src/apps/dhcpc -I../../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o ../build_date.o ../build_date.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/uip -I../../../src/unix -I../../../src/unix/libs -I../../../src/apps/dhcpc -I../../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o cnic.o cnic.c In file included from /usr/include/errno.h:25, from cnic.c:38: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../../include/iscsi_if.h:24, from ../../../src/unix/nic.h:55, from ../../../src/unix/packet.h:43, from ../../../src/uip/uip_arp.h:54, from cnic.c:58: ../../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/asm/sigcontext.h:22, from /usr/include/bits/sigcontext.h:30, from /usr/include/signal.h:288, from cnic.c:40: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/uip -I../../../src/unix -I../../../src/unix/libs -I../../../src/apps/dhcpc -I../../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o bnx2.o bnx2.c In file included from /usr/include/errno.h:25, from bnx2.c:38: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../../include/iscsi_if.h:24, from ../../../src/unix/nic.h:55, from bnx2.h:41, from bnx2.c:53: ../../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from ../../../src/unix/nic.h:45, from bnx2.h:41, from bnx2.c:53: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src/uip -I../../../src/unix -I../../../src/unix/libs -I../../../src/apps/dhcpc -I../../../include -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o bnx2x.o bnx2x.c In file included from /usr/include/errno.h:25, from bnx2x.c:38: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../../include/iscsi_if.h:24, from ../../../src/unix/nic.h:55, from bnx2x.h:41, from bnx2x.c:57: ../../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from bnx2x.c:42: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | rm -f lib_iscsiuio_hw_cnic.a aarch64-mageia-linux-gnu-ar cru lib_iscsiuio_hw_cnic.a ../build_date.o cnic.o bnx2.o bnx2x.o aarch64-mageia-linux-gnu-ranlib lib_iscsiuio_hw_cnic.a make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/unix/libs' make[4]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/unix' aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-build_date.o `test -f 'build_date.c' || echo './'`build_date.c aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-main.o `test -f 'main.c' || echo './'`main.c In file included from /usr/include/dlfcn.h:22, from main.c:38: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from ./nic.h:55, from ./packet.h:43, from ../../src/uip/uip_arp.h:54, from main.c:53: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/asm/sigcontext.h:22, from /usr/include/bits/sigcontext.h:30, from /usr/include/signal.h:288, from main.c:42: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-clock-arch.o `test -f 'clock-arch.c' || echo './'`clock-arch.c In file included from /usr/include/sys/time.h:21, from clock-arch.c:42: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-logger.o `test -f 'logger.c' || echo './'`logger.c In file included from /usr/include/errno.h:25, from logger.c:38: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-nic.o `test -f 'nic.c' || echo './'`nic.c In file included from /usr/include/dlfcn.h:22, from nic.c:38: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from ./nic.h:55, from ../../src/apps/dhcpc/dhcpc.h:38, from nic.c:52: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/asm/sigcontext.h:22, from /usr/include/bits/sigcontext.h:30, from /usr/include/signal.h:288, from nic.c:41: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-nic_id.o `test -f 'nic_id.c' || echo './'`nic_id.c In file included from /usr/include/errno.h:25, from nic_id.c:39: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from nic.h:55, from nic_id.c:49: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if.h:24, from nic_id.c:46: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-nic_vlan.o `test -f 'nic_vlan.c' || echo './'`nic_vlan.c In file included from /usr/include/errno.h:25, from nic_vlan.c:39: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from nic.h:55, from nic_vlan.c:58: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/stat.h:5, from /usr/include/bits/statx.h:31, from /usr/include/sys/stat.h:446, from nic_vlan.c:47: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-nic_nl.o `test -f 'nic_nl.c' || echo './'`nic_nl.c In file included from /usr/include/errno.h:25, from nic_nl.c:38: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from nic_nl.c:50: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/asm/sigcontext.h:22, from /usr/include/bits/sigcontext.h:30, from /usr/include/signal.h:288, from nic_nl.c:40: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-nic_utils.o `test -f 'nic_utils.c' || echo './'`nic_utils.c In file included from /usr/include/dirent.h:25, from nic_utils.c:38: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from nic.h:55, from nic_utils.c:55: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from nic.h:45, from nic_utils.c:55: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-packet.o `test -f 'packet.c' || echo './'`packet.c In file included from /usr/include/errno.h:25, from packet.c:38: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from nic.h:55, from packet.h:43, from packet.c:42: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/linux/if_ether.h:25, from /usr/include/netinet/if_ether.h:25, from nic.h:45, from packet.h:43, from packet.c:42: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | aarch64-mageia-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/uip -I../../src/apps/brcm-iscsi -I../../src/apps/dhcpc -I../../include -I../../src/unix/libs/ -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -c -o iscsiuio-iscsid_ipc.o `test -f 'iscsid_ipc.c' || echo './'`iscsid_ipc.c In file included from /usr/include/errno.h:25, from iscsid_ipc.c:39: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from ../../include/iscsi_if.h:24, from nic.h:55, from iscsid_ipc.c:55: ../../include/iscsi_proto.h:60: warning: "__bitwise" redefined 60 | #define __bitwise | In file included from /usr/include/asm/sigcontext.h:22, from /usr/include/bits/sigcontext.h:30, from /usr/include/signal.h:288, from iscsid_ipc.c:41: /usr/include/linux/types.h:22: note: this is the location of the previous definition 22 | #define __bitwise __bitwise__ | /bin/sh ../../libtool --tag=CC --mode=link aarch64-mageia-linux-gnu-gcc -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -ldl -rdynamic -lpthread -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o iscsiuio iscsiuio-build_date.o iscsiuio-main.o iscsiuio-clock-arch.o iscsiuio-logger.o iscsiuio-nic.o iscsiuio-nic_id.o iscsiuio-nic_vlan.o iscsiuio-nic_nl.o iscsiuio-nic_utils.o iscsiuio-packet.o iscsiuio-iscsid_ipc.o ../../src/uip/lib_iscsi_uip.a ../../src/apps/dhcpc/lib_apps_dhcpc.a ../../src/apps/brcm-iscsi/lib_apps_brcm_iscsi.a ../../src/unix/libs/lib_iscsiuio_hw_cnic.a libtool: link: aarch64-mageia-linux-gnu-gcc -DBYTE_ORDER=LITTLE -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fcommon -fstack-protector --param=ssp-buffer-size=4 -fstack-protector-all -fasynchronous-unwind-tables -g -O0 -rdynamic -Wl,--as-needed -Wl,--no-undefined -Wl,-z -Wl,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags -o iscsiuio iscsiuio-build_date.o iscsiuio-main.o iscsiuio-clock-arch.o iscsiuio-logger.o iscsiuio-nic.o iscsiuio-nic_id.o iscsiuio-nic_vlan.o iscsiuio-nic_nl.o iscsiuio-nic_utils.o iscsiuio-packet.o iscsiuio-iscsid_ipc.o -ldl -lpthread ../../src/uip/lib_iscsi_uip.a ../../src/apps/dhcpc/lib_apps_dhcpc.a ../../src/apps/brcm-iscsi/lib_apps_brcm_iscsi.a ../../src/unix/libs/lib_iscsiuio_hw_cnic.a make[4]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/unix' make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src/unix' make[3]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src' make[3]: Nothing to be done for 'all-am'. make[3]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio/src' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i/iscsiuio' + popd ~/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.1nQoJk + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64 + cd open-iscsi-2.0-872-rc4-bnx2i + '[' 1 -eq 1 ']' + make DESTDIR=/home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64 initddir=/etc/rc.d/init.d install_user install -d /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64//sbin install -m 755 usr/iscsid usr/iscsiadm utils/iscsi_discovery utils/iscsi-iname /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64//sbin install -d /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/man/man8 install -m 644 doc/iscsid.8 doc/iscsiadm.8 doc/iscsi_discovery.8 /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/man/man8 install -d /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/iscsi ; install -m 644 etc/iscsid.conf /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/iscsi ; if [ -f /etc/debian_version ]; then \ make install_initd_debian ; \ elif [ -f /etc/redhat-release ]; then \ make install_initd_redhat ; \ elif [ -f /etc/SuSE-release ]; then \ make install_initd_suse ; \ fi make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i' install -d /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/rc.d/init.d install -m 755 etc/initd/initd.redhat \ /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/rc.d/init.d/open-iscsi make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i' if [ ! -f /etc/iscsi/initiatorname.iscsi ]; then \ echo "InitiatorName=`/home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/sbin/iscsi-iname`" > /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/iscsi/initiatorname.iscsi ; \ echo "***************************************************" ; \ echo "Setting InitiatorName to `cat /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/iscsi/initiatorname.iscsi`" ; \ echo "To override edit /etc/iscsi/initiatorname.iscsi" ; \ echo "***************************************************" ; \ fi *************************************************** Setting InitiatorName to InitiatorName=iqn.2005-03.org.open-iscsi:fc5d116085f1 To override edit /etc/iscsi/initiatorname.iscsi *************************************************** install -d /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/iscsi/ifaces install -m 644 etc/iface.example /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/iscsi/ifaces + mkdir -p -m 0700 /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/var/lib/open-iscsi + mkdir -p -m 0755 /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/iscsi/nodes + mkdir -p -m 0755 /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/iscsi/send_targets + install -D -m 644 /home/iurt/rpmbuild/SOURCES/open-iscsi.service /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/lib/systemd/system/open-iscsi.service + rm -f /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/rc.d/init.d/open-iscsi + install -d /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/lib64 + install -d /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/include + install -m0755 libiscsi/libiscsi.so.0 /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/lib64 + ln -s libiscsi.so.0 /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/lib64/libiscsi.so + install -m0644 libiscsi/libiscsi.h /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/include + install -m 0644 /home/iurt/rpmbuild/SOURCES/initiatorname.iscsi /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/etc/iscsi + /usr/lib/rpm/find-debuginfo.sh -j8 --strict-build-id -m -i --build-id-seed 2.0-872.20.mga8 --unique-debug-suffix -2.0-872.20.mga8.aarch64 --unique-debug-src-base open-iscsi-2.0-872.20.mga8.aarch64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/open-iscsi-2.0-872-rc4-bnx2i explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/sbin/iscsi-iname extracting debug info from /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/sbin/iscsi-iname explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/sbin/iscsiadm explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/lib64/libiscsi.so.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/sbin/iscsiadm explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/sbin/iscsid extracting debug info from /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/lib64/libiscsi.so.0 extracting debug info from /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/sbin/iscsid original debug info size: 6024kB, size after compression: 4804kB /usr/lib/rpm/sepdebugcrcfix: Updated 4 CRC32s, 0 CRC32s did match. cpio: libiscsi/prom_lex.l: Cannot stat: No such file or directory cpio: libiscsi/prom_parse.tab.c: Cannot stat: No such file or directory cpio: libiscsi/prom_parse.tab.h: Cannot stat: No such file or directory cpio: libiscsi/prom_parse.y: Cannot stat: No such file or directory 2924 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in /sbin/iscsi_discovery from /bin/bash to #!/usr/bin/bash Processing files: open-iscsi-2.0-872.20.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3WDuDm + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd open-iscsi-2.0-872-rc4-bnx2i + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/doc/open-iscsi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/doc/open-iscsi + cp -pr README /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/doc/open-iscsi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LxotUl + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd open-iscsi-2.0-872-rc4-bnx2i + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/licenses/open-iscsi + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/licenses/open-iscsi + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/licenses/open-iscsi + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(open-iscsi) = 2.0-872.20.mga8 iscsi-initiator-utils open-iscsi = 2.0-872.20.mga8 open-iscsi(aarch-64) = 2.0-872.20.mga8 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) Obsoletes: iscsi-initiator-utils < 6.2.0.873-16 Processing files: lib64iscsi0-2.0-872.20.mga8.aarch64 Executing(%license): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.KDpGol + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd open-iscsi-2.0-872-rc4-bnx2i + LICENSEDIR=/home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/licenses/lib64iscsi0 + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/licenses/lib64iscsi0 + cp -pr COPYING /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/licenses/lib64iscsi0 + RPM_EC=0 ++ jobs -p + exit 0 Provides: lib64iscsi0 = 2.0-872.20.mga8 lib64iscsi0(aarch-64) = 2.0-872.20.mga8 libiscsi.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) Processing files: lib64iscsi0-devel-2.0-872.20.mga8.aarch64 Executing(%doc): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.9NG7pi + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd open-iscsi-2.0-872-rc4-bnx2i + DOCDIR=/home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/doc/lib64iscsi0-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/doc/lib64iscsi0-devel + cp -pr libiscsi/html /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64/usr/share/doc/lib64iscsi0-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: devel(libiscsi(64bit)) iscsi-devel = 2.0-872.20.mga8 iscsi-initiator-utils-devel = 2.0-872.20.mga8 lib64iscsi0-devel = 2.0-872.20.mga8 lib64iscsi0-devel(aarch-64) = 2.0-872.20.mga8 open-iscsi-devel = 2.0-872.20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: open-iscsi-debugsource-2.0-872.20.mga8.aarch64 Provides: open-iscsi-debugsource = 2.0-872.20.mga8 open-iscsi-debugsource(aarch-64) = 2.0-872.20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: open-iscsi-debuginfo-2.0-872.20.mga8.aarch64 Provides: debuginfo(build-id) = 5364073a9aeb64359a772eab9215696268f5abd8 debuginfo(build-id) = d282288a7228a251bbc6a0a6ef60d687fdc0774f debuginfo(build-id) = f9005c8bbbef7269ef3ffea1b2b88c88aeff38ab open-iscsi-debuginfo = 2.0-872.20.mga8 open-iscsi-debuginfo(aarch-64) = 2.0-872.20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: open-iscsi-debugsource(aarch-64) = 2.0-872.20.mga8 Processing files: lib64iscsi0-debuginfo-2.0-872.20.mga8.aarch64 Provides: debuginfo(build-id) = c2c13b4daa48461c42a133b3e46c810100033e87 lib64iscsi0-debuginfo = 2.0-872.20.mga8 lib64iscsi0-debuginfo(aarch-64) = 2.0-872.20.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: open-iscsi-debugsource(aarch-64) = 2.0-872.20.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64 Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64iscsi0-2.0-872.20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64iscsi0-devel-2.0-872.20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/lib64iscsi0-debuginfo-2.0-872.20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/open-iscsi-2.0-872.20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/open-iscsi-debugsource-2.0-872.20.mga8.aarch64.rpm Wrote: /home/iurt/rpmbuild/RPMS/aarch64/open-iscsi-debuginfo-2.0-872.20.mga8.aarch64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.Qf4mZi + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd open-iscsi-2.0-872-rc4-bnx2i + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/open-iscsi-2.0-872.20.mga8.aarch64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.apCuPm + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf open-iscsi-2.0-872-rc4-bnx2i + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!