D: [iurt_root_command] chroot [WARNING] Deprecated %add_maven_depmap macro is used. Please use %mvn_artifact and %mvn_install instead. Installing /home/pterjan/rpmbuild/SRPMS/apache-mina1-1.1.7-10.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.cJQ8Dm + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf mina-1.1.7 + /usr/bin/bzip2 -dc /home/pterjan/rpmbuild/SOURCES/mina-1.1.7.tar.bz2 + /usr/bin/tar -xof - /usr/bin/tar: A lone zero block at 29886 + STATUS=0 + '[' 0 -ne 0 ']' + cd mina-1.1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (apache-mina-1.1.7-build-core-only.patch):' Patch #0 (apache-mina-1.1.7-build-core-only.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file pom.xml + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-source-plugin + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dgJr8L + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd mina-1.1.7 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/python3 /usr/share/java-utils/mvn_build.py -f Executing: xmvn --batch-mode --offline -Dmaven.test.skip=true package org.fedoraproject.xmvn:xmvn-mojo:install org.apache.maven.plugins:maven-javadoc-plugin:aggregate org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dmaven.test.skip=true', 'package', 'org.fedoraproject.xmvn:xmvn-mojo:install', 'org.apache.maven.plugins:maven-javadoc-plugin:aggregate', 'org.fedoraproject.xmvn:xmvn-mojo:builddep'] [INFO] Scanning for projects... [ERROR] [ERROR] Some problems were encountered while processing the POMs: [FATAL] Non-resolvable parent POM for org.apache.mina:build:1.1.7: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache:apache:pom:3 has not been downloaded from it before. and 'parent.relativePath' points at wrong local POM @ line 4, column 11 @ [ERROR] The build could not read 1 project -> [Help 1] [ERROR] [ERROR] The project org.apache.mina:build:1.1.7 (/home/pterjan/rpmbuild/BUILD/mina-1.1.7/pom.xml) has 1 error [ERROR] Non-resolvable parent POM for org.apache.mina:build:1.1.7: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache:apache:pom:3 has not been downloaded from it before. and 'parent.relativePath' points at wrong local POM @ line 4, column 11 -> [Help 2] [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/ProjectBuildingException [ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dgJr8L (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.dgJr8L (%build) I: [iurt_root_command] ERROR: chroot