D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/json-lib-2.4-12.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.0nfKzK + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf json-lib-2.4 + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/json-lib-2.4.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd json-lib-2.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + tar xf /home/iurt/rpmbuild/SOURCES/jenkins-json-lib-2.4.tar.xz + echo 'Patch #0 (json-lib-2.4-antrun-plugin.patch):' Patch #0 (json-lib-2.4-antrun-plugin.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pom.xml + find -name '*.jar' -delete + find -name '*.class' -delete + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:project/pom:dependencies/pom:dependency[pom:groupId = '\''org.codehaus.groovy'\'']/pom:artifactId' groovy + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-compiler-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :gmaven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:prerequisites + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:project/pom:reporting + rm -r src/main/jdk15/net/sf/json/JSONArray.java src/main/jdk15/net/sf/json/JSONObject.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.maven.plugins:maven-javadoc-plugin . ' UTF-8 UTF-8 ${basedir}/src/main ' + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :commons-httpclient + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep org.codehaus.groovy:groovy org.codehaus.groovy:groovy18:1.8 + cp /home/iurt/rpmbuild/SOURCES/json-lib-2.4-jenkins-3.pom jenkins-json-lib-2.4/pom.xml + pushd jenkins-json-lib-2.4 ~/rpmbuild/BUILD/json-lib-2.4/jenkins-json-lib-2.4 ~/rpmbuild/BUILD/json-lib-2.4 + echo 'Patch #100 (json-lib-2.4-Use-Jenkins-default-values.patch):' Patch #100 (json-lib-2.4-Use-Jenkins-default-values.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/net/sf/json/JsonConfig.java patching file src/main/java/net/sf/json/xml/XMLSerializer.java + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_change_dep org.codehaus.groovy:groovy-all org.codehaus.groovy:groovy18-all:1.8 + /usr/bin/python3 /usr/share/java-utils/mvn_file.py org.kohsuke.stapler:json-lib jenkins-json-lib + /usr/bin/python3 /usr/share/java-utils/mvn_package.py org.kohsuke.stapler:json-lib jenkins-json-lib + popd ~/rpmbuild/BUILD/json-lib-2.4 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.DOR35I + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd json-lib-2.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_file.py : json-lib + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dproject.build.sourceEncoding=UTF-8 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dproject.build.sourceEncoding=UTF-8', 'verify', '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 net.sf.json-lib:json-lib:jar:2.4 [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-site-plugin is missing. @ line 255, column 18 [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] ----------------------< net.sf.json-lib:json-lib >---------------------- [INFO] Building json-lib 2.4 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-antrun-plugin:1.8:run (compile) @ json-lib --- [INFO] Executing tasks main: [mkdir] Created dir: /home/iurt/rpmbuild/BUILD/json-lib-2.4/target/classes [groovyc] Compiling 53 source files to /home/iurt/rpmbuild/BUILD/json-lib-2.4/target/classes WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass$3$1 (file:/usr/share/java/groovy-1.8.jar) to method java.lang.Object.finalize() WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass$3$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release [groovyc] org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: [groovyc] Invalid commandline usage for javac. [groovyc] warning: [options] bootstrap class path not set in conjunction with -source 5 [groovyc] error: Source option 5 is no longer supported. Use 6 or later. [groovyc] error: Target option 1.5 is no longer supported. Use 1.6 or later. [groovyc] [groovyc] [groovyc] 1 error [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping json-lib [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 3.406 s [INFO] Finished at: 2020-08-21T23:53:29Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.8:run (compile) on project json-lib: An Ant BuildException has occured: Compilation Failed [ERROR] around Ant part ...... @ 8:172 in /home/iurt/rpmbuild/BUILD/json-lib-2.4/target/antrun/build-main.xml: startup failed: [ERROR] Invalid commandline usage for javac. [ERROR] warning: [options] bootstrap class path not set in conjunction with -source 5 [ERROR] error: Source option 5 is no longer supported. Use 6 or later. [ERROR] error: Target option 1.5 is no longer supported. Use 1.6 or later. [ERROR] [ERROR] [ERROR] 1 error [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/MojoExecutionException error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.DOR35I (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.DOR35I (%build) I: [iurt_root_command] ERROR: chroot