Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/fctxpd.spec'], chrootPath='/var/lib/mock/f45-build-64795-1088/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6oq0bd53:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6oq0bd53:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '721862b174e742c9a7b8d5e4ff4509d4', '-D', '/var/lib/mock/f45-build-64795-1088/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6oq0bd53:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/fctxpd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1796256000 Wrote: /builddir/build/SRPMS/fctxpd-0.2-12.20210326gitc4dba7f.rv64.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fctxpd.spec'], chrootPath='/var/lib/mock/f45-build-64795-1088/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6oq0bd53:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6oq0bd53:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '04634ece48944ca5bd977e0fb09babb2', '-D', '/var/lib/mock/f45-build-64795-1088/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.6oq0bd53:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/fctxpd.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1796256000 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.lxGyMj Creating(rpmbuild.env): /builddir/build/BUILD/fctxpd-0.2-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/fctxpd-0.2-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/fctxpd-0.2-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="fctxpd" RPM_PACKAGE_VERSION="0.2" RPM_PACKAGE_RELEASE="12.20210326gitc4dba7f.rv64.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.RtTJBG + umask 022 + cd /builddir/build/BUILD/fctxpd-0.2-build + cd /builddir/build/BUILD/fctxpd-0.2-build + rm -rf bsn-fc-txptd-c4dba7f21f8549b3cdd844b05613bb7ca1135619 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/fctxpd-c4dba7f.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bsn-fc-txptd-c4dba7f21f8549b3cdd844b05613bb7ca1135619 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/rpmuncompress /builddir/build/SOURCES/fctxpd-pthread-consumer-proto.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.5sFZ4Y + umask 022 + cd /builddir/build/BUILD/fctxpd-0.2-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bsn-fc-txptd-c4dba7f21f8549b3cdd844b05613bb7ca1135619 + /usr/bin/make -O -j8 V=1 VERBOSE=1 gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -DFPIN_DEBUG -c -o fpin_main.o fpin_main.c In file included from fpin_main.c:26: fpin_main.c: In function ‘fpin_fabric_notification_receiver’: fpin_main.c:93:35: warning: format ‘%zu’ expects argument of type ‘size_t’, but argument 3 has type ‘int’ [-Wformat=] 93 | FPIN_ELOG("too short (%zu) to be an FC event", ret); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~ | | | int fpin.h:33:43: note: in definition of macro ‘FPIN_ELOG’ 33 | #define FPIN_ELOG(fmt...) syslog(LOG_ERR, fmt); | ^~~ fpin_main.c:93:49: note: format string is defined here 93 | FPIN_ELOG("too short (%zu) to be an FC event", ret); | ~~^ | | | long unsigned int | %u fpin_main.c:59:13: warning: unused variable ‘offset’ [-Wunused-variable] 59 | int offset =0; | ^~~~~~ fpin_main.c:51:16: warning: unused variable ‘readfs’ [-Wunused-variable] 51 | fd_set readfs; | ^~~~~~ fpin_main.c:50:13: warning: unused variable ‘maxfd’ [-Wunused-variable] 50 | int maxfd = 0; | ^~~~~ fpin_main.c: At top level: fpin_main.c:38:12: warning: ‘fcm_fc_socket’ defined but not used [-Wunused-variable] 38 | static int fcm_fc_socket; | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:580, from fpin.h:4: In function ‘memcpy’, inlined from ‘fpin_fabric_notification_receiver’ at fpin_main.c:96:3: /usr/include/bits/string_fortified.h:29:10: warning: ‘__builtin___memcpy_chk’ forming offset [2052, 2055] is out of the bounds [0, 2052] [-Warray-bounds=] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -DFPIN_DEBUG -c -o fpin_els.o fpin_els.c fpin_els.c: In function ‘fpin_process_els_frame’: fpin_els.c:247:45: warning: unused variable ‘li’ [-Wunused-variable] 247 | fpin_link_integrity_notification_t *li = NULL; | ^~ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -DFPIN_DEBUG -c -o fpin_dm.o fpin_dm.c fpin_dm.c: In function ‘fpin_set_rport_marginal’: fpin_dm.c:103:22: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | temp = strchr(target_buf, ':'); | ^ In file included from fpin_dm.c:21: fpin_dm.c:108:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] 108 | FPIN_DLOG("Got Port Target_buf as %s :%s %d len %d\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 109 | target_buf, rport_host_buf, sizeof(rport_host_buf), len); | ~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int fpin.h:31:45: note: in definition of macro ‘FPIN_DLOG’ 31 | #define FPIN_DLOG(fmt...) syslog(LOG_DEBUG, fmt); | ^~~ fpin_dm.c:108:59: note: format string is defined here 108 | FPIN_DLOG("Got Port Target_buf as %s :%s %d len %d\n", | ~^ | | | int | %ld fpin_dm.c:33:13: warning: unused variable ‘i’ [-Wunused-variable] 33 | int i = 0, ret = 0; | ^ fpin_dm.c: In function ‘fpin_insert_dm’: fpin_dm.c:189:25: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 189 | uid_ptr = strchr(uid_name, '-'); | ^ fpin_dm.c: In function ‘fpin_insert_sd’: fpin_dm.c:231:67: warning: unused variable ‘sd_path_len’ [-Wunused-variable] 231 | int dev_name_len = 0, sd_node_len = 0, serial_id_len = 0, sd_path_len = 0; | ^~~~~~~~~~~ fpin_dm.c: In function ‘fpin_dm_insert_target’: fpin_dm.c:300:27: warning: too many arguments for format [-Wformat-extra-args] 300 | FPIN_ILOG("Inserted target %s and p_wwn into target list\n", | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fpin.h:32:44: note: in definition of macro ‘FPIN_ILOG’ 32 | #define FPIN_ILOG(fmt...) syslog(LOG_INFO, fmt); | ^~~ fpin_dm.c: In function ‘fpin_dm_marginal_path’: fpin_dm.c:582:23: warning: unused variable ‘fd’ [-Wunused-variable] 582 | int ret = -1, fd = -1; | ^~ fpin_dm.c:579:15: warning: unused variable ‘reply’ [-Wunused-variable] 579 | char *reply = NULL; | ^~~~~ fpin_dm.c: In function ‘fpin_dm_populate_target’: fpin_dm.c:834:31: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 834 | host_name_ptr = strrchr(dir_path_buf, '/'); | ^ fpin_dm.c:792:13: warning: unused variable ‘i’ [-Wunused-variable] 792 | int i = 0, ret = 0; | ^ fpin_dm.c: In function ‘fpin_populate_dm_lun’: fpin_dm.c:978:13: warning: unused variable ‘i’ [-Wunused-variable] 978 | int i = 0; | ^ fpin_dm.c:972:13: warning: unused variable ‘wwn_exists’ [-Wunused-variable] 972 | int wwn_exists = 0, dm_count = 0; | ^~~~~~~~~~ fpin_dm.c: In function ‘fpin_insert_dm’: fpin_dm.c:193:25: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 193 | strncpy(new_node->dm_uuid, uid_ptr, UUID_LEN); | ^ fpin_dm.c: In function ‘fpin_dm_insert_target’: fpin_dm.c:299:17: warning: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 299 | strncpy(new_node->p_wwn, port_wwn, WWN_LEN); | ^ fpin_dm.c: In function ‘fpin_dm_marginal_path’: fpin_dm.c:546:17: warning: ‘__builtin_strncpy’ output may be truncated copying 127 bytes from a string of length 127 [-Wstringop-truncation] 546 | strncpy(newdev->dev_name, devname, (DEV_NAME_LEN - 1)); | ^ fpin_dm.c: In function ‘fpin_populate_dm_lun’: fpin_dm.c:253:17: warning: ‘__builtin_strncpy’ specified bound 128 equals destination size [-Wstringop-truncation] 253 | strncpy(new_node->dev_serial_id, serial_id, UUID_LEN); | ^ gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g -DFPIN_DEBUG -o fctxpd fpin_main.o fpin_els.o fpin_dm.o -lpthread -ludev -ldevmapper -lmpathcmd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5EcVrf + umask 022 + cd /builddir/build/BUILD/fctxpd-0.2-build + '[' /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/fctxpd-0.2-build + mkdir /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd bsn-fc-txptd-c4dba7f21f8549b3cdd844b05613bb7ca1135619 + /usr/bin/make install DESTDIR=/builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT 'INSTALL=/usr/bin/install -p' bindir=/usr/bin install -d /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/bin install -m 755 fctxpd /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/bin/ install -d /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/lib/systemd/system install -m 644 fctxpd.service /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/lib/systemd/system + /usr/bin/find-debuginfo -j8 --strict-build-id -m -i --build-id-seed 0.2-12.20210326gitc4dba7f.rv64.fc45 --unique-debug-suffix -0.2-12.20210326gitc4dba7f.rv64.fc45.riscv64 --unique-debug-src-base fctxpd-0.2-12.20210326gitc4dba7f.rv64.fc45.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 --remove-section .gnu.build.attributes -S debugsourcefiles.list /builddir/build/BUILD/fctxpd-0.2-build/bsn-fc-txptd-c4dba7f21f8549b3cdd844b05613bb7ca1135619 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/fctxpd-0.2-12.20210326gitc4dba7f.rv64.fc45.riscv64 find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + COMPRESS='gzip -9 -n' + COMPRESS_EXT=.gz + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-rpm-in-distinfo + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-det --brp -j8 /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT Scanned 12 directories and 9 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors + /usr/bin/linkdupes --brp /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr Scanned 11 directories and 9 files, considered 9 files, read 0 files, linked 0 files, 0 errors sum of sizes of linked files: 0 bytes Reading /builddir/build/BUILD/fctxpd-0.2-build/SPECPARTS/rpm-debuginfo.specpart Processing files: fctxpd-0.2-12.20210326gitc4dba7f.rv64.fc45.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fPjlxB + umask 022 + cd /builddir/build/BUILD/fctxpd-0.2-build + cd bsn-fc-txptd-c4dba7f21f8549b3cdd844b05613bb7ca1135619 + DOCDIR=/builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/share/doc/fctxpd + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/share/doc/fctxpd + cp -pr /builddir/build/BUILD/fctxpd-0.2-build/bsn-fc-txptd-c4dba7f21f8549b3cdd844b05613bb7ca1135619/README /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/share/doc/fctxpd + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.BK81sg + umask 022 + cd /builddir/build/BUILD/fctxpd-0.2-build + cd bsn-fc-txptd-c4dba7f21f8549b3cdd844b05613bb7ca1135619 + LICENSEDIR=/builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/share/licenses/fctxpd + export LC_ALL=C.UTF-8 + LC_ALL=C.UTF-8 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/share/licenses/fctxpd + cp -pr /builddir/build/BUILD/fctxpd-0.2-build/bsn-fc-txptd-c4dba7f21f8549b3cdd844b05613bb7ca1135619/LICENSES/GPL-2.0 /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT/usr/share/licenses/fctxpd + RPM_EC=0 ++ jobs -p + exit 0 Provides: fctxpd = 0.2-12.20210326gitc4dba7f.rv64.fc45 fctxpd(riscv-64) = 0.2-12.20210326gitc4dba7f.rv64.fc45 Requires(interp): /bin/sh /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(postun): /bin/sh Requires: filesystem(unmerged-sbin-symlinks) ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) libdevmapper.so.1.02()(64bit) libdevmapper.so.1.02(Base)(64bit) libdevmapper.so.1.02(DM_1_02_197)(64bit) libmpathcmd.so.0()(64bit) libmpathcmd.so.0(LIBMPATHCMD_1.0.0)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libudev.so.1(LIBUDEV_199)(64bit) rtld(GNU_HASH) Processing files: fctxpd-debugsource-0.2-12.20210326gitc4dba7f.rv64.fc45.riscv64 Provides: fctxpd-debugsource = 0.2-12.20210326gitc4dba7f.rv64.fc45 fctxpd-debugsource(riscv-64) = 0.2-12.20210326gitc4dba7f.rv64.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: fctxpd-debuginfo-0.2-12.20210326gitc4dba7f.rv64.fc45.riscv64 Provides: debuginfo(build-id) = e397ab48f6528d4facd23352fa3ddc6c82e0ccc3 fctxpd-debuginfo = 0.2-12.20210326gitc4dba7f.rv64.fc45 fctxpd-debuginfo(riscv-64) = 0.2-12.20210326gitc4dba7f.rv64.fc45 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: fctxpd-debugsource(riscv-64) = 0.2-12.20210326gitc4dba7f.rv64.fc45 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/fctxpd-0.2-build/BUILDROOT Wrote: /builddir/build/RPMS/fctxpd-0.2-12.20210326gitc4dba7f.rv64.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/fctxpd-debugsource-0.2-12.20210326gitc4dba7f.rv64.fc45.riscv64.rpm Wrote: /builddir/build/RPMS/fctxpd-debuginfo-0.2-12.20210326gitc4dba7f.rv64.fc45.riscv64.rpm Child return code was: 0