Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/osgi-compendium.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619051254-a78e116a-build-8862-1300/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/osgi-compendium.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/osgi-compendium-7.0.0-4.module+oc8.5.0+73+10426fc9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/osgi-compendium.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201902-8050020220619051254-a78e116a-build-8862-1300/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=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/osgi-compendium.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.gOEHg0 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf osgi-compendium-7.0.0 + /usr/bin/mkdir -p osgi-compendium-7.0.0 + cd osgi-compendium-7.0.0 + /usr/bin/unzip -qq /builddir/build/SOURCES/osgi.cmpn-7.0.0.jar + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -r org + find -name '*.class' -delete + mkdir -p src/main/java src/main/resources + mv OSGI-OPT/src/org src/main/java/ + mv xmlns src/main/resources + rm -r src/main/java/org/osgi/service/io + mv META-INF/maven/org.osgi/osgi.cmpn/pom.xml . + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project ' bundle UTF-8 org.apache.felix maven-bundle-plugin true ${project.artifactId} ${project.artifactId} ' + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.osgi:osgi.annotation::provided + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep org.osgi:osgi.core::provided + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_dep javax.servlet:javax.servlet-api::provided + rm -r src/main/java/org/osgi/service/jaxrs + rm -r src/main/java/org/osgi/service/jpa + rm -r src/main/java/org/osgi/service/transaction/control/jpa + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.tJF83Z + umask 022 + cd /builddir/build/BUILD + cd osgi-compendium-7.0.0 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -- -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Dmaven.compiler.source=1.8 -Dmaven.compiler.target=1.8 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', '-Dmaven.compiler.source=1.8', '-Dmaven.compiler.target=1.8', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.osgi:osgi.cmpn:bundle:7.0.0 [WARNING] 'build.plugins.plugin.version' for org.apache.felix:maven-bundle-plugin is missing. @ line 37, column 15 [WARNING] [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build. [WARNING] [WARNING] For this reason, future Maven versions might no longer support building such malformed projects. [WARNING] [INFO] [INFO] -------------------------< org.osgi:osgi.cmpn >------------------------- [INFO] Building org.osgi:osgi.cmpn 7.0.0 [INFO] -------------------------------[ bundle ]------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ osgi.cmpn --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Copying 16 resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ osgi.cmpn --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 442 source files to /builddir/build/BUILD/osgi-compendium-7.0.0/target/classes [INFO] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/application/ApplicationDescriptor.java: Some input files use unchecked or unsafe operations. [INFO] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/application/ApplicationDescriptor.java: Recompile with -Xlint:unchecked for details. [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/http/whiteboard/annotations/RequireHttpWhiteboard.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/http/whiteboard/annotations/RequireHttpWhiteboard.java:[44,2] cannot find symbol symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/event/annotations/RequireEventAdmin.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/event/annotations/RequireEventAdmin.java:[45,2] cannot find symbol symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/ObjectClassDefinition.java:[24,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/ObjectClassDefinition.java:[25,46] package org.osgi.annotation.bundle.Requirement does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/ObjectClassDefinition.java:[50,2] cannot find symbol symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/configurator/annotations/RequireConfigurator.java:[24,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/configurator/annotations/RequireConfigurator.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/configurator/annotations/RequireConfigurator.java:[43,2] cannot find symbol symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/cm/annotations/RequireConfigurationAdmin.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/cm/annotations/RequireConfigurationAdmin.java:[41,2] cannot find symbol symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/RequireMetaTypeExtender.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/RequireMetaTypeExtender.java:[41,2] cannot find symbol symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/component/annotations/RequireServiceComponentRuntime.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/component/annotations/RequireServiceComponentRuntime.java:[42,2] cannot find symbol symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/RequireMetaTypeImplementation.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/RequireMetaTypeImplementation.java:[41,2] cannot find symbol symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/configurator/annotations/RequireConfigurator.java:[57,10] cannot find symbol symbol: class Attribute location: @interface org.osgi.service.configurator.annotations.RequireConfigurator [INFO] 19 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping org.osgi:osgi.cmpn [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.752 s [INFO] Finished at: 2022-06-19T15:11:23+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project osgi.cmpn: Compilation failure: Compilation failure: [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/http/whiteboard/annotations/RequireHttpWhiteboard.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/http/whiteboard/annotations/RequireHttpWhiteboard.java:[44,2] cannot find symbol [ERROR] symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/event/annotations/RequireEventAdmin.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/event/annotations/RequireEventAdmin.java:[45,2] cannot find symbol [ERROR] symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/ObjectClassDefinition.java:[24,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/ObjectClassDefinition.java:[25,46] package org.osgi.annotation.bundle.Requirement does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/ObjectClassDefinition.java:[50,2] cannot find symbol [ERROR] symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/configurator/annotations/RequireConfigurator.java:[24,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/configurator/annotations/RequireConfigurator.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/configurator/annotations/RequireConfigurator.java:[43,2] cannot find symbol [ERROR] symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/cm/annotations/RequireConfigurationAdmin.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/cm/annotations/RequireConfigurationAdmin.java:[41,2] cannot find symbol [ERROR] symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/RequireMetaTypeExtender.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/RequireMetaTypeExtender.java:[41,2] cannot find symbol [ERROR] symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/component/annotations/RequireServiceComponentRuntime.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/component/annotations/RequireServiceComponentRuntime.java:[42,2] cannot find symbol [ERROR] symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/RequireMetaTypeImplementation.java:[25,34] package org.osgi.annotation.bundle does not exist [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/metatype/annotations/RequireMetaTypeImplementation.java:[41,2] cannot find symbol [ERROR] symbol: class Requirement [ERROR] /builddir/build/BUILD/osgi-compendium-7.0.0/src/main/java/org/osgi/service/configurator/annotations/RequireConfigurator.java:[57,10] cannot find symbol [ERROR] symbol: class Attribute [ERROR] location: @interface org.osgi.service.configurator.annotations.RequireConfigurator [ERROR] -> [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please read the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException error: Bad exit status from /var/tmp/rpm-tmp.tJF83Z (%build) Bad exit status from /var/tmp/rpm-tmp.tJF83Z (%build) RPM build errors: 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 598, 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/osgi-compendium.spec