D: [iurt_root_command] chroot Installing /home/iurt/rpmbuild/SRPMS/spring-ldap-1.3.1-17.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.yBE8hT + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf spring-ldap-1.3.1 + /usr/bin/tar -xof - + /usr/bin/xz -dc /home/iurt/rpmbuild/SOURCES/spring-ldap-1.3.1.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd spring-ldap-1.3.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module test-support + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module test + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_inject pom:project/pom:parent '../../parent/tiger' ldif/ldif-batch + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :cobertura-maven-plugin parent + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_xpath_remove pom:build/pom:extensions parent + echo 'Patch #0 (spring-ldap-remove-ldapbp.patch):' Patch #0 (spring-ldap-remove-ldapbp.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/pom.xml Hunk #1 succeeded at 51 (offset -3 lines). patching file core/src/main/java/org/springframework/ldap/control/PagedResultsCookie.java + echo 'Patch #1 (spring-ldap-use-java-5-to-build-core.patch):' Patch #1 (spring-ldap-use-java-5-to-build-core.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/pom.xml Hunk #1 succeeded at 17 (offset -3 lines). + echo 'Patch #2 (spring-ldap-remove-spring-orm.patch):' Patch #2 (spring-ldap-remove-spring-orm.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/pom.xml Hunk #1 succeeded at 74 (offset -3 lines). patching file core/src/main/java/org/springframework/ldap/transaction/compensating/manager/ContextSourceAndHibernateTransactionManager.java patching file parent/pom.xml Hunk #1 succeeded at 335 (offset 88 lines). + echo 'Patch #3 (spring-ldap-1.3.1-CVE-2017-8028.patch):' Patch #3 (spring-ldap-1.3.1-CVE-2017-8028.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file core/src/main/java/org/springframework/ldap/core/support/DefaultTlsDirContextAuthenticationStrategy.java + find . -name '*.jar' -print -delete ./lib/ldapbp.jar + dos2unix notice.txt dos2unix: converting file notice.txt to Unix format... + dos2unix license.txt dos2unix: converting file license.txt to Unix format... + dos2unix readme.txt dos2unix: converting file readme.txt to Unix format... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.LRBBfV + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd spring-ldap-1.3.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -f -- -Dproject.build.sourceEncoding=UTF-8 Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true -Dproject.build.sourceEncoding=UTF-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', '-Dproject.build.sourceEncoding=UTF-8', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.fedoraproject.xmvn:xmvn-mojo:javadoc', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] Spring LDAP - Parent [pom] [INFO] Spring LDAP - Parent Tiger [pom] [INFO] Spring LDAP Core [jar] [INFO] Spring LDAP Java 5 support [jar] [INFO] Spring LDAP LDIF Core [jar] [INFO] Spring LDAP LDIF Batch [jar] [INFO] Spring LDAP LDIF [pom] [INFO] Spring LDAP ODM [jar] [INFO] Spring LDAP [pom] [INFO] [INFO] ------------< org.springframework.ldap:spring-ldap-parent >------------- [INFO] Building Spring LDAP - Parent 1.3.1.RELEASE [1/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] ---------< org.springframework.ldap:spring-ldap-parent-tiger >---------- [INFO] Building Spring LDAP - Parent Tiger 1.3.1.RELEASE [2/9] [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] -------------< org.springframework.ldap:spring-ldap-core >-------------- [INFO] Building Spring LDAP Core 1.3.1.RELEASE [3/9] [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- javacc-maven-plugin:2.6:javacc (default) @ spring-ldap-core --- Java Compiler Compiler Version 7.0.4 (Parser Generator) (type "javacc" with no arguments for help) Reading from file /home/iurt/rpmbuild/BUILD/spring-ldap-1.3.1/core/src/main/javacc/DnParserImpl.jj . . . Note: UNICODE_INPUT option is specified. Please make sure you create the parser/lexer using a Reader with the correct character encoding. File "TokenMgrError.java" does not exist. Will create one. File "ParseException.java" does not exist. Will create one. File "Token.java" does not exist. Will create one. File "SimpleCharStream.java" does not exist. Will create one. Parser generated successfully. [INFO] Processed 1 grammar [INFO] [INFO] --- maven-resources-plugin:3.2.0:resources (default-resources) @ spring-ldap-core --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] Using 'UTF-8' encoding to copy filtered properties files. [INFO] skip non existing resourceDirectory /home/iurt/rpmbuild/BUILD/spring-ldap-1.3.1/core/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ spring-ldap-core --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 167 source files to /home/iurt/rpmbuild/BUILD/spring-ldap-1.3.1/core/target/classes [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] Source option 5 is no longer supported. Use 6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 or later. [INFO] 2 errors [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping Spring LDAP [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for Spring LDAP 1.3.1.RELEASE: [INFO] [INFO] Spring LDAP - Parent ............................... SUCCESS [ 0.002 s] [INFO] Spring LDAP - Parent Tiger ......................... SUCCESS [ 0.000 s] [INFO] Spring LDAP Core ................................... FAILURE [ 1.302 s] [INFO] Spring LDAP Java 5 support ......................... SKIPPED [INFO] Spring LDAP LDIF Core .............................. SKIPPED [INFO] Spring LDAP LDIF Batch ............................. SKIPPED [INFO] Spring LDAP LDIF ................................... SKIPPED [INFO] Spring LDAP ODM .................................... SKIPPED [INFO] Spring LDAP ........................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1.885 s [INFO] Finished at: 2020-10-09T15:58:23Z [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project spring-ldap-core: Compilation failure: Compilation failure: [ERROR] Source option 5 is no longer supported. Use 6 or later. [ERROR] Target option 1.5 is no longer supported. Use 1.6 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] [ERROR] After correcting the problems, you can resume the build with the command [ERROR] mvn -rf :spring-ldap-core error: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.LRBBfV (%build) RPM build errors: Bad exit status from /home/iurt/rpmbuild/tmp/rpm-tmp.LRBBfV (%build) I: [iurt_root_command] ERROR: chroot