Mock Version: 2.9 Mock Version: 2.9 Mock Version: 2.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/xbean.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611095645-a623df05-build-24094-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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/xbean.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/xbean-4.8-1.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/xbean.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8030020210611095645-a623df05-build-24094-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=993gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/xbean.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.JXLi0k + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf xbean-4.8 + /usr/bin/unzip -qq /builddir/build/SOURCES/xbean-4.8-source-release.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd xbean-4.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm src/site/site.xml + echo 'Patch #2 (0003-Port-to-QDox-2.0.patch):' Patch #2 (0003-Port-to-QDox-2.0.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pom.xml Hunk #1 succeeded at 299 (offset 2 lines). patching file xbean-blueprint/src/main/java/org/apache/xbean/blueprint/generator/QdoxMappingLoader.java patching file xbean-spring/src/main/java/org/apache/xbean/spring/generator/QdoxMappingLoader.java patching file xbean-spring/src/main/java/org/apache/xbean/spring/generator/Type.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_parent + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep mx4j:mx4j + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r :xbean-asm6-shaded + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep -r :xbean-finder-shaded + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module xbean-asm6-shaded + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module xbean-finder-shaded + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.apache.xbean:xbean-asm-util:4.8 xbean-reflect + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:optional xbean-reflect xbean-asm-util + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:scope[text()="provided"]' xbean-reflect xbean-asm-util ++ find xbean-reflect -name '*.java' + sed -i 's/org\.apache\.xbean\.asm6/org.objectweb.asm/g' xbean-reflect/src/test/java/org/apache/xbean/recipe/ObjectGraphReferenceTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/Widget.java xbean-reflect/src/test/java/org/apache/xbean/recipe/EnumTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/RecipeHelperTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/UnsetPropertiesTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/Person.java xbean-reflect/src/test/java/org/apache/xbean/recipe/HiddenPropertiesTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/GenericCollectionsTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/MatchBytypeTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/PersonFactory.java xbean-reflect/src/test/java/org/apache/xbean/recipe/ObjectGraphNestedTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/ReferenceTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/Parent.java xbean-reflect/src/test/java/org/apache/xbean/recipe/Box.java xbean-reflect/src/test/java/org/apache/xbean/recipe/AsmParameterNameLoaderTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/ArrayRecipeTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/AbstractObjectGraphTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/MixedRecipeTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/MapRecipeTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/MissingPropertiesTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/ExplicitInjectionStyleTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/Child.java xbean-reflect/src/test/java/org/apache/xbean/recipe/ObjectRecipeTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/CaseInsensitivePropertiesTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/CollectionRecipeTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/CollectionTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/ScratchPadTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/XbeanAsmParameterNameLoaderTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/Car.java xbean-reflect/src/test/java/org/apache/xbean/recipe/ParameterNameLoaderTest.java xbean-reflect/src/test/java/org/apache/xbean/recipe/AllPropertiesTest.java xbean-reflect/src/test/java/org/apache/xbean/propertyeditor/DateEditorTest.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ReferenceNameRecipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/AsmParameterNameLoader.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ReferenceRecipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/DefaultRepository.java xbean-reflect/src/main/java/org/apache/xbean/recipe/CollectionRecipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/MissingAccessorException.java xbean-reflect/src/main/java/org/apache/xbean/recipe/AbstractRecipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/UnresolvedReferencesException.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ReflectionUtil.java xbean-reflect/src/main/java/org/apache/xbean/recipe/Recipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/Reference.java xbean-reflect/src/main/java/org/apache/xbean/recipe/XbeanAsmParameterNameLoader.java xbean-reflect/src/main/java/org/apache/xbean/recipe/StaticRecipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/NoSuchObjectException.java xbean-reflect/src/main/java/org/apache/xbean/recipe/RecipeVisitor.java xbean-reflect/src/main/java/org/apache/xbean/recipe/DefaultExecutionContext.java xbean-reflect/src/main/java/org/apache/xbean/recipe/RecipeHelper.java xbean-reflect/src/main/java/org/apache/xbean/recipe/MissingFactoryMethodException.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ParameterNames.java xbean-reflect/src/main/java/org/apache/xbean/recipe/Repository.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ExecutionContext.java xbean-reflect/src/main/java/org/apache/xbean/recipe/MapRecipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/CircularDependencyException.java xbean-reflect/src/main/java/org/apache/xbean/recipe/AllPropertiesRecipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ParameterNameLoader.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ObjectRecipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ArrayRecipe.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ObjectGraph.java xbean-reflect/src/main/java/org/apache/xbean/recipe/ConstructionException.java xbean-reflect/src/main/java/org/apache/xbean/recipe/Option.java xbean-reflect/src/main/java/org/apache/xbean/recipe/UnsetPropertiesRecipe.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/BigDecimalEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/Log4jConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/URIEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/JndiConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/CollectionUtil.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/BigIntegerEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/Converter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/BooleanEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/InetAddressEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/HashMapEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/Inet6AddressEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/ByteEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/PropertyEditors.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/PropertiesEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/GenericCollectionConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/PropertyEditorException.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/ArrayListEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/IntegerEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/URLEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/TreeMapEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/LongEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/ReferenceIdentityMap.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/LinkedHashMapEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/FileEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/AbstractMapConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/ListEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/StringEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/TreeSetEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/SetEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/ObjectNameEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/MapEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/GenericMapConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/ClassEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/SortedMapEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/DateEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/Inet4AddressEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/CharacterEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/CommonsLoggingConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/AbstractCollectionConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/VectorEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/AbstractConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/LoggerConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/FloatEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/HashtableEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/PatternConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/LinkedHashSetEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/ArrayConverter.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/ShortEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/SortedSetEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/DoubleEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/IdentityHashMapEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/LinkedListEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/WeakHashMapEditor.java xbean-reflect/src/main/java/org/apache/xbean/propertyeditor/EnumConverter.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep org.springframework: + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module xbean-classloader + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module xbean-spring + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module maven-xbean-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module xbean-blueprint + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep :xbean-bundleutils xbean-finder + rm -r xbean-finder/src/main/java/org/apache/xbean/finder/BundleAnnotationFinder.java xbean-finder/src/main/java/org/apache/xbean/finder/BundleAssignableClassFinder.java xbean-finder/src/main/java/org/apache/xbean/finder/archive/BundleArchive.java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module xbean-bundleutils + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_disable_module xbean-telnet + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-xbean-plugin xbean-classloader + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin :apache-rat-plugin + sed -i 's|||' xbean-blueprint/pom.xml + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1kDbPf + umask 022 + cd /builddir/build/BUILD + cd xbean-4.8 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true package org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] /usr/share/maven/bin/mvn: line 36: /etc/java/maven.conf: No such file or directory error: Bad exit status from /var/tmp/rpm-tmp.1kDbPf (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1kDbPf (%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/xbean.spec