Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/dlm.spec'], chrootPath='/var/lib/mock/dist-circle8-build-40270-7439/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=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --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: i686 Building for target i686 Wrote: /builddir/build/SRPMS/dlm-4.1.0-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/dlm.spec'], chrootPath='/var/lib/mock/dist-circle8-build-40270-7439/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=86400uid=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --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: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vlXEHv + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dlm-4.1.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/dlm-4.1.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dlm-4.1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.hGeSzr + umask 022 + cd /builddir/build/BUILD + cd dlm-4.1.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.1.0/libdlm' cc libdlm.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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.1.0/libdlm' make[1]: Entering directory '/builddir/build/BUILD/dlm-4.1.0/dlm_controld' cc lib.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 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 node_config.c -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=x86-64 -mtune=generic -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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. member.c:113:71: warning: 'struct quorum_ring_id' declared inside parameter list will not be visible outside of this definition or declaration static void quorum_nodelist_callback(quorum_handle_t cbhandle, struct quorum_ring_id ring_id, ^~~~~~~~~~~~~~ member.c:113:86: error: parameter 2 ('ring_id') has incomplete type static void quorum_nodelist_callback(quorum_handle_t cbhandle, struct quorum_ring_id ring_id, ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ member.c:113:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void quorum_nodelist_callback(quorum_handle_t cbhandle, struct quorum_ring_id ring_id, ^~~~~~~~~~~~~~~~~~~~~~~~ member.c:143:15: warning: 'struct quorum_ring_id' declared inside parameter list will not be visible outside of this definition or declaration struct quorum_ring_id ring_id, uint32_t node_list_entries, ^~~~~~~~~~~~~~ member.c:143:30: error: parameter 3 ('ring_id') has incomplete type struct quorum_ring_id ring_id, uint32_t node_list_entries, ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~ member.c:142:13: warning: function declaration isn't a prototype [-Wstrict-prototypes] static void quorum_callback(quorum_handle_t cbhandle, uint32_t quorate, ^~~~~~~~~~~~~~~ member.c: In function 'setup_cluster': member.c:287:2: error: unknown type name 'quorum_model_v1_data_t'; did you mean 'cpg_model_v1_data_t'? quorum_model_v1_data_t model_data; ^~~~~~~~~~~~~~~~~~~~~~ cpg_model_v1_data_t member.c:295:12: error: request for member 'quorum_notify_fn' in something not a structure or union model_data.quorum_notify_fn = quorum_callback; ^ member.c:296:12: error: request for member 'nodelist_notify_fn' in something not a structure or union model_data.nodelist_notify_fn = quorum_nodelist_callback; ^ member.c:298:8: warning: implicit declaration of function 'quorum_model_initialize'; did you mean 'quorum_initialize'? [-Wimplicit-function-declaration] err = quorum_model_initialize(&qh, QUORUM_MODEL_V1, (quorum_model_data_t *)&model_data, &quorum_type, NULL); ^~~~~~~~~~~~~~~~~~~~~~~ quorum_initialize member.c:298:8: warning: nested extern declaration of 'quorum_model_initialize' [-Wnested-externs] member.c:298:37: error: 'QUORUM_MODEL_V1' undeclared (first use in this function); did you mean 'CPG_MODEL_V1'? err = quorum_model_initialize(&qh, QUORUM_MODEL_V1, (quorum_model_data_t *)&model_data, &quorum_type, NULL); ^~~~~~~~~~~~~~~ CPG_MODEL_V1 member.c:298:37: note: each undeclared identifier is reported only once for each function it appears in member.c:298:55: error: 'quorum_model_data_t' undeclared (first use in this function); did you mean 'cpg_model_data_t'? err = quorum_model_initialize(&qh, QUORUM_MODEL_V1, (quorum_model_data_t *)&model_data, &quorum_type, NULL); ^~~~~~~~~~~~~~~~~~~ cpg_model_data_t member.c:298:76: error: expected expression before ')' token err = quorum_model_initialize(&qh, QUORUM_MODEL_V1, (quorum_model_data_t *)&model_data, &quorum_type, NULL); ^ member.c:290:11: warning: unused variable 'quorum_type' [-Wunused-variable] uint32_t quorum_type = 0; ^~~~~~~~~~~ make[1]: *** [Makefile:66: dlm_controld] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/dlm-4.1.0/dlm_controld' make: *** [Makefile:2: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.hGeSzr (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.hGeSzr (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/dlm.spec