Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/dlm.spec'], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/dlm.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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1629849600 Wrote: /builddir/build/SRPMS/dlm-4.0.9-7.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/dlm.spec"], chrootPath='/var/lib/mock/rocky-9-ppc64le/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=0uid=11011gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', "/usr/bin/rpmbuild -bb --target ppc64le --nodeps --define '__spec_check_template exit 0; ' /builddir/build/SPECS/dlm.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'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1629849600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2iFVHE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dlm-4.0.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/dlm-4.0.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dlm-4.0.9 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (0001-stonith_helper-fix-build.patch): + echo 'Patch #0 (0001-stonith_helper-fix-build.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .0001-stonith_helper-fix-build.patch --fuzz=0 patching file fence/Makefile patching file fence/stonith_helper.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uqfyaM + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.9 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + make set -e; for d in libdlm dlm_controld dlm_tool fence; do make -C $d all; done make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/libdlm' cc libdlm.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIC -Wl,-z,now -D_REENTRANT -c -o libdlm.o cc libdlm.o -lpthread -shared -o libdlm.so.3.0 -Wl,-soname=libdlm.so.3 ln -sf libdlm.so.3.0 libdlm.so ln -sf libdlm.so.3.0 libdlm.so.3 cc libdlm.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -fPIC -Wl,-z,now -c -o libdlm_lt.o cc libdlm_lt.o -shared -o libdlm_lt.so.3.0 -Wl,-soname=libdlm_lt.so.3 ln -sf libdlm_lt.so.3.0 libdlm_lt.so ln -sf libdlm_lt.so.3.0 libdlm_lt.so.3 cat libdlm.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlm.pc cat libdlm.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlm_lt.pc make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/libdlm' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/dlm_controld' cc lib.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIC -Wl,-z,relro -pie -shared -o libdlmcontrol.so.3.2 -Wl,-soname=libdlmcontrol.so.3 In file included from /usr/include/string.h:519, from /usr/include/sys/un.h:37, from lib.c:17: In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'do_dump' at lib.c:107:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_node_info' at lib.c:535:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_lockspace_info' at lib.c:573:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_lockspace_nodes' at lib.c:668:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_fs_register' at lib.c:732:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_fs_unregister' at lib.c:741:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_fs_notified' at lib.c:750:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_deadlock_check' at lib.c:788:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'init_header' at lib.c:95:3, inlined from 'init_header' at lib.c:84:13, inlined from 'dlmc_fence_ack' at lib.c:807:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'dlmc_run_check' at lib.c:884:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ ln -sf libdlmcontrol.so.3.2 libdlmcontrol.so ln -sf libdlmcontrol.so.3.2 libdlmcontrol.so.3 cc action.c cpg.c daemon_cpg.c helper.c crc.c fence_config.c fence.c main.c plock.c config.c member.c logging.c rbtree.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIE -DPIE -I../include -I../libdlm -DUSE_SD_NOTIFY -Wl,-z,relro -pie -lpthread -lrt -lcpg -lcmap -lcfg -lquorum -luuid -lsystemd -o dlm_controld -L. In file included from /usr/include/string.h:519, from /usr/include/sys/un.h:37, from dlm_daemon.h:16, from cpg.c:78: In function 'strncpy', inlined from 'set_lockspace_info' at cpg.c:1867:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 64 bytes from a string of length 64 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ daemon_cpg.c: In function 'receive_run_request': daemon_cpg.c:2158:26: warning: 'run' may be used uninitialized [-Wmaybe-uninitialized] 2158 | run->info.reply_count++; | ~~~~~~~~~^~~~~~~~~~~~ In file included from /usr/include/string.h:519, from fence_config.c:13: In function 'strncpy', inlined from 'read_config_section' at fence_config.c:183:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_section' at fence_config.c:184:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_section' at fence_config.c:185:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_section' at fence_config.c:186:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 255 bytes from a string of length 255 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In function 'strncpy', inlined from 'read_config_section' at fence_config.c:187:3, inlined from 'fence_config_init' at fence_config.c:279:8: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' output may be truncated copying 4095 bytes from a string of length 4095 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /usr/include/sys/un.h:37, from dlm_daemon.h:16, from main.c:10: In function 'strncpy', inlined from 'init_header' at main.c:803:3, inlined from 'init_header' at main.c:791:13, inlined from 'do_reply' at main.c:965:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from config.c:9: config.c: In function 'set_opt_file': dlm_daemon.h:199:33: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] 199 | #define log_debug(fmt, args...) log_level(NULL, LOG_DEBUG, fmt, ##args) | ^~~~~~~~~ config.c:178:16: note: 'val' was declared here 178 | int i, val; | ^~~ daemon_cpg.c: In function 'deliver_cb_daemon': daemon_cpg.c:2158:26: warning: 'run' may be used uninitialized [-Wmaybe-uninitialized] 2158 | run->info.reply_count++; | ^ daemon_cpg.c:2118:21: note: 'run' was declared here 2118 | struct run *run; | ^ cpg.c: In function 'apply_changes': cpg.c:1187:9: warning: 'plocks_data' may be used uninitialized in this function [-Wmaybe-uninitialized] 1187 | log_dlock(ls, "send_plocks_done %d:%u counts %u %d %d %d %d plocks_data %u", | ^ cpg.c:1239:18: note: 'plocks_data' was declared here 1239 | uint32_t plocks_data; | ^ cat libdlmcontrol.pc.in | sed -e 's#@PREFIX@#/usr#g;s#@LIBDIR@#/usr//lib64#g' > libdlmcontrol.pc make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/dlm_controld' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/dlm_tool' cc main.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIE -DPIE -I../include -I../libdlm -I../dlm_controld -Wl,-z,relro -pie -L../libdlm -L../dlm_controld -lpthread -ldlm -ldlmcontrol -o dlm_tool In file included from /usr/include/string.h:519, from main.c:15: In function 'strncpy', inlined from 'decode_arguments' at main.c:438:4, inlined from 'main' at main.c:1525:2: /usr/include/bits/string_fortified.h:95:10: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/dlm_tool' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/fence' cc stonith_helper.c -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -O2 -ggdb -Wall -Wformat -Wformat-security -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wextra -Wshadow -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Winline -Wredundant-decls -Wno-sign-compare -Wno-unused-parameter -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fasynchronous-unwind-tables -fdiagnostics-show-option -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fstack-clash-protection -Wl,-z,now -fPIE -DPIE `xml2-config --cflags` -I../include -I/usr/include/pacemaker -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-4 -I/usr/include/libxml2 -I/usr/include/uuid -I/usr/include/p11-kit-1 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -pthread -Wl,-z,relro -pie `xml2-config --libs` -ldl -o dlm_stonith -L. stonith_helper.c: In function 'get_options': stonith_helper.c:32:57: warning: comparison is always true due to limited range of data type [-Wtype-limits] 32 | while ((c = getopt(argc, argv, "n:t:")) != -1) { | ^~ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/fence' + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power9 -mtune=power9 -fasynchronous-unwind-tables -fstack-clash-protection' + make -C fence make: Entering directory '/builddir/build/BUILD/dlm-4.0.9/fence' make: Nothing to be done for 'all'. make: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/fence' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.SmPLme + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le ++ dirname /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le + cd dlm-4.0.9 + rm -rf /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le + make install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le set -e; for d in libdlm dlm_controld dlm_tool fence; do make -C $d install; done make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/libdlm' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man3 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64/pkgconfig /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib/udev/rules.d /usr/bin/install -c -m 755 libdlm.so.3.0 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 /usr/bin/install -c -m 755 libdlm_lt.so.3.0 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 cp -a libdlm.so /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 cp -a libdlm.so.3 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 cp -a libdlm_lt.so /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 cp -a libdlm_lt.so.3 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 /usr/bin/install -m 644 libdlm.pc /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64/pkgconfig /usr/bin/install -m 644 libdlm_lt.pc /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64/pkgconfig /usr/bin/install -c -m 644 libdlm.h /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/include /usr/bin/install -m 644 man/dlm_cleanup.3 man/dlm_close_lockspace.3 man/dlm_create_lockspace.3 man/dlm_dispatch.3 man/dlm_get_fd.3 man/dlm_lock.3 man/dlm_lock_wait.3 man/dlm_ls_lock.3 man/dlm_ls_lock_wait.3 man/dlm_ls_lockx.3 man/dlm_ls_pthread_init.3 man/dlm_ls_unlock.3 man/dlm_ls_unlock_wait.3 man/dlm_new_lockspace.3 man/dlm_open_lockspace.3 man/dlm_pthread_init.3 man/dlm_release_lockspace.3 man/dlm_unlock.3 man/dlm_unlock_wait.3 man/libdlm.3 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man3/ /usr/bin/install -m 644 51-dlm.rules /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib/udev/rules.d make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/libdlm' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/dlm_controld' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/include /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man8 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man5 /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64/pkgconfig /usr/bin/install -m 755 dlm_controld /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/sbin /usr/bin/install -m 755 libdlmcontrol.so.3.2 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 cp -a libdlmcontrol.so /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 cp -a libdlmcontrol.so.3 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64 /usr/bin/install -m 644 libdlmcontrol.pc /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/lib64/pkgconfig /usr/bin/install -m 644 libdlmcontrol.h /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/include /usr/bin/install -m 644 dlm_controld.8 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man8/ /usr/bin/install -m 644 dlm.conf.5 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man5/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/dlm_controld' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/dlm_tool' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_tool /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/sbin /usr/bin/install -m 644 dlm_tool.8 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man8/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/dlm_tool' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.0.9/fence' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_stonith /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/sbin /usr/bin/install -m 644 dlm_stonith.8 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man8/ make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/fence' + make -C fence install LIBDIR=/usr/lib64 DESTDIR=/builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le make: Entering directory '/builddir/build/BUILD/dlm-4.0.9/fence' /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/sbin /usr/bin/install -d /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man8 /usr/bin/install -c -m 755 dlm_stonith /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/sbin /usr/bin/install -m 644 dlm_stonith.8 /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le//usr/share/man/man8/ make: Leaving directory '/builddir/build/BUILD/dlm-4.0.9/fence' + install -Dm 0644 init/dlm.service /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/lib/systemd/system/dlm.service + install -Dm 0644 init/dlm.sysconfig /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/etc/sysconfig/dlm + /usr/lib/rpm/find-debuginfo.sh -j16 --strict-build-id -m -i --build-id-seed 4.0.9-7.el9 --unique-debug-suffix -4.0.9-7.el9.ppc64le --unique-debug-src-base dlm-4.0.9-7.el9.ppc64le --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/dlm-4.0.9 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/lib64/libdlm.so.3.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/lib64/libdlmcontrol.so.3.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/lib64/libdlm_lt.so.3.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/sbin/dlm_controld explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/sbin/dlm_stonith explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/sbin/dlm_tool extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/sbin/dlm_tool extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/lib64/libdlmcontrol.so.3.2 extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/lib64/libdlm_lt.so.3.0 extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/sbin/dlm_stonith extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/sbin/dlm_controld extracting debug info from /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/lib64/libdlm.so.3.0 original debug info size: 856kB, size after compression: 796kB /usr/lib/rpm/sepdebugcrcfix: Updated 6 CRC32s, 0 CRC32s did match. 827 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: dlm-4.0.9-7.el9.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3nzgr5 + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.9 + DOCDIR=/builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/share/doc/dlm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/share/doc/dlm + cp -pr README.license /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le/usr/share/doc/dlm + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(dlm) = 4.0.9-7.el9 dlm = 4.0.9-7.el9 dlm(ppc-64) = 4.0.9-7.el9 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 systemd-units Requires(preun): /bin/sh systemd-units Requires(postun): /bin/sh systemd-units Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libcfg.so.7()(64bit) libcfg.so.7(COROSYNC_CFG_0.82)(64bit) libcmap.so.4()(64bit) libcmap.so.4(COROSYNC_CMAP_1.0)(64bit) libcpg.so.4()(64bit) libcpg.so.4(COROSYNC_CPG_1.0)(64bit) libdlm.so.3()(64bit) libdlmcontrol.so.3()(64bit) liblzma.so.5()(64bit) libm.so.6()(64bit) libquorum.so.5()(64bit) libquorum.so.5(COROSYNC_QUORUM_1.0)(64bit) libsystemd.so.0()(64bit) libsystemd.so.0(LIBSYSTEMD_209)(64bit) libuuid.so.1()(64bit) libuuid.so.1(UUID_1.0)(64bit) libxml2.so.2()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Conflicts: cman Processing files: dlm-debugsource-4.0.9-7.el9.ppc64le Provides: dlm-debugsource = 4.0.9-7.el9 dlm-debugsource(ppc-64) = 4.0.9-7.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: dlm-lib-4.0.9-7.el9.ppc64le Provides: dlm-lib = 4.0.9-7.el9 dlm-lib(ppc-64) = 4.0.9-7.el9 libdlm.so.3()(64bit) libdlm_lt.so.3()(64bit) libdlmcontrol.so.3()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Conflicts: clusterlib Processing files: dlm-devel-4.0.9-7.el9.ppc64le Provides: dlm-devel = 4.0.9-7.el9 dlm-devel(ppc-64) = 4.0.9-7.el9 pkgconfig(libdlm) = 4.0.0 pkgconfig(libdlm_lt) = 4.0.0 pkgconfig(libdlmcontrol) = 4.0.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libdlm.so.3()(64bit) libdlm_lt.so.3()(64bit) libdlmcontrol.so.3()(64bit) Conflicts: clusterlib-devel Processing files: dlm-debuginfo-4.0.9-7.el9.ppc64le Provides: debuginfo(build-id) = 30312d38f51a35a7fbd8b5d27a0a0532e5745a13 debuginfo(build-id) = e973ae3b87f9df603bfb12bd6bc492d2b15220e1 debuginfo(build-id) = eb398bea6dfdc217064b9b745d0f4c17ecd06576 dlm-debuginfo = 4.0.9-7.el9 dlm-debuginfo(ppc-64) = 4.0.9-7.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dlm-debugsource(ppc-64) = 4.0.9-7.el9 Processing files: dlm-lib-debuginfo-4.0.9-7.el9.ppc64le Provides: debuginfo(build-id) = 7b478d72353d66fb9aeb45818d199ebb69443fa6 debuginfo(build-id) = a4e8a77a6bb5cd40af13983951d6ba4ad834e843 debuginfo(build-id) = ed5a380aa0ee13c447d4ad9d8d4dc130c291a79f dlm-lib-debuginfo = 4.0.9-7.el9 dlm-lib-debuginfo(ppc-64) = 4.0.9-7.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dlm-debugsource(ppc-64) = 4.0.9-7.el9 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le Wrote: /builddir/build/RPMS/dlm-devel-4.0.9-7.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/dlm-lib-4.0.9-7.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/dlm-lib-debuginfo-4.0.9-7.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/dlm-4.0.9-7.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/dlm-debugsource-4.0.9-7.el9.ppc64le.rpm Wrote: /builddir/build/RPMS/dlm-debuginfo-4.0.9-7.el9.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ww4tsm + umask 022 + cd /builddir/build/BUILD + cd dlm-4.0.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/dlm-4.0.9-7.el9.ppc64le + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0