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 noarch --nodeps /builddir/build/SPECS/tomcatjss.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-127873-8684/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/tomcatjss.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: noarch Building for target noarch Wrote: /builddir/build/SRPMS/tomcatjss-8.4.1-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/tomcatjss.spec'], chrootPath='/var/lib/mock/dist-ocs23-build-127873-8684/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=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/tomcatjss.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: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4Y0zi8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf tomcatjss-8.4.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/tomcatjss-8.4.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd tomcatjss-8.4.1 + /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.kA2XR0 + 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/lib/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/lib/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/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd tomcatjss-8.4.1 + export JAVA_HOME=/usr/lib/jvm/jre-17-openjdk + JAVA_HOME=/usr/lib/jvm/jre-17-openjdk + ./build.sh --name=dogtag-tomcatjss --work-dir=noarch-OpenCloudOS-linux-gnu --version=8.4.1 --jni-dir=/usr/lib/java dist NOTE: Picked up JDK_JAVA_OPTIONS: --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.rmi/sun.rmi.transport=ALL-UNNAMED ant -f /builddir/build/BUILD/tomcatjss-8.4.1/build.xml -Dversion=8.4.1 -Djnidir=/usr/lib/java -Dsrc.dir=tomcat-9.0 -Dbuild.dir=/builddir/build/BUILD/tomcatjss-8.4.1/noarch-OpenCloudOS-linux-gnu compile package Buildfile: /builddir/build/BUILD/tomcatjss-8.4.1/build.xml compile: [mkdir] Created dir: /builddir/build/BUILD/tomcatjss-8.4.1/noarch-OpenCloudOS-linux-gnu/classes [javac] Compiling 8 source files to /builddir/build/BUILD/tomcatjss-8.4.1/noarch-OpenCloudOS-linux-gnu/classes [javac] Note: /builddir/build/BUILD/tomcatjss-8.4.1/tomcat-9.0/src/main/java/org/dogtagpki/tomcat/JSSImplementation.java uses or overrides a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. package: [mkdir] Created dir: /builddir/build/BUILD/tomcatjss-8.4.1/noarch-OpenCloudOS-linux-gnu/jars [jar] Building jar: /builddir/build/BUILD/tomcatjss-8.4.1/noarch-OpenCloudOS-linux-gnu/jars/tomcatjss.jar BUILD SUCCESSFUL Total time: 1 second Build artifacts: - Java archive: /builddir/build/BUILD/tomcatjss-8.4.1/noarch-OpenCloudOS-linux-gnu/jars/tomcatjss.jar To install the build: ./build.sh install To create RPM packages: ./build.sh rpm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ptmqIO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch + cd tomcatjss-8.4.1 + ./build.sh --name=dogtag-tomcatjss --work-dir=noarch-OpenCloudOS-linux-gnu --version=8.4.1 --java-dir=/usr/share/java --doc-dir=/usr/share/doc --install-dir=/builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch install ant -f /builddir/build/BUILD/tomcatjss-8.4.1/build.xml -Dversion=8.4.1 -Dbuild.dir=/builddir/build/BUILD/tomcatjss-8.4.1/noarch-OpenCloudOS-linux-gnu -Dpackage=dogtag-tomcatjss -Dinstall.doc.dir=/builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/doc -Dinstall.jar.dir=/builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/java install Buildfile: /builddir/build/BUILD/tomcatjss-8.4.1/build.xml compile: package: install: [copy] Copying 1 file to /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/doc/dogtag-tomcatjss [copy] Copying 1 file to /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/doc/dogtag-tomcatjss [copy] Copying 1 file to /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/java BUILD SUCCESSFUL Total time: 0 seconds + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 8.4.1-1.ocs23 --unique-debug-suffix -8.4.1-1.ocs23.noarch --unique-debug-src-base tomcatjss-8.4.1-1.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/tomcatjss-8.4.1 + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: dogtag-tomcatjss-8.4.1-1.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.pe1YEZ + umask 022 + cd /builddir/build/BUILD + cd tomcatjss-8.4.1 + DOCDIR=/builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/doc/dogtag-tomcatjss + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/doc/dogtag-tomcatjss + cp -pr README /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/doc/dogtag-tomcatjss + cp -pr LICENSE /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/doc/dogtag-tomcatjss + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.eS8y1y + umask 022 + cd /builddir/build/BUILD + cd tomcatjss-8.4.1 + LICENSEDIR=/builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/licenses/dogtag-tomcatjss + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/licenses/dogtag-tomcatjss + cp -pr LICENSE /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch/usr/share/licenses/dogtag-tomcatjss + RPM_EC=0 ++ jobs -p + exit 0 Provides: dogtag-tomcatjss = 8.4 dogtag-tomcatjss = 8.4.1-1.ocs23 tomcatjss = 8.4 tomcatjss = 8.4.1-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Obsoletes: tomcatjss < 8.4.1-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/tomcatjss-8.4.1-1.ocs23.noarch Wrote: /builddir/build/RPMS/dogtag-tomcatjss-8.4.1-1.ocs23.noarch.rpm Child return code was: 0