Mock Version: 2.10 Mock Version: 2.10 Mock Version: 2.10 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/xalan-j2.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611095645-a623df05-build-24092-4486/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 --target noarch --nodeps /builddir/build/SPECS/xalan-j2.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/xalan-j2-2.7.2-2.module+el8.3.0+98+51227653.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/xalan-j2.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611095645-a623df05-build-24092-4486/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 --target noarch --nodeps /builddir/build/SPECS/xalan-j2.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.sctORK + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xalan-j_2_7_2 + /usr/bin/gzip -dc /builddir/build/SOURCES/xalan-j2-2.7.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xalan-j_2_7_2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (xalan-j2-noxsltcdeps.patch):' Patch #0 (xalan-j2-noxsltcdeps.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file build.xml Hunk #1 succeeded at 699 (offset 16 lines). + find . -name '*.jar' -delete + find . -name '*.class' -delete + sed -i '/ for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/xalan-j_2_7_2/src/org/apache/xml/dtm/DTMException.java:360: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] /builddir/build/BUILD/xalan-j_2_7_2/src/org/apache/xml/dtm/DTMException.java:365: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] exception = (Throwable) meth.invoke(exception, 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/xalan-j_2_7_2/src/org/apache/xpath/XPathException.java:270: warning: non-varargs call of varargs method with inexact argument type for last parameter; [javac] Throwable.class.getMethod("getCause",null); [javac] ^ [javac] cast to Class for a varargs call [javac] cast to Class[] for a non-varargs call and to suppress this warning [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 8 warnings xalan-interpretive.compile: [echo] Compiling Xalan interpretive classes [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:414: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 117 source files to /builddir/build/BUILD/xalan-j_2_7_2/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings [copy] Copying 12 files to /builddir/build/BUILD/xalan-j_2_7_2/build/classes [copy] Copying 1 file to /builddir/build/BUILD/xalan-j_2_7_2/build/classes/org/apache/xalan/res xalan-interpretive.jar: [copy] Copying 1 file to /builddir/build/BUILD/xalan-j_2_7_2/build [jar] Building jar: /builddir/build/BUILD/xalan-j_2_7_2/build/xalan-interpretive.jar prepare: [echo] Project:Xalan-Java version:2_7_2 build.xml $Revision: 1581694 $ xsltc.prepare: [echo] Compiling XSLTC utilities [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:460: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 2 source files to /builddir/build/BUILD/xalan-j_2_7_2/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] 4 warnings xsltc.java_cup: xsltc.jlex: serializer.prepare: serializer.compile: [echo] Compiling the Serializer [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:1685: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds serializer.jar: xml.compile: [echo] Compiling DTM implementation and utilities [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:387: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds xsltc.compile: [echo] Compiling remaining XSLTC classes [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:523: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 292 source files to /builddir/build/BUILD/xalan-j_2_7_2/build/classes [javac] warning: [options] bootstrap class path not set in conjunction with -source 6 [javac] warning: [options] source value 6 is obsolete and will be removed in a future release [javac] warning: [options] target value 1.6 is obsolete and will be removed in a future release [javac] warning: [options] To suppress warnings about obsolete options, use -Xlint:-options. [javac] Note: Some input files use or override a deprecated API. [javac] Note: Recompile with -Xlint:deprecation for details. [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. [javac] 4 warnings xsltc.unbundledjar: [copy] Copying 1 file to /builddir/build/BUILD/xalan-j_2_7_2/build [jar] Building jar: /builddir/build/BUILD/xalan-j_2_7_2/build/xsltc.jar prepare: [echo] Project:Xalan-Java version:2_7_2 build.xml $Revision: 1581694 $ serializer.prepare: serializer.compile: [echo] Compiling the Serializer [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:1685: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds serializer.jar: xml.compile: [echo] Compiling DTM implementation and utilities [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:387: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds xalan-interpretive.compile: [echo] Compiling Xalan interpretive classes [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:414: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds xsltc.prepare: [echo] Compiling XSLTC utilities [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:460: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds xsltc.java_cup: xsltc.jlex: xsltc.compile: [echo] Compiling remaining XSLTC classes [javac] /builddir/build/BUILD/xalan-j_2_7_2/build.xml:523: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds jar: [copy] Copying 1 file to /builddir/build/BUILD/xalan-j_2_7_2/build [jar] Building jar: /builddir/build/BUILD/xalan-j_2_7_2/build/xalan.jar prepare.docs.nojardepends: [mkdir] Created dir: /builddir/build/BUILD/xalan-j_2_7_2/build/docs [mkdir] Created dir: /builddir/build/BUILD/xalan-j_2_7_2/build/docs/apidocs [gunzip] Expanding xml-site-style.tar.gz to /builddir/build/BUILD/xalan-j_2_7_2/xdocs/xml-site-style.tar [untar] Expanding: /builddir/build/BUILD/xalan-j_2_7_2/xdocs/xml-site-style.tar into /builddir/build/BUILD/xalan-j_2_7_2/xdocs [delete] Deleting: /builddir/build/BUILD/xalan-j_2_7_2/xdocs/xml-site-style.tar [echo] Transform commits.xml and put the result in ./xdocs [echo] Generate Xalan-J 2.x design document [java] Error: Could not find or load main class org.apache.stylebook.StyleBook [java] Caused by: java.lang.ClassNotFoundException: org.apache.stylebook.StyleBook [java] Java Result: 1 autodocs: [echo] autodocs is for automated build process, without dependencies [java] Error: Could not find or load main class org.apache.stylebook.StyleBook [java] Caused by: java.lang.ClassNotFoundException: org.apache.stylebook.StyleBook [java] Java Result: 1 docs.nojardepends: [echo] docs is human-usable target with dependencies xsltc.prepare.docs: [mkdir] Created dir: /builddir/build/BUILD/xalan-j_2_7_2/build/docs/xsltc xsltc.docs: [echo] Build the XSLTC Architectural documentation [java] Error: Could not find or load main class org.apache.stylebook.StyleBook [java] Caused by: java.lang.ClassNotFoundException: org.apache.stylebook.StyleBook [java] Java Result: 1 [copy] Copying 1 file to /builddir/build/BUILD/xalan-j_2_7_2/build/docs/xsltc [copy] Copying 1 file to /builddir/build/BUILD/xalan-j_2_7_2/build/docs/xsltc docs: BUILD SUCCESSFUL Total time: 6 seconds + jar ufm build/serializer.jar /builddir/build/SOURCES/xalan-j2-serializer-MANIFEST.MF Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Manifest-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. + jar ufm build/xalan-interpretive.jar /builddir/build/SOURCES/xalan-j2-MANIFEST.MF Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Manifest-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Ant-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Created-By. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Main-Class. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Comment. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Specification-Title. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Specification-Vendor. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Specification-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Title. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Vendor. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-URL. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Comment. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Title. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Vendor. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-URL. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Comment. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Title. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Version. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-Vendor. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. Jun 11, 2021 7:48:40 PM java.util.jar.Attributes read WARNING: Duplicate name in Manifest: Implementation-URL. Ensure that the manifest does not have duplicate entries, and that blank lines separate individual sections in both your manifest and in the META-INF/MANIFEST.MF entry in the jar file. + /usr/libexec/platform-python /usr/share/java-utils/mvn_artifact.py /builddir/build/SOURCES/xalan-2.7.2.pom build/xalan-interpretive.jar xmvn-resolve failed: Unhandled exception java.lang.NoClassDefFoundError: javax/xml/bind/JAXBContext at org.fedoraproject.xmvn.tools.resolve.ResolverCli.parseRequests(ResolverCli.java:60) at org.fedoraproject.xmvn.tools.resolve.ResolverCli.run(ResolverCli.java:112) at org.fedoraproject.xmvn.tools.resolve.ResolverCli.main(ResolverCli.java:152) Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBContext at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581) at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178) at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522) ... 3 more error: Bad exit status from /var/tmp/rpm-tmp.S3qz6Q (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.S3qz6Q (%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 -bb --target noarch --nodeps /builddir/build/SPECS/xalan-j2.spec