D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
sh: line 4: [: -j8: integer expression expected
sh: line 4: [: -j8: integer expression expected
Installing /home/pterjan/rpmbuild/SRPMS/jboss-annotations-1.2-api-1.0.2-4.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WuXfew
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build
+ test -d /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Bu91Eh
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build
+ rm -rf jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-1.0.2.Final
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/jboss-annotations-api_1.2_spec-1.0.2.Final.tar.gz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-1.0.2.Final
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ cp /home/pterjan/rpmbuild/SOURCES/cddl.txt .
+ /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-source-plugin
+ RPM_EC=0
++ jobs -p
+ exit 0
sh: line 4: [: -j8: integer expression expected
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.THcjxx
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build
+ cd jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-1.0.2.Final
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /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']
[INFO] Scanning for projects...
[INFO] 
[INFO] ---< org.jboss.spec.javax.annotation:jboss-annotations-api_1.2_spec >---
[INFO] Building Common Annotations 1.2 API 1.0.2.Final
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO] 
[INFO] --- buildnumber:1.3:create (get-scm-revision) @ jboss-annotations-api_1.2_spec ---
[INFO] maven is executed in offline mode, Updating project files from SCM: skipped.
[INFO] Executing: /bin/sh -c cd '/home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build/jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-1.0.2.Final' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build/jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-1.0.2.Final
[WARNING] Cannot get the revision information from the scm repository, proceeding with revision of UNKNOWN : 
Exception while executing SCM command.
[INFO] Storing buildNumber: UNKNOWN at timestamp: 1734807882333
[WARNING] Cannot get the branch information from the git repository: 
Error while executing command.
[INFO] Executing: /bin/sh -c cd '/home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build/jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-1.0.2.Final' && 'git' 'rev-parse' '--verify' 'HEAD'
[INFO] Working directory: /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build/jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-1.0.2.Final
[WARNING] Cannot get the branch information from the scm repository, proceeding with UNKNOWN_BRANCH : 
Exception while executing SCM command.
[INFO] Storing buildScmBranch: UNKNOWN_BRANCH
[INFO] 
[INFO] --- resources:3.3.1:resources (default-resources) @ jboss-annotations-api_1.2_spec ---
[INFO] skip non existing resourceDirectory /home/pterjan/rpmbuild/BUILD/jboss-annotations-1.2-api-1.0.2-build/jboss-annotations-api_spec-jboss-annotations-api_1.2_spec-1.0.2.Final/src/main/resources
[INFO] 
[INFO] --- resources:3.3.1:copy-resources (copy-resources) @ jboss-annotations-api_1.2_spec ---
[INFO] Copying 2 resources from  to target/classes/META-INF
[INFO] 
[INFO] --- compiler:3.12.1:compile (default-compile) @ jboss-annotations-api_1.2_spec ---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 14 source files with javac [debug deprecation target 1.7] to target/classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING : 
[INFO] -------------------------------------------------------------
[WARNING] bootstrap class path not set in conjunction with -source 7
[INFO] 1 warning
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Source option 7 is no longer supported. Use 8 or later.
[ERROR] Target option 7 is no longer supported. Use 8 or later.
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] 
[INFO] ------------------------------------------------------------------------
[INFO] Skipping Common Annotations 1.2 API
[INFO] This project has been banned from the build due to previous failures.
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.803 s
[INFO] Finished at: 2024-12-21T19:04:42Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project jboss-annotations-api_1.2_spec: Compilation failure: Compilation failure: 
[ERROR] Source option 7 is no longer supported. Use 8 or later.
[ERROR] Target option 7 is no longer supported. Use 8 or later.
[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 /home/pterjan/rpmbuild/tmp/rpm-tmp.THcjxx (%build)

RPM build errors:
    Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.THcjxx (%build)
I: [iurt_root_command] ERROR: chroot