Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/opa-ff.spec'], chrootPath='/var/lib/mock/dist-circle8-build-99810-48676/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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/opa-ff.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/opa-ff-10.11.1.3.1-1.el8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opa-ff.spec'], chrootPath='/var/lib/mock/dist-circle8-build-99810-48676/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=992gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opa-ff.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.aQSU0h + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf opa-ff-10.11.1.3.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/v10.11.1.3.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd opa-ff-10.11.1.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #8 (0001-Link-executables-with-pie.patch):' Patch #8 (0001-Link-executables-with-pie.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Esm/ib/src/linux/startup/fm_config/Makefile patching file Makerules/Maketargets.build Patch #9 (0002-Lets-build-config-decide-C-optimization-flags.patch): + echo 'Patch #9 (0002-Lets-build-config-decide-C-optimization-flags.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file Dsap/Makefile patching file IbaTools/stream/Makefile patching file opasadb/path_tools/cache/Makefile patching file opasadb/path_tools/dump/Makefile patching file opasadb/path_tools/exercise/Makefile patching file opasadb/path_tools/load/Makefile patching file opasadb/path_tools/perf/Makefile patching file opasadb/path_tools/query/Makefile patching file opasadb/path_tools/query_many/Makefile + echo 'Patch #10 (0003-Replace-strdupa-with-strdup.patch):' Patch #10 (0003-Replace-strdupa-with-strdup.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file opasadb/path_tools/query/opa_osd_query.c + sed -i -r -e 's/(release_C(C)?OPT_Flags\s*)=/\1?=/' Makerules/Target.LINUX.GNU.EM64T Makerules/Target.LINUX.GNU.IA32 Makerules/Target.LINUX.GNU.IA64 Makerules/Target.LINUX.GNU.MIPS64 Makerules/Target.LINUX.GNU.PPC64 Makerules/Target.LINUX.GNU.X86_64 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.NhFe5S + umask 022 + cd /builddir/build/BUILD + cd opa-ff-10.11.1.3.1 + export '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' + 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 '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' + 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 'release_COPT_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' + release_COPT_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' + export 'release_CCOPT_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' + release_CCOPT_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' + cd OpenIb_Host + OPA_FEATURE_SET=opa10 + ./ff_build.sh /builddir/build/BUILD ../MakeTools/funcs-ext.sh: line 790: [: =: unary operator expected Build target operating system set to LINUX Build target set to X86_64 Setting os version to 4.18.0-348.7.1.el8_5.x86_64 (26=0). + tee build.res + echo Environment: Environment: + env BUILD_TARGET_OS_VERSION= BUILD_PLATFORM_OS_VENDOR_VERSION=ES87 RPM_OS=linux LANG=C HISTCONTROL=ignoredups release_COPT_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 RPM_ARCH=x86_64 HOSTNAME= OLDPWD=/builddir/build/BUILD/opa-ff-10.11.1.3.1 CONFIG_SITE=NONE BUILD_TARGET_OS=LINUX BUILD_ULPS=all TL_DIR=/builddir/build/BUILD/opa-ff-10.11.1.3.1 BUILD_PLATFORM_OS_VENDOR= RPM_PACKAGE_RELEASE=1.el8 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 RPM_BUILD_DIR=/builddir/build/BUILD WIND_BASE=/builddir/build/BUILD/opa-ff-10.11.1.3.1 BUILD_PLATFORM=LINUX RPM_LD_FLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld BUILD_SKIP_ULPS=none which_declare=declare -f BUILD_TARGET_TOOLCHAIN=GNU USER=mockbuild 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 BUILD_TARGET_OS_ID=4.18.0-348.7.1.el8_5.x86_64.ES87-x86_64 RPM_SOURCE_DIR=/builddir/build/SOURCES RELEASE_TAG=10_11_1_3_1 PWD=/builddir/build/BUILD/opa-ff-10.11.1.3.1/OpenIb_Host RPM_PACKAGE_VERSION=10.11.1.3.1 HOME=/builddir PYTHON_DISALLOW_AMBIGUOUS_VERSION=warn BUILD_TARGET_OS_VENDOR=4.18.0-348.7.1.el8_5.x86_64 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/opa-ff-10.11.1.3.1-1.el8.x86_64 BUILD_WITH_STACK=OPENIB release_CCOPT_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 OPA_FEATURE_SET=opa10 WRS_HOST=/builddir/build/BUILD/opa-ff-10.11.1.3.1/host/unix RPM_BUILD_NCPUS=8 BUILD_CONFIG=release MAIL=/var/spool/mail/mockbuild SHELL=/bin/bash TERM=vt100 WRS_BIN=/builddir/build/BUILD/opa-ff-10.11.1.3.1/host/unix/bin BUILD_TARGET=X86_64 RPM_PACKAGE_NAME=opa-ff LDENVFS= RPM_DOC_DIR=/usr/share/doc SHLVL=3 WIND_HOST_TYPE=unix PRODUCT=OPENIB_FF PROMPT_COMMAND=printf "\033]0;\007" LOGNAME=mockbuild PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig 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 BUILD_TARGET_OS_VENDOR_VERSION=ES87 HISTSIZE=1000 LESSOPEN=||/usr/bin/lesspipe.sh %s BASH_FUNC_which%%=() { ( alias; eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ } _=/usr/bin/env + echo ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- + echo + ./rpm_runmake -B release Stack to build for: OPENIB (/usr) Building for X86_64 release Mon May 29 11:58:11 UTC 2023... BUILD_TARGET_OS_VERSION= BUILD_PLATFORM_OS_VENDOR_VERSION=ES87 RPM_OS=linux LANG=C HISTCONTROL=ignoredups release_COPT_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 RPM_ARCH=x86_64 HOSTNAME= OLDPWD=/builddir/build/BUILD/opa-ff-10.11.1.3.1 CONFIG_SITE=NONE BUILD_TARGET_OS=LINUX BUILD_ULPS=all TL_DIR=/builddir/build/BUILD/opa-ff-10.11.1.3.1 RPM_PACKAGE_RELEASE=1.el8 BUILD_PLATFORM_OS_VENDOR= 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 RPM_BUILD_DIR=/builddir/build/BUILD WIND_BASE=/builddir/build/BUILD/opa-ff-10.11.1.3.1 RPM_LD_FLAGS=-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld BUILD_PLATFORM=LINUX BUILD_SKIP_ULPS=none which_declare=declare -f BUILD_TARGET_TOOLCHAIN=GNU USER=mockbuild 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 BUILD_TARGET_OS_ID=4.18.0-348.7.1.el8_5.x86_64.ES87-x86_64 RPM_SOURCE_DIR=/builddir/build/SOURCES RELEASE_TAG=10_11_1_3_1 PWD=/builddir/build/BUILD/opa-ff-10.11.1.3.1/OpenIb_Host RPM_PACKAGE_VERSION=10.11.1.3.1 HOME=/builddir PYTHON_DISALLOW_AMBIGUOUS_VERSION=warn BUILD_TARGET_OS_VENDOR=4.18.0-348.7.1.el8_5.x86_64 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/opa-ff-10.11.1.3.1-1.el8.x86_64 BUILD_WITH_STACK=OPENIB release_CCOPT_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 OPA_FEATURE_SET=opa10 WRS_HOST=/builddir/build/BUILD/opa-ff-10.11.1.3.1/host/unix OFED_STACK_PREFIX=/usr RPM_BUILD_NCPUS=8 BUILD_CONFIG=release MAIL=/var/spool/mail/mockbuild TERM=vt100 SHELL=/bin/bash PROJ_FILE_DIR=OpenIb_Host WRS_BIN=/builddir/build/BUILD/opa-ff-10.11.1.3.1/host/unix/bin RPM_PACKAGE_NAME=opa-ff BUILD_TARGET=X86_64 LDENVFS= RPM_DOC_DIR=/usr/share/doc SHLVL=4 WIND_HOST_TYPE=unix PRODUCT=OPENIB_FF PROMPT_COMMAND=printf "\033]0;\007" LOGNAME=mockbuild PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig 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 HISTSIZE=1000 BUILD_TARGET_OS_VENDOR_VERSION=ES87 LESSOPEN=||/usr/bin/lesspipe.sh %s BASH_FUNC_which%%=() { ( alias; eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ } _=/usr/bin/env /builddir/build/BUILD/opa-ff-10.11.1.3.1/OpenIb_Host/Makerules.project:176: *** BUILD_TARGET_OS_VERSION not defined. Stop. Done LINUX X86_64 Fast Fabric Mon May 29 11:58:11 UTC 2023 ============================================================== Preping Files for LINUX X86_64 Mon May 29 11:58:11 UTC 2023... /builddir/build/BUILD/opa-ff-10.11.1.3.1/OpenIb_Host/Makerules.project:176: *** BUILD_TARGET_OS_VERSION not defined. Stop. + set +x Build Errors: /builddir/build/BUILD/opa-ff-10.11.1.3.1/OpenIb_Host/Makerules.project:176: *** BUILD_TARGET_OS_VERSION not defined. Stop. FAILED Build, errors detected: OPENIB_FF X86_64 release error: Bad exit status from /var/tmp/rpm-tmp.NhFe5S (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.NhFe5S (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/opa-ff.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 598, 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 x86_64 --nodeps /builddir/build/SPECS/opa-ff.spec