Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/mariadb-java-client.spec'], chrootPath='/var/lib/mock/dist-an8.4-build-21925-11603/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/mariadb-java-client.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/mariadb-java-client-2.2.5-3.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/mariadb-java-client.spec'], chrootPath='/var/lib/mock/dist-an8.4-build-21925-11603/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/mariadb-java-client.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.YVR8kY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mariadb-connector-j-2.2.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/2.2.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd mariadb-connector-j-2.2.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + for file in README.md documentation/*.creole + sed -i.orig 's|\r||g' README.md + touch -r README.md.orig README.md + rm README.md.orig + for file in README.md documentation/*.creole + sed -i.orig 's|\r||g' documentation/about-mariadb-connector-j.creole + touch -r documentation/about-mariadb-connector-j.creole.orig documentation/about-mariadb-connector-j.creole + rm documentation/about-mariadb-connector-j.creole.orig + for file in README.md documentation/*.creole + sed -i.orig 's|\r||g' documentation/changelog.creole + touch -r documentation/changelog.creole.orig documentation/changelog.creole + rm documentation/changelog.creole.orig + for file in README.md documentation/*.creole + sed -i.orig 's|\r||g' documentation/developers-guide.creole + touch -r documentation/developers-guide.creole.orig documentation/developers-guide.creole + rm documentation/developers-guide.creole.orig + for file in README.md documentation/*.creole + sed -i.orig 's|\r||g' documentation/failover-and-high-availability-with-mariadb-connector-j.creole + touch -r documentation/failover-and-high-availability-with-mariadb-connector-j.creole.orig documentation/failover-and-high-availability-with-mariadb-connector-j.creole + rm documentation/failover-and-high-availability-with-mariadb-connector-j.creole.orig + for file in README.md documentation/*.creole + sed -i.orig 's|\r||g' documentation/failover_loop.creole + touch -r documentation/failover_loop.creole.orig documentation/failover_loop.creole + rm documentation/failover_loop.creole.orig + for file in README.md documentation/*.creole + sed -i.orig 's|\r||g' documentation/use-batch-multi-send-description.creole + touch -r documentation/use-batch-multi-send-description.creole.orig documentation/use-batch-multi-send-description.creole + rm documentation/use-batch-multi-send-description.creole.orig + for file in README.md documentation/*.creole + sed -i.orig 's|\r||g' documentation/use-mariadb-connector-j-driver.creole + touch -r documentation/use-mariadb-connector-j-driver.creole.orig documentation/use-mariadb-connector-j-driver.creole + rm documentation/use-mariadb-connector-j-driver.creole.orig + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep com.github.waffle:waffle-jna + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep com.zaxxer:HikariCP + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_dep ch.qos.logback:logback-classic + rm -f src/main/java/org/mariadb/jdbc/internal/com/send/gssapi/WindowsNativeSspiAuthentication.java + echo 'Patch #0 (remove_waffle-jna.patch):' Patch #0 (remove_waffle-jna.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/main/java/org/mariadb/jdbc/internal/com/send/SendGssApiAuthPacket.java + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py org.mariadb.jdbc:mariadb-java-client mariadb-java-client + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py org.mariadb.jdbc:mariadb-java-client mariadb:mariadb-connector-java + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-checkstyle-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-source-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.apache.maven.plugins:maven-javadoc-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin org.sonatype.plugins:nexus-staging-maven-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin pl.project13.maven:git-commit-id-plugin + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_remove_plugin -r :maven-gpg-plugin + rm src/main/resources/META-INF/MANIFEST.MF + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_set pom:packaging bundle + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_set 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-jar-plugin'\'']/pom:configuration/pom:archive/pom:manifestFile' '${project.build.outputDirectory}/META-INF/MANIFEST.MF' + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_xpath_remove 'pom:build/pom:plugins/pom:plugin[pom:artifactId='\''maven-jar-plugin'\'']/pom:configuration/pom:archive/pom:manifestEntries' + /usr/libexec/platform-python /usr/share/java-utils/pom_editor.py pom_add_plugin org.apache.felix:maven-bundle-plugin:2.5.4 . ' true ${project.groupId} MariaDB JDBC Client ${project.version}.0 org.mariadb.jdbc.* !com.sun.jna.*, javax.net;resolution:=optional, javax.net.ssl;resolution:=optional, javax.sql;resolution:=optional, javax.transaction.xa;resolution:=optional bundle-manifest process-classes manifest ' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.04OuoZ + umask 022 + cd /builddir/build/BUILD + cd mariadb-connector-j-2.2.5 + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dmaven.test.skip Executing: xmvn --batch-mode --offline -Dmaven.test.skip verify 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', '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.mariadb.jdbc:mariadb-java-client >---------------- [INFO] Building mariadb-java-client 2.2.5 [INFO] -------------------------------[ bundle ]------------------------------- [WARNING] The POM for junit:junit:jar:4.12 is missing, no dependency information available [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping mariadb-java-client [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 0.726 s [INFO] Finished at: 2021-06-21T11:29:24+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal on project mariadb-java-client: Could not resolve dependencies for project org.mariadb.jdbc:mariadb-java-client:bundle:2.2.5: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact junit:junit:jar:4.12 has not been downloaded from it before. -> [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/DependencyResolutionException error: Bad exit status from /var/tmp/rpm-tmp.04OuoZ (%build) Bad exit status from /var/tmp/rpm-tmp.04OuoZ (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/mariadb-java-client.spec