Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/jansi-native.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8040020211110132840-3d27a66e-build-53957-26245/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target loongarch64 --nodeps /builddir/build/SPECS/jansi-native.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: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/jansi-native-1.7-7.module+an8.4.0+10463+4e1fac24.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/jansi-native.spec'], chrootPath='/var/lib/mock/module-javapackages-tools-201801-8040020211110132840-3d27a66e-build-53957-26245/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target loongarch64 --nodeps /builddir/build/SPECS/jansi-native.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: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SdC3xo + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf jansi-native-jansi-native-1.7 + /usr/bin/gzip -dc /builddir/build/SOURCES/jansi-native-1.7.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd jansi-native-jansi-native-1.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/libexec/platform-python /usr/share/java-utils/mvn_alias.py :jansi-linux64 :jansi-linux + /usr/libexec/platform-python /usr/share/java-utils/mvn_file.py :jansi-linux64 jansi-native/jansi-linux64 jansi-native/jansi-linux + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8LmPUY + umask 022 + cd /builddir/build/BUILD + cd jansi-native-jansi-native-1.7 + /usr/libexec/platform-python /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... [WARNING] [WARNING] Some problems were encountered while building the effective model for org.fusesource.jansi:jansi-native:jar:1.7 [WARNING] 'artifactId' contains an expression but should be a constant. @ org.fusesource.jansi:jansi-${platform}:1.7, /builddir/build/BUILD/jansi-native-jansi-native-1.7/pom.xml, line 27, column 15 [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] -----------------< org.fusesource.jansi:jansi-native >------------------ [INFO] Building jansi-native 1.7 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jansi-native --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ jansi-native --- [INFO] Changes detected - recompiling the module! [INFO] Compiling 3 source files to /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/classes [INFO] [INFO] --- maven-bundle-plugin:3.5.0:manifest (bundle-manifest) @ jansi-native --- [INFO] [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ jansi-native --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/test/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:testCompile (default-testCompile) @ jansi-native --- [INFO] No sources to compile [INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ jansi-native --- [INFO] No tests to run. [INFO] [INFO] --- maven-jar-plugin:3.1.0:jar (default-jar) @ jansi-native --- [INFO] Building jar: /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/jansi-native-1.7.jar [INFO] [INFO] -----------------< org.fusesource.jansi:jansi-native >------------------ [INFO] Building jansi-native 1.7 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- xmvn-mojo:3.0.0:install (default-cli) @ jansi-native --- [INFO] [INFO] --- xmvn-mojo:3.0.0:javadoc (default-cli) @ jansi-native --- /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:244: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:317: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:325: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:338: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:355: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:365: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:373: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:387: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:404: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:421: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:434: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:444: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:452: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:762: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:775: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:787: warning - @return tag has no arguments. /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/java/org/fusesource/jansi/internal/Kernel32.java:796: warning - @return tag has no arguments. [INFO] [INFO] --- xmvn-mojo:3.0.0:builddep (default-cli) @ jansi-native --- [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] ------------------------------------------------------------------------ [INFO] Total time: 6.201 s [INFO] Finished at: 2021-11-11T16:13:45+08:00 [INFO] ------------------------------------------------------------------------ -----BEGIN MAVEN BUILD DEPENDENCIES----- H4sIAAAAAAACA52RMW+DMBCF9/yKK7uh2QlRm4mhUxSpq4MP5yJzRsam5N/XNKmgHSy143vvk987 udxPnYER3UCWd9k2f84AubGKWO+y01G8HA91ne2rTfkkBLwGMgoU9sgqYoQDaGR00qOC8w3e30YG ISK9ZqoNwGLcZhkN7Wzoa1VZp/M2DDjY4Bosi2//TknnqZWNj8YCid52ZbGK7ixOHnk+pPrKFzn3 Fz8HpPfIXjYXzFs0NCUWdXJEFufAysRNJmji37P+1rucmF/kh78yJdofhHCBPXX4/+ZrYPKJokee en6l5g//BAqqcklXAgAA -----END MAVEN BUILD DEPENDENCIES----- + /usr/libexec/platform-python /usr/share/java-utils/mvn_build.py --xmvn-javadoc -- -Dplatform=linux64 Executing: xmvn --batch-mode --offline -Dplatform=linux64 verify org.fedoraproject.xmvn:xmvn-mojo:install org.fedoraproject.xmvn:xmvn-mojo:javadoc org.fedoraproject.xmvn:xmvn-mojo:builddep ['xmvn', '--batch-mode', '--offline', '-Dplatform=linux64', '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 org.fusesource.jansi:jansi-linux64:jar:1.7 [WARNING] 'artifactId' contains an expression but should be a constant. @ org.fusesource.jansi:jansi-${platform}:1.7, /builddir/build/BUILD/jansi-native-jansi-native-1.7/pom.xml, line 27, column 15 [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] -----------------< org.fusesource.jansi:jansi-linux64 >----------------- [INFO] Building jansi-linux64 1.7 [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ jansi-linux64 --- [INFO] Using 'UTF-8' encoding to copy filtered resources. [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jansi-native-jansi-native-1.7/src/main/resources [INFO] [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ jansi-linux64 --- [INFO] Nothing to compile - all classes are up to date [INFO] [INFO] --- maven-bundle-plugin:3.5.0:manifest (bundle-manifest) @ jansi-linux64 --- [INFO] [INFO] --- hawtjni-maven-plugin:1.16:generate (default) @ jansi-linux64 --- [INFO] Analyzing classes... [INFO] Generating... [INFO] Wrote: /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/generated-sources/hawtjni/native-src/jansi.c [INFO] Wrote: /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/generated-sources/hawtjni/native-src/jansi_stats.h [INFO] Wrote: /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/generated-sources/hawtjni/native-src/jansi_stats.c [INFO] Wrote: /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/generated-sources/hawtjni/native-src/jansi_structs.h [INFO] Wrote: /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/generated-sources/hawtjni/native-src/jansi_structs.c [INFO] Wrote: /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/generated-sources/hawtjni/native-src/hawtjni.h [INFO] Wrote: /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/generated-sources/hawtjni/native-src/hawtjni.c [INFO] Wrote: /builddir/build/BUILD/jansi-native-jansi-native-1.7/target/generated-sources/hawtjni/native-src/windows/stdint.h [INFO] Done. [INFO] executing: /bin/sh -c './autogen.sh' [INFO] auto reconf... [INFO] Cwd.c: loadable library and perl binaries are mismatched (got handshake key 0xe300080, needed 0xe280080) [INFO] rc: 1 [INFO] [INFO] --- hawtjni-maven-plugin:1.16:build (default) @ jansi-linux64 --- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping jansi-linux64 [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4.897 s [INFO] Finished at: 2021-11-11T16:13:52+08:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.fusesource.hawtjni:hawtjni-maven-plugin:1.16:build (default) on project jansi-linux64: build failed: org.apache.maven.plugin.MojoExecutionException: Requested download does not exist. Cannot access sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots) in offline mode and the artifact org.fusesource.jansi:jansi-linux64:zip:native-src:1.7 has not been downloaded from it before. [ERROR] [ERROR] Try downloading the file manually from the project website. [ERROR] [ERROR] Then, install it using the command: [ERROR] mvn install:install-file -DgroupId=org.fusesource.jansi -DartifactId=jansi-linux64 -Dversion=1.7 -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file [ERROR] [ERROR] Alternatively, if you host your own repository you can deploy the file there: [ERROR] mvn deploy:deploy-file -DgroupId=org.fusesource.jansi -DartifactId=jansi-linux64 -Dversion=1.7 -Dclassifier=native-src -Dpackaging=zip -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] [ERROR] [ERROR] [ERROR] org.fusesource.jansi:jansi-linux64:zip:1.7 [ERROR] [ERROR] from the specified remote repositories: [ERROR] sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots, releases=true, snapshots=true), [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) [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 -----BEGIN MAVEN BUILD DEPENDENCIES----- H4sIAAAAAAACA52RMW+DMBCF9/yKK7uh2QlRm4mhUxSpq4MP5yJzRsam5N/XNKmgHSy143vvk987 udxPnYER3UCWd9k2f84AubGKWO+y01G8HA91ne2rTfkkBLwGMgoU9sgqYoQDaGR00qOC8w3e30YG ISK9ZqoNwGLcZhkN7Wzoa1VZp/M2DDjY4Bosi2//TknnqZWNj8YCid52ZbGK7ixOHnk+pPrKFzn3 Fz8HpPfIXjYXzFs0NCUWdXJEFufAysRNJmji37P+1rucmF/kh78yJdofhHCBPXX4/+ZrYPKJokee en6l5g//BAqqcklXAgAA -----END MAVEN BUILD DEPENDENCIES----- error: Bad exit status from /var/tmp/rpm-tmp.8LmPUY (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.8LmPUY (%build) 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 loongarch64 --nodeps /builddir/build/SPECS/jansi-native.spec