Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bs --target x86_64 --nodeps /builddir/build/SPECS/boost.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-163033-58709/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bs --target x86_64 --nodeps /builddir/build/SPECS/boost.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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/boost-1.75.0-6.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bb --target x86_64 --nodeps /builddir/build/SPECS/boost.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-163033-58709/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=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild --nocheck -bb --target x86_64 --nodeps /builddir/build/SPECS/boost.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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.8hIxwN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf boost_1_75_0 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/boost_1_75_0.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd boost_1_75_0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + find ./boost -name '*.hpp' -perm /111 + xargs chmod a-x + echo 'Patch #15 (boost-1.58.0-pool.patch):' Patch #15 (boost-1.58.0-pool.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file boost/pool/pool.hpp Hunk #2 succeeded at 358 (offset -2 lines). Hunk #3 succeeded at 384 (offset -2 lines). Hunk #4 succeeded at 409 (offset -2 lines). Hunk #5 succeeded at 419 (offset -2 lines). Hunk #6 succeeded at 721 (offset -4 lines). Hunk #7 succeeded at 761 (offset -4 lines). Hunk #8 succeeded at 805 (offset -4 lines). Hunk #9 succeeded at 855 (offset -4 lines). patching file libs/pool/test/test_bug_6701.cpp + echo 'Patch #51 (boost-1.58.0-pool-test_linking.patch):' Patch #51 (boost-1.58.0-pool-test_linking.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libs/pool/test/Jamfile.v2 + echo 'Patch #96 (boost-1.75.0-build-optflags.patch):' Patch #96 (boost-1.75.0-build-optflags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/build/src/tools/gcc.jam + echo 'Patch #97 (boost-1.75.0-no-rpath.patch):' Patch #97 (boost-1.75.0-no-rpath.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/build/src/tools/gcc.jam + echo 'Patch #83 (boost-1.73.0-b2-build-flags.patch):' Patch #83 (boost-1.73.0-b2-build-flags.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/build/src/engine/build.sh + echo 'Patch #88 (boost-1.73.0-cmakedir.patch):' Patch #88 (boost-1.73.0-cmakedir.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/boost_install/boost-install.jam Hunk #1 succeeded at 709 (offset 57 lines). + echo 'Patch #93 (boost-1.73-python3.10.patch):' Patch #93 (boost-1.73-python3.10.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file boost/parameter/python.hpp patching file libs/python/src/object/class.cpp patching file libs/python/src/object/life_support.cpp patching file libs/python/src/object/function.cpp patching file libs/python/src/object/enum.cpp patching file boost/python/object/make_instance.hpp + echo 'Patch #94 (boost-1.73-locale-empty-vector.patch):' Patch #94 (boost-1.73-locale-empty-vector.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libs/locale/src/icu/collator.cpp + echo 'Patch #95 (boost-1.75.0-boost-build-fix.patch):' Patch #95 (boost-1.75.0-boost-build-fix.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file tools/build/src/engine/startup.cpp + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.EDcieh + umask 022 + cd /builddir/build/BUILD + cd boost_1_75_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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS ++ /usr/bin/python3-config --abiflags + PYTHON3_ABIFLAGS=m + : PYTHON3_VERSION=3.6 + : PYTHON3_ABIFLAGS=m + export 'RPM_OPT_FLAGS=-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations' + RPM_OPT_FLAGS='-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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations' + export RPM_LD_FLAGS + cat + cat + ./bootstrap.sh '--with-toolset=%{toolchain}' --with-icu Building B2 engine.. ### ### ### Using 'gcc' toolset. ### ### > g++ --version g++ (GCC) 8.5.0 20210514 (Anolis 8.5.0-10.0.2) Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ### ### > g++ -x c++ -std=c++11 -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-strict-aliasing -Wno-unused-local-typedefs -Wno-deprecated-declarations -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp filesys.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathsys.cpp regexp.cpp rules.cpp scan.cpp search.cpp jam_strings.cpp startup.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp execunix.cpp fileunix.cpp pathunix.cpp -o b2 debugger.cpp: In function 'LIST* debug_list_read(FILE*)': debugger.cpp:163:9: warning: variable 'ch' set but not used [-Wunused-but-set-variable] int ch; ^~ debugger.cpp:165:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] fscanf( in, "%d", &len ); ~~~~~~^~~~~~~~~~~~~~~~~~ execcmd.cpp: In function 'void argv_from_shell(const char**, LIST*, const char*, int)': execcmd.cpp:55:21: warning: '%d' directive writing between 1 and 11 bytes into a region of size 4 [-Wformat-overflow=] sprintf( jobno, "%d", slot + 1 ); ^~~~ execcmd.cpp:55:21: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from jam.h:343, from execcmd.cpp:11: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 12 bytes into a destination of size 4 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function.cpp: In function 'LIST* function_run(FUNCTION*, FRAME*, STACK*)': function.cpp:3874:12: warning: unused variable 'saved_stack' [-Wunused-variable] void * saved_stack = s->data; ^~~~~~~~~~~ function.cpp: In function 'void argument_list_push(arg_list*, int, FUNCTION*, FRAME*, STACK*)': function.cpp:3112:21: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] type_check_range( type_name, list_begin( values ), list_end( values ), ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ caller, called, arg_name ); ~~~~~~~~~~~~~~~~~~~~~~~~~~ function.cpp:3196:20: note: 'value' was declared here LIST * value; ^~~~~ make1.cpp: In function 'int make1(LIST*)': make1.cpp:1262:34: warning: 'last_cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] a0->action->last_cmd = last_cmd; ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ make1.cpp:1068:11: note: 'last_cmd' was declared here CMD * last_cmd; ^~~~~~~~ object.cpp:240:13: warning: 'void object_validate(OBJECT*)' defined but not used [-Wunused-function] static void object_validate( OBJECT * obj ) ^~~~~~~~~~~~~~~ object.cpp:233:27: warning: 'hash_item* object_get_item(OBJECT*)' defined but not used [-Wunused-function] static struct hash_item * object_get_item( OBJECT * obj ) ^~~~~~~~~~~~~~~ > cp b2 bjam tools/build/src/engine/b2 Unicode/ICU support for Boost.Regex?... /usr Generating B2 configuration in project-config.jam for %{toolchain}... Bootstrapping is done. To build, run: ./b2 To generate header files, run: ./b2 headers To adjust configuration, edit 'project-config.jam'. Further information: - Command line help: ./b2 --help - Getting started guide: http://www.boost.org/more/getting_started/unix-variants.html - B2 documentation: http://www.boost.org/build/ ============================= build serial ================== + echo ============================= build serial ================== + ./b2 -d+2 -q -j64 --without-mpi --without-graph_parallel --build-dir=serial variant=release threading=multi debug-symbols=on pch=off python=3.6 stage %{toolchain}.jam: No such file or directory /builddir/build/BUILD/boost_1_75_0/tools/build/src/user-config.jam:5: Unescaped special character in argument %{toolchain} /builddir/build/BUILD/boost_1_75_0/tools/build/src/build/toolset.jam:44: in toolset.using ERROR: rule "%{toolchain}.init" unknown in module "toolset". /builddir/build/BUILD/boost_1_75_0/tools/build/src/build/project.jam:1104: in using /builddir/build/BUILD/boost_1_75_0/tools/build/src/user-config.jam:5: in modules.load /builddir/build/BUILD/boost_1_75_0/tools/build/src/build-system.jam:255: in load-config /builddir/build/BUILD/boost_1_75_0/tools/build/src/build-system.jam:453: in load-configuration-files /builddir/build/BUILD/boost_1_75_0/tools/build/src/build-system.jam:607: in load /builddir/build/BUILD/boost_1_75_0/tools/build/src/kernel/modules.jam:295: in import /builddir/build/BUILD/boost_1_75_0/tools/build/src/kernel/bootstrap.jam:139: in boost-build /builddir/build/BUILD/boost_1_75_0/boost-build.jam:17: in module scope error: Bad exit status from /var/tmp/rpm-tmp.EDcieh (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.EDcieh (%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 --nocheck -bb --target x86_64 --nodeps /builddir/build/SPECS/boost.spec