Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubctl.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-239866-82637/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubctl.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: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/ubctl-1.0.1-1.oc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubctl.spec'], chrootPath='/var/lib/mock/dist-oc9-epol-build-239866-82637/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubctl.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: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Yqmi7C + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf ubctl + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/ubctl.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd ubctl + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.KsbLYG + umask 022 + cd /builddir/build/BUILD + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ubctl + rm -rf build + cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo -- The C compiler identification is GNU 12.3.1 -- The CXX compiler identification is GNU 12.3.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Configuring done (0.5s) -- Generating done (0.0s) -- Build files have been written to: /builddir/build/BUILD/ubctl/build ++ nproc + cmake --build build -- -j8 [ 14%] Building C object CMakeFiles/ubctl.dir/u_utool_dispatch.c.o [ 14%] Building C object CMakeFiles/ubctl.dir/u_utool_dl.c.o [ 14%] Building C object CMakeFiles/ubctl.dir/u_utool_ba.c.o [ 28%] Building C object CMakeFiles/ubctl.dir/u_utool_ecc_2b.c.o [ 28%] Building C object CMakeFiles/ubctl.dir/u_utool_fwctl.c.o [ 28%] Building C object CMakeFiles/ubctl.dir/u_utool_dump.c.o [ 38%] Building C object CMakeFiles/ubctl.dir/u_utool_io_die.c.o [ 38%] Building C object CMakeFiles/ubctl.dir/u_utool_main.c.o [ 42%] Building C object CMakeFiles/ubctl.dir/u_utool_msg.c.o [ 47%] Building C object CMakeFiles/ubctl.dir/u_utool_nl.c.o [ 52%] Building C object CMakeFiles/ubctl.dir/u_utool_pkt.c.o [ 57%] Building C object CMakeFiles/ubctl.dir/u_utool_port_info.c.o [ 61%] Building C object CMakeFiles/ubctl.dir/u_utool_qos.c.o /builddir/build/BUILD/ubctl/u_utool_pkt.c: In function 'utool_parse_param_check': /builddir/build/BUILD/ubctl/u_utool_pkt.c:68:49: warning: the comparison will always evaluate as 'false' for the address of 'data' will never be NULL [-Waddress] 68 | if ((out->data_size == 0) || (out->data == NULL)) { | ^~ In file included from /builddir/build/BUILD/ubctl/u_utool_fwctl.h:16, from /builddir/build/BUILD/ubctl/u_utool_pkt.h:14, from /builddir/build/BUILD/ubctl/u_utool_pkt.c:13: /builddir/build/BUILD/ubctl/./kernel_headers/ub_fwctl.h:36:15: note: 'data' declared here 36 | __u32 data[]; | ^~~~ In file included from /builddir/build/BUILD/ubctl/u_utool_fwctl.h:17: /builddir/build/BUILD/ubctl/u_utool_pkt.c: In function 'utool_pkt_print': /builddir/build/BUILD/ubctl/u_utool_pkt.c:109:31: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 4 has type 'uint64_t' {aka 'long unsigned int'} [-Wformat=] 109 | utool_reg_msg("%s: 0x%llx\n", reg_name, merge_data); | ^~~~~~~~~~~~~~ ~~~~~~~~~~ | | | uint64_t {aka long unsigned int} /builddir/build/BUILD/ubctl/u_utool_common.h:66:25: note: in definition of macro 'utool_reg_msg' 66 | fprintf(stdout, fmt, ##__VA_ARGS__) | ^~~ /builddir/build/BUILD/ubctl/u_utool_pkt.c:109:41: note: format string is defined here 109 | utool_reg_msg("%s: 0x%llx\n", reg_name, merge_data); | ~~~^ | | | long long unsigned int | %lx /builddir/build/BUILD/ubctl/u_utool_pkt.c: In function 'utool_module_parse_input_check': /builddir/build/BUILD/ubctl/u_utool_pkt.c:204:49: warning: the comparison will always evaluate as 'false' for the address of 'data' will never be NULL [-Waddress] 204 | if ((out->data_size == 0) || (out->data == NULL)) { | ^~ /builddir/build/BUILD/ubctl/./kernel_headers/ub_fwctl.h:36:15: note: 'data' declared here 36 | __u32 data[]; | ^~~~ In file included from /builddir/build/BUILD/ubctl/u_utool_fwctl.h:17, from /builddir/build/BUILD/ubctl/u_utool_pkt.h:14, from /builddir/build/BUILD/ubctl/u_utool_port_info.c:9: /builddir/build/BUILD/ubctl/u_utool_port_info.c: In function 'utool_ub_port_info_parse_dlphy_info': /builddir/build/BUILD/ubctl/u_utool_port_info.c:614:23: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 614 | utool_reg_msg("fec_err: 0x%llx\n", | ^~~~~~~~~~~~~~~~~~~ 615 | ((uint64_t)dlphy_info.fec_err_high << UTOOL_FEC_ERR_HIGH_SHIFT) | dlphy_info.fec_err_low); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /builddir/build/BUILD/ubctl/u_utool_common.h:66:25: note: in definition of macro 'utool_reg_msg' 66 | fprintf(stdout, fmt, ##__VA_ARGS__) | ^~~ [ 66%] Building C object CMakeFiles/ubctl.dir/u_utool_queue.c.o /builddir/build/BUILD/ubctl/u_utool_port_info.c:614:38: note: format string is defined here 614 | utool_reg_msg("fec_err: 0x%llx\n", | ~~~^ | | | long long unsigned int | %lx /builddir/build/BUILD/ubctl/u_utool_port_info.c: In function 'utool_eth_port_info_parse_dlphy_info': /builddir/build/BUILD/ubctl/u_utool_port_info.c:662:23: warning: format '%llx' expects argument of type 'long long unsigned int', but argument 3 has type 'long unsigned int' [-Wformat=] 662 | utool_reg_msg("fec_err: 0x%llx\n", | ^~~~~~~~~~~~~~~~~~~ 663 | ((uint64_t)dlphy_info.fec_err_high << UTOOL_FEC_ERR_HIGH_SHIFT) | dlphy_info.fec_err_low); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | long unsigned int /builddir/build/BUILD/ubctl/u_utool_common.h:66:25: note: in definition of macro 'utool_reg_msg' 66 | fprintf(stdout, fmt, ##__VA_ARGS__) | ^~~ /builddir/build/BUILD/ubctl/u_utool_port_info.c:662:38: note: format string is defined here 662 | utool_reg_msg("fec_err: 0x%llx\n", | ~~~^ | | | long long unsigned int | %lx [ 71%] Building C object CMakeFiles/ubctl.dir/u_utool_ta.c.o [ 76%] Building C object CMakeFiles/ubctl.dir/u_utool_tp.c.o [ 80%] Building C object CMakeFiles/ubctl.dir/u_utool_tp_field_info.c.o [ 85%] Building C object CMakeFiles/ubctl.dir/u_utool_uboe.c.o [ 90%] Building C object CMakeFiles/ubctl.dir/u_utool_ubommu.c.o [ 95%] Building C object CMakeFiles/ubctl.dir/u_utool_ummu.c.o [100%] Linking C executable ubctl [100%] Built target ubctl + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.9xZtaJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/ubctl-1.0.1-1.oc9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/ubctl-1.0.1-1.oc9.aarch64 ++ dirname /builddir/build/BUILDROOT/ubctl-1.0.1-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/ubctl-1.0.1-1.oc9.aarch64 + cd ubctl + rm -rf /builddir/build/BUILDROOT/ubctl-1.0.1-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT/ubctl-1.0.1-1.oc9.aarch64 + mkdir -p /builddir/build/BUILDROOT/ubctl-1.0.1-1.oc9.aarch64/usr/share/doc/ub/ubctl/ + mkdir -p /builddir/build/BUILDROOT/ubctl-1.0.1-1.oc9.aarch64/usr/share/man/man8/ + pod2man doc/ubctl.pod ./ubctl.8 /var/tmp/rpm-tmp.9xZtaJ: line 43: pod2man: command not found error: Bad exit status from /var/tmp/rpm-tmp.9xZtaJ (%install) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.9xZtaJ (%install) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubctl.spec\n', 1)] 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 597, 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 --noclean --target aarch64 --nodeps /builddir/build/SPECS/ubctl.spec