Mock Version: 5.2 Mock Version: 5.2 Mock Version: 5.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/sisu.spec'], chrootPath='/var/lib/mock/f39-build-2262763-54517/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target noarch --nodeps /builddir/build/SPECS/sisu.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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689984000 Wrote: /builddir/build/SRPMS/sisu-0.3.5-6.fc39.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/sisu.spec'], chrootPath='/var/lib/mock/f39-build-2262763-54517/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=864000uid=997gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/sisu.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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: noarch Building for target noarch setting SOURCE_DATE_EPOCH=1689984000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Pxvtto + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sisu-0.3.5 + /usr/bin/mkdir -p sisu-0.3.5 + cd sisu-0.3.5 + rm -rf /builddir/build/BUILD/sisu-0.3.5-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sisu-0.3.5-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar xf /builddir/build/SOURCES/org.eclipse.sisu.inject-0.3.5.tar.gz + mv sisu.inject-releases-0.3.5 sisu-inject + tar xf /builddir/build/SOURCES/org.eclipse.sisu.plexus-0.3.5.tar.gz + mv sisu.plexus-releases-0.3.5 sisu-plexus + cp /builddir/build/SOURCES/sisu-parent.pom pom.xml + cp /builddir/build/SOURCES/sisu-inject.pom sisu-inject/pom.xml + cp /builddir/build/SOURCES/sisu-plexus.pom sisu-plexus/pom.xml + echo 'Patch #0 (sisu-OSGi-import-guava.patch):' Patch #0 (sisu-OSGi-import-guava.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sisu-inject/org.eclipse.sisu.inject/META-INF/MANIFEST.MF patching file sisu-inject/org.eclipse.sisu.inject/build.properties Patch #2 (sisu-ignored-tests.patch): + echo 'Patch #2 (sisu-ignored-tests.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sisu-inject/org.eclipse.sisu.inject.tests/src/org/eclipse/sisu/inject/LocatedBeansTest.java Hunk #2 succeeded at 156 (offset -1 lines). patching file sisu-plexus/org.eclipse.sisu.plexus.tests/src/org/eclipse/sisu/plexus/PlexusXmlScannerTest.java Patch #3 (sisu-osgi-api.patch): + echo 'Patch #3 (sisu-osgi-api.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file sisu-plexus/org.eclipse.sisu.plexus/src/org/eclipse/sisu/plexus/PlexusBundlePlan.java Patch #4 (0001-Remove-dependency-on-glassfish-servlet-api.patch): + echo 'Patch #4 (0001-Remove-dependency-on-glassfish-servlet-api.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file sisu-inject/org.eclipse.sisu.inject/src/org/eclipse/sisu/inject/Implementations.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :servlet-api sisu-inject + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set -r /pom:project/pom:version 0.3.5 + /usr/bin/python3 /usr/share/java-utils/mvn_file.py ':{*}' @1 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*{inject,plexus}' + /usr/bin/python3 /usr/share/java-utils/mvn_package.py : __noinstall + /usr/bin/python3 /usr/share/java-utils/mvn_alias.py :org.eclipse.sisu.plexus org.sonatype.sisu:sisu-inject-plexus + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.fpQvwL + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -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 sisu-0.3.5 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc Executing: xmvn --batch-mode --offline verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', 'verify', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] --------------------------------------------------- constituent[0]: file:/usr/share/xmvn/conf/logging/ constituent[1]: file:/usr/share/xmvn/lib/ext/xmvn-api-4.2.0.jar constituent[2]: file:/usr/share/xmvn/lib/ext/xmvn-connector-4.2.0.jar constituent[3]: file:/usr/share/xmvn/lib/ext/xmvn-core-4.2.0.jar constituent[4]: file:/usr/share/xmvn/lib/commons-lang3-3.8.1.jar constituent[5]: file:/usr/share/xmvn/lib/javax.annotation-api-1.2.jar constituent[6]: file:/usr/share/xmvn/lib/maven-builder-support-3.8.6.jar constituent[7]: file:/usr/share/xmvn/lib/maven-resolver-api-1.6.3.jar constituent[8]: file:/usr/share/xmvn/lib/maven-embedder-3.8.6.jar constituent[9]: file:/usr/share/xmvn/lib/guice-4.2.2-no_aop.jar constituent[10]: file:/usr/share/xmvn/lib/maven-artifact-3.8.6.jar constituent[11]: file:/usr/share/xmvn/lib/plexus-interpolation-1.26.jar constituent[12]: file:/usr/share/xmvn/lib/maven-repository-metadata-3.8.6.jar constituent[13]: file:/usr/share/xmvn/lib/javax.inject-1.jar constituent[14]: file:/usr/share/xmvn/lib/maven-model-builder-3.8.6.jar constituent[15]: file:/usr/share/xmvn/lib/jansi-2.4.0.jar constituent[16]: file:/usr/share/xmvn/lib/maven-core-3.8.6.jar constituent[17]: file:/usr/share/xmvn/lib/org.eclipse.sisu.plexus-0.3.5.jar constituent[18]: file:/usr/share/xmvn/lib/maven-compat-3.8.6.jar constituent[19]: file:/usr/share/xmvn/lib/plexus-utils-3.3.1.jar constituent[20]: file:/usr/share/xmvn/lib/plexus-sec-dispatcher-2.0.jar constituent[21]: file:/usr/share/xmvn/lib/wagon-http-3.5.1.jar constituent[22]: file:/usr/share/xmvn/lib/httpcore-4.4.15.jar constituent[23]: file:/usr/share/xmvn/lib/commons-io-2.6.jar constituent[24]: file:/usr/share/xmvn/lib/wagon-file-3.5.1.jar constituent[25]: file:/usr/share/xmvn/lib/failureaccess-1.0.1.jar constituent[26]: file:/usr/share/xmvn/lib/jakarta.inject-api-1.0.jar constituent[27]: file:/usr/share/xmvn/lib/maven-model-3.8.6.jar constituent[28]: file:/usr/share/xmvn/lib/plexus-component-annotations-2.1.0.jar constituent[29]: file:/usr/share/xmvn/lib/maven-settings-3.8.6.jar constituent[30]: file:/usr/share/xmvn/lib/plexus-cipher-2.0.jar constituent[31]: file:/usr/share/xmvn/lib/org.eclipse.sisu.inject-0.3.5.jar constituent[32]: file:/usr/share/xmvn/lib/slf4j-api-1.7.36.jar constituent[33]: file:/usr/share/xmvn/lib/cdi-api-1.1.jar constituent[34]: file:/usr/share/xmvn/lib/maven-resolver-connector-basic-1.6.3.jar constituent[35]: file:/usr/share/xmvn/lib/wagon-provider-api-3.5.1.jar constituent[36]: file:/usr/share/xmvn/lib/commons-codec-1.11.jar constituent[37]: file:/usr/share/xmvn/lib/maven-shared-utils-3.3.4.jar constituent[38]: file:/usr/share/xmvn/lib/jcl-over-slf4j-1.7.36.jar constituent[39]: file:/usr/share/xmvn/lib/maven-settings-builder-3.8.6.jar constituent[40]: file:/usr/share/xmvn/lib/maven-resolver-transport-wagon-1.6.3.jar constituent[41]: file:/usr/share/xmvn/lib/guava-27.1-jre.jar constituent[42]: file:/usr/share/xmvn/lib/maven-resolver-util-1.6.3.jar constituent[43]: file:/usr/share/xmvn/lib/maven-resolver-impl-1.6.3.jar constituent[44]: file:/usr/share/xmvn/lib/maven-plugin-api-3.8.6.jar constituent[45]: file:/usr/share/xmvn/lib/maven-resolver-named-locks-1.7.3.jar constituent[46]: file:/usr/share/xmvn/lib/maven-slf4j-provider-3.8.6.jar constituent[47]: file:/usr/share/xmvn/lib/httpclient-4.5.13.jar constituent[48]: file:/usr/share/xmvn/lib/maven-resolver-provider-3.8.6.jar constituent[49]: file:/usr/share/xmvn/lib/commons-cli-1.4.jar constituent[50]: file:/usr/share/xmvn/lib/maven-resolver-spi-1.6.3.jar constituent[51]: file:/usr/share/xmvn/lib/wagon-http-shared-3.5.1.jar --------------------------------------------------- Exception in thread "main" java.lang.NoClassDefFoundError: com/google/inject/Module at org.apache.maven.cli.MavenCli.container(MavenCli.java:569) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:266) at org.apache.maven.cli.MavenCli.main(MavenCli.java:195) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:568) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347) Caused by: java.lang.ClassNotFoundException: com.google.inject.Module at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) ... 11 more error: Bad exit status from /var/tmp/rpm-tmp.fpQvwL (%build) %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.fpQvwL (%build) RPM build warnings: RPM build errors: Child return code was: 1 EXCEPTION: [Error("Command failed: \n # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/sisu.spec'\n", 1)] Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/mockbuild/util.py", line 597, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c '/usr/bin/rpmbuild -bb --noclean --target noarch --nodeps /builddir/build/SPECS/sisu.spec'