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 x86_64 --nodeps /builddir/build/SPECS/jss.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-284371-27513/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=982gid=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/jss.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/jss-5.5.0-1.ocs23.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/jss.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-284371-27513/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=982gid=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/jss.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.APgDbx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jss-5.5.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/v5.5.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jss-5.5.0 + /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.nGZXS4 + 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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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 jss-5.5.0 + export JAVA_HOME=/usr/lib/jvm/jre-17 + JAVA_HOME=/usr/lib/jvm/jre-17 + export BUILD_OPT=1 + BUILD_OPT=1 + export 'CFLAGS=-g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CFLAGS='-g -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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + modutil -dbdir /etc/pki/nssdb -chkfips true + grep -q enabled + ./build.sh --work-dir=x86_64-OpenCloudOS-linux-gnu --prefix-dir=/usr --include-dir=/usr/include --lib-dir=/usr/lib64 --sysconf-dir=/etc --share-dir=/usr/share --cmake=/usr/bin/cmake --java-home=/usr/lib/jvm/jre-17 --jni-dir=/usr/lib/java --version=5.5.0 dist CMake Warning (dev) at CMakeLists.txt:2 (project): cmake_minimum_required() should be called prior to this top-level project() call. Please see the cmake-commands(7) manual for usage documentation of both commands. This warning is for project developers. Use -Wno-dev to suppress it. -- 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 -- Found PkgConfig: /usr/bin/pkg-config (found version "1.9.5") -- Checking for module 'nspr' -- Found nspr, version 4.35.0 -- Found NSPR: /usr/lib64 -- Checking for module 'nss' -- Found nss, version 3.93 -- Found NSS: /usr/lib64 -- Found Java: /usr/lib/jvm/java-17-konajdk-17.0.11-1.ocs23/bin/java (found version "17.0.11") -- Found JNI: /usr/lib/jvm/java-17-konajdk-17.0.11-1.ocs23/include found components: AWT JVM -- Performing Test HAVE_C_FLAG -- Performing Test HAVE_C_FLAG - Success -- JSS C FLAGS: -fcf-protection;-fstack-clash-protection;-fasynchronous-unwind-tables;-mtune=generic;-march=x86-64-v2;-m64;-fstack-protector-strong;-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1;-Wp,-D_GLIBCXX_ASSERTIONS;-Wp,-D_FORTIFY_SOURCE=2;-Werror=format-security;-Wall;-pipe;-grecord-gcc-switches;-g;-fexceptions;-ffat-lto-objects;-flto=auto;-O2;-g;-O2;-Wall;-std=gnu99;-Wno-cast-function-type;-Wno-unused-parameter;-Wno-unknown-warning-option;-Wno-unused-but-set-variable;-Werror-implicit-function-declaration;-Wno-switch;-I/builddir/build/BUILD/jss-5.5.0/x86_64-OpenCloudOS-linux-gnu/include/jss;-I/usr/lib/jvm/java-17-konajdk-17.0.11-1.ocs23/include;-I/usr/lib/jvm/java-17-konajdk-17.0.11-1.ocs23/include/linux;-I/usr/lib/jvm/java-17-konajdk-17.0.11-1.ocs23/include;-I/usr/include/nspr4;-I/usr/include/nss3;-L/usr/lib64;-L/usr/lib64 -- JSS LD FLAGS: -Wl,--build-id=sha1;-specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld;-Wl,-z,now;-Wl,--as-needed;-Wl,-z,relro;-lsmime3;-lssl3;-lnss3;-lnssutil3;-lplc4;-lplds4;-lnspr4;-lpthread;-ldl -- JSS LIBRARY FLAGS: -shared;-Wl,-z,defs;-Wl,-soname;-Wl,libjss.so -- javac classpath: /usr/share/java/slf4j/api.jar:/usr/share/java/apache-commons-lang3.jar -- JSS JAVAC FLAGS: -classpath;/usr/share/java/slf4j/api.jar:/usr/share/java/apache-commons-lang3.jar;-sourcepath;/builddir/build/BUILD/jss-5.5.0/base/src/main/java;-target;17;-source;17;-O CMake Error at cmake/JSSConfig.cmake:457 (message): Test dependency JUnit 5 API not found by find_jar! Tests will not compile. Call Stack (most recent call first): cmake/JSSConfig.cmake:20 (jss_config_tests) CMakeLists.txt:84 (jss_config) -- Configuring incomplete, errors occurred! error: Bad exit status from /var/tmp/rpm-tmp.nGZXS4 (%build) Bad exit status from /var/tmp/rpm-tmp.nGZXS4 (%build) RPM build errors: 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/jss.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/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 x86_64 --nodeps /builddir/build/SPECS/jss.spec