D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch warning: Macro expanded in comment on line 60: %{name}-provider-junit = %{version}-%{release} if junit) warning: Macro expanded in comment on line 61: %{name}-provider-junit5 = %{version}-%{release} if junit5) warning: Macro expanded in comment on line 63: %{name}-provider-testng = %{version}-%{release} if testng) Installing /home/pterjan/rpmbuild/SRPMS/maven-surefire-3.2.2-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.CA7dEc + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + test -d /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.EIi6ud + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + rm -rf surefire-3.2.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/maven-surefire-3.2.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd surefire-3.2.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -p /home/pterjan/rpmbuild/SOURCES/cpl-v10.html . + echo 'Patch #1 (0001-Port-to-TestNG-7.4.0.patch):' Patch #1 (0001-Port-to-TestNG-7.4.0.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file surefire-providers/surefire-testng/pom.xml Hunk #1 succeeded at 55 (offset 1 line). patching file surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/AbstractDirectConfigurator.java patching file surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/conf/TestNGMapConfigurator.java + echo 'Patch #2 (0002-Disable-JUnit-4.8-test-grouping.patch):' Patch #2 (0002-Disable-JUnit-4.8-test-grouping.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file surefire-providers/surefire-junit47/src/main/java/org/apache/maven/surefire/junitcore/JUnitCoreProvider.java patching file surefire-providers/surefire-testng/src/main/java/org/apache/maven/surefire/testng/TestNGExecutor.java + sed -i /-Xdoclint:all/d pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module maven-surefire-report-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module surefire-report-parser + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module surefire-shadefire + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module surefire-grouper + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep org.junit:junit-bom + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :surefire-grouper surefire-providers/common-junit48 + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :surefire-grouper surefire-providers/surefire-testng-utils + rm surefire-providers/common-junit48/src/main/java/org/apache/maven/surefire/common/junit48/FilterFactory.java surefire-providers/common-junit48/src/main/java/org/apache/maven/surefire/common/junit48/GroupMatcherCategoryFilter.java + rm surefire-providers/surefire-testng-utils/src/main/java/org/apache/maven/surefire/testng/utils/GroupMatcherMethodSelector.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r org.apache.maven.surefire:surefire-shadefire + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-help-plugin surefire-its + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :jacoco-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-shade-plugin + find -name '*.java' -exec sed -i -e s/org.apache.maven.surefire.shared.utils/org.apache.maven.shared.utils/ -e s/org.apache.maven.surefire.shared.io/org.apache.commons.io/ -e s/org.apache.maven.surefire.shared.lang3/org.apache.commons.lang3/ -e s/org.apache.maven.surefire.shared.compress/org.apache.commons.compress/ '{}' ';' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :animal-sniffer-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :apache-rat-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-assembly-plugin maven-surefire-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep -r ::::site-source + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IXkJbo + umask 022 + cd /home/pterjan/rpmbuild/BUILD/maven-surefire-3.2.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd surefire-3.2.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*{surefire-plugin}*' @1 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*junit-platform*' junit5 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*{junit,testng,failsafe-plugin}*' @1 + /usr/bin/python3 /usr/share/java-utils/mvn_package.py ':*tests*' __noinstall + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -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'] --------------------------------------------------- constituent[0]: file:/usr/share/xmvn/conf/logging/ constituent[1]: file:/usr/share/xmvn/lib/ext/xmvn-core-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-api-4.2.0.jar constituent[4]: file:/usr/share/xmvn/lib/plexus-interpolation-1.26.jar constituent[5]: file:/usr/share/xmvn/lib/maven-core-3.9.6.jar constituent[6]: file:/usr/share/xmvn/lib/plexus-cipher-2.0.jar constituent[7]: file:/usr/share/xmvn/lib/jcl-over-slf4j-1.7.36.jar constituent[8]: file:/usr/share/xmvn/lib/httpclient-4.5.14.jar constituent[9]: file:/usr/share/xmvn/lib/org.eclipse.sisu.plexus-0.9.0.M2.jar constituent[10]: file:/usr/share/xmvn/lib/maven-embedder-3.9.6.jar constituent[11]: file:/usr/share/xmvn/lib/slf4j-api-1.7.36.jar constituent[12]: file:/usr/share/xmvn/lib/maven-slf4j-provider-3.9.6.jar constituent[13]: file:/usr/share/xmvn/lib/maven-resolver-provider-3.9.6.jar constituent[14]: file:/usr/share/xmvn/lib/javax.inject-1.jar constituent[15]: file:/usr/share/xmvn/lib/jakarta.inject-api-1.0.jar constituent[16]: file:/usr/share/xmvn/lib/failureaccess-1.0.1.jar constituent[17]: file:/usr/share/xmvn/lib/org.eclipse.sisu.inject-0.9.0.M2.jar constituent[18]: file:/usr/share/xmvn/lib/maven-resolver-util-1.9.18.jar constituent[19]: file:/usr/share/xmvn/lib/aopalliance-1.0.jar constituent[20]: file:/usr/share/xmvn/lib/maven-resolver-impl-1.9.18.jar constituent[21]: file:/usr/share/xmvn/lib/wagon-http-3.5.3.jar constituent[22]: file:/usr/share/xmvn/lib/maven-artifact-3.9.6.jar constituent[23]: file:/usr/share/xmvn/lib/maven-repository-metadata-3.9.6.jar constituent[24]: file:/usr/share/xmvn/lib/maven-resolver-named-locks-1.9.18.jar constituent[25]: file:/usr/share/xmvn/lib/maven-resolver-transport-wagon-1.9.18.jar constituent[26]: file:/usr/share/xmvn/lib/maven-compat-3.9.6.jar constituent[27]: file:/usr/share/xmvn/lib/maven-resolver-api-1.9.18.jar constituent[28]: file:/usr/share/xmvn/lib/maven-resolver-connector-basic-1.9.18.jar constituent[29]: file:/usr/share/xmvn/lib/wagon-provider-api-3.5.3.jar constituent[30]: file:/usr/share/xmvn/lib/plexus-component-annotations-2.1.0.jar constituent[31]: file:/usr/share/xmvn/lib/plexus-sec-dispatcher-2.0.jar constituent[32]: file:/usr/share/xmvn/lib/maven-settings-builder-3.9.6.jar constituent[33]: file:/usr/share/xmvn/lib/wagon-http-shared-3.5.3.jar constituent[34]: file:/usr/share/xmvn/lib/guava-32.0.1-jre.jar constituent[35]: file:/usr/share/xmvn/lib/commons-cli-1.5.0.jar constituent[36]: file:/usr/share/xmvn/lib/maven-resolver-spi-1.9.18.jar constituent[37]: file:/usr/share/xmvn/lib/maven-builder-support-3.9.6.jar constituent[38]: file:/usr/share/xmvn/lib/maven-resolver-transport-file-1.9.18.jar constituent[39]: file:/usr/share/xmvn/lib/plexus-utils-3.5.1.jar constituent[40]: file:/usr/share/xmvn/lib/jansi-2.4.0.jar constituent[41]: file:/usr/share/xmvn/lib/maven-plugin-api-3.9.6.jar constituent[42]: file:/usr/share/xmvn/lib/cdi-api-1.1.jar constituent[43]: file:/usr/share/xmvn/lib/commons-codec-1.16.0.jar constituent[44]: file:/usr/share/xmvn/lib/maven-shared-utils-3.3.4.jar constituent[45]: file:/usr/share/xmvn/lib/wagon-file-3.5.3.jar constituent[46]: file:/usr/share/xmvn/lib/commons-lang3-3.12.0.jar constituent[47]: file:/usr/share/xmvn/lib/maven-model-3.9.6.jar constituent[48]: file:/usr/share/xmvn/lib/maven-settings-3.9.6.jar constituent[49]: file:/usr/share/xmvn/lib/javax.annotation-api-1.3.2.jar constituent[50]: file:/usr/share/xmvn/lib/maven-resolver-transport-http-1.9.18.jar constituent[51]: file:/usr/share/xmvn/lib/maven-model-builder-3.9.6.jar constituent[52]: file:/usr/share/xmvn/lib/httpcore-4.4.16.jar constituent[53]: file:/usr/share/xmvn/lib/guice-5.1.0.jar --------------------------------------------------- Exception in thread "main" java.lang.Error: java.lang.ArrayIndexOutOfBoundsException: Index -500 out of bounds for length 608 at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:270) at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:260) at java.base/java.security.AccessController.doPrivileged(AccessController.java:319) at java.base/sun.util.calendar.ZoneInfoFile.loadTZDB(ZoneInfoFile.java:260) at java.base/sun.util.calendar.ZoneInfoFile.(ZoneInfoFile.java:255) at java.base/sun.util.calendar.ZoneInfo.getTimeZone(ZoneInfo.java:574) at java.base/java.util.TimeZone.getTimeZone(TimeZone.java:609) at java.base/java.util.TimeZone.setDefaultZone(TimeZone.java:709) at java.base/java.util.TimeZone.getDefaultRef(TimeZone.java:685) at java.base/java.util.TimeZone.getDefault(TimeZone.java:674) at java.base/java.util.Calendar.defaultTimeZone(Calendar.java:1683) at java.base/java.util.Calendar.getInstance(Calendar.java:1663) at java.base/java.text.SimpleDateFormat.initializeCalendar(SimpleDateFormat.java:680) at java.base/java.text.SimpleDateFormat.(SimpleDateFormat.java:624) at org.eclipse.sisu.plexus.PlexusDateTypeConverter.(PlexusDateTypeConverter.java:36) at org.codehaus.plexus.DefaultPlexusContainer$DefaultsModule.(DefaultPlexusContainer.java:851) at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:147) at org.apache.maven.cli.MavenCli.container(MavenCli.java:648) at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:277) at org.apache.maven.cli.MavenCli.main(MavenCli.java:206) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103) at java.base/java.lang.reflect.Method.invoke(Method.java:580) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:255) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:201) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:361) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:314) Caused by: java.lang.ArrayIndexOutOfBoundsException: Index -500 out of bounds for length 608 at java.base/sun.util.calendar.ZoneInfoFile.load(ZoneInfoFile.java:348) at java.base/sun.util.calendar.ZoneInfoFile$1.run(ZoneInfoFile.java:267) ... 25 more error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IXkJbo (%build) RPM build warnings: Macro expanded in comment on line 60: %{name}-provider-junit = %{version}-%{release} if junit) Macro expanded in comment on line 61: %{name}-provider-junit5 = %{version}-%{release} if junit5) Macro expanded in comment on line 63: %{name}-provider-testng = %{version}-%{release} if testng) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.IXkJbo (%build) I: [iurt_root_command] ERROR: chroot