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 noarch --nodeps /builddir/build/SPECS/bsf.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-223131-16804/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/bsf.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/bsf-2.4.0-3.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/bsf.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-223131-16804/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/bsf.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.L8neaO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf bsf-2.4.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bsf-src-2.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bsf-2.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/build-file.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/build.properties.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -name '*.jar' -delete + /usr/bin/python3 /usr/share/java-utils/mvn_file.py : bsf + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py : org.apache.bsf: + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZTeuRx + 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 -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 -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 -fasynchronous-unwind-tables -fstack-clash-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 -fasynchronous-unwind-tables -fstack-clash-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 bsf-2.4.0 ++ build-classpath apache-commons-logging xalan-j2 + export CLASSPATH=/usr/share/java/apache-commons-logging.jar:/usr/share/java/xalan-j2.jar + CLASSPATH=/usr/share/java/apache-commons-logging.jar:/usr/share/java/xalan-j2.jar + ant -Dsource.level=1.7 -Dant.build.javac.target=1.7 jar Buildfile: /builddir/build/BUILD/bsf-2.4.0/build.xml init: prepare: [mkdir] Created dir: /builddir/build/BUILD/bsf-2.4.0/build checkDependencies: checkJacl: [echo] Warning: Jacl dependencies were not resolved. checkJython: [echo] Warning: Jython dependencies were not resolved. checkNetRexx: [echo] Warning: NetRexx dependencies were not resolved. checkRhino: [echo] Warning: Rhino dependencies were not resolved. checkXalan: checkJUnit: [echo] Warning: JUnit dependencies were not resolved. compile: [mkdir] Created dir: /builddir/build/BUILD/bsf-2.4.0/build/classes [javac] /builddir/build/BUILD/bsf-2.4.0/build.xml:219: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 49 source files to /builddir/build/BUILD/bsf-2.4.0/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 7 [javac] warning: [options] source value 7 is obsolete and will be removed in a future release [javac] warning: [options] target value 7 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:23: warning: [removal] AccessController in java.security has been deprecated and marked for removal [javac] import java.security.AccessController; [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/util/CodeBuffer.java:145: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] nextNum = new Integer(0); [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/util/CodeBuffer.java:157: warning: [removal] Integer(int) in Integer has been deprecated and marked for removal [javac] putSymbolIndex(prefix, new Integer(iNextNum + 1)); [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:213: warning: [removal] AccessController in java.security has been deprecated and marked for removal [javac] AccessController.doPrivileged(new PrivilegedExceptionAction() { [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:265: warning: [removal] AccessController in java.security has been deprecated and marked for removal [javac] AccessController.doPrivileged(new PrivilegedExceptionAction() { [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:310: warning: [removal] AccessController in java.security has been deprecated and marked for removal [javac] AccessController.doPrivileged(new PrivilegedExceptionAction() { [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:353: warning: [removal] AccessController in java.security has been deprecated and marked for removal [javac] AccessController.doPrivileged(new PrivilegedExceptionAction() { [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:443: warning: [removal] AccessController in java.security has been deprecated and marked for removal [javac] AccessController.doPrivileged(new PrivilegedExceptionAction() { [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:491: warning: [removal] AccessController in java.security has been deprecated and marked for removal [javac] AccessController.doPrivileged(new PrivilegedExceptionAction() { [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:531: warning: [removal] AccessController in java.security has been deprecated and marked for removal [javac] AccessController.doPrivileged(new PrivilegedExceptionAction() { [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:697: warning: [deprecation] newInstance() in Class has been deprecated [javac] final BSFEngine engf = (BSFEngine) engineClass.newInstance(); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/BSFManager.java:701: warning: [removal] AccessController in java.security has been deprecated and marked for removal [javac] AccessController.doPrivileged(new PrivilegedExceptionAction() { [javac] ^ [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/util/ReflectionUtils.java:97: warning: [deprecation] newInstance() in Class has been deprecated [javac] EventAdapter adapter = (EventAdapter) adapterClass.newInstance (); [javac] ^ [javac] where T is a type-variable: [javac] T extends Object declared in class Class [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/util/ReflectionUtils.java:293: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] propVal = rm.invoke (target, null); [javac] ^ [javac] cast to Object for a varargs call [javac] cast to Object[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/bsf-2.4.0/src/org/apache/bsf/util/type/TypeConvertorRegistry.java:93: warning: [removal] Character(char) in Character has been deprecated and marked for removal [javac] return new Character (str.charAt (0)); [javac] ^ [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 19 warnings jar: [mkdir] Created dir: /builddir/build/BUILD/bsf-2.4.0/build/lib [copy] Copying 2 files to /builddir/build/BUILD/bsf-2.4.0/build/classes [mkdir] Created dir: /builddir/build/BUILD/bsf-2.4.0/build/classes/META-INF [copy] Copying 2 files to /builddir/build/BUILD/bsf-2.4.0/build/classes/META-INF [jar] Building jar: /builddir/build/BUILD/bsf-2.4.0/build/lib/bsf.jar BUILD SUCCESSFUL Total time: 3 seconds + /usr/bin/python3 /usr/share/java-utils/mvn_artifact.py /builddir/build/SOURCES/bsf-pom.xml build/lib/bsf.jar + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.p2l5zK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch ++ dirname /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch + cd bsf-2.4.0 + xmvn-install -R .xmvn-reactor -n bsf -d /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch [INFO] Installing artifact bsf:bsf:pom:2.4.0 [INFO] Installing artifact bsf:bsf:jar:2.4.0 [INFO] Installation successful + jdir=target/site/apidocs + '[' -d .xmvn/apidocs ']' + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/licenses + '[' -d target/site/apidocs ']' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 2.4.0-3.ocs23 --unique-debug-suffix -2.4.0-3.ocs23.noarch --unique-debug-src-base bsf-2.4.0-3.ocs23.noarch -S debugsourcefiles.list /builddir/build/BUILD/bsf-2.4.0 + /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: bsf-2.4.0-3.ocs23.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JK4w1D + umask 022 + cd /builddir/build/BUILD + cd bsf-2.4.0 + DOCDIR=/builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/doc/bsf + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/doc/bsf + cp -pr AUTHORS.txt /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/doc/bsf + cp -pr CHANGES.txt /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/doc/bsf + cp -pr README.txt /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/doc/bsf + cp -pr TODO.txt /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/doc/bsf + cp -pr RELEASE-NOTE.txt /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/doc/bsf + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Vaw4cL + umask 022 + cd /builddir/build/BUILD + cd bsf-2.4.0 + LICENSEDIR=/builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/licenses/bsf + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/licenses/bsf + cp -pr LICENSE.txt /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/licenses/bsf + cp -pr NOTICE.txt /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/licenses/bsf + RPM_EC=0 ++ jobs -p + exit 0 [INFO maven.prov] input: ['/builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/maven-metadata/bsf.xml'] [INFO maven.prov] mvn(bsf:bsf:pom:) = 2.4.0 mvn(org.apache.bsf:bsf:pom:) = 2.4.0, mvn(bsf:bsf) = 2.4.0 mvn(org.apache.bsf:bsf) = 2.4.0 [INFO osgi.prov] input: ['/builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/java/bsf.jar'] [INFO maven.req] input: ['/builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/maven-metadata/bsf.xml'] [INFO maven.req] (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless), mvn(commons-logging:commons-logging), javapackages-filesystem [INFO osgi.req] input: ['/builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch/usr/share/java/bsf.jar'] Provides: bsf = 2.4.0-3.ocs23 mvn(bsf:bsf) = 2.4.0 mvn(bsf:bsf:pom:) = 2.4.0 mvn(org.apache.bsf:bsf) = 2.4.0 mvn(org.apache.bsf:bsf:pom:) = 2.4.0 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (java-headless or java-17-headless or java-11-headless or java-1.8.0-headless) javapackages-filesystem mvn(commons-logging:commons-logging) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/bsf-2.4.0-3.ocs23.noarch Wrote: /builddir/build/RPMS/bsf-2.4.0-3.ocs23.noarch.rpm Child return code was: 0