Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/jline.spec'], chrootPath='/var/lib/mock/f41-build-848922-164552/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/jline.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Wrote: /builddir/build/SRPMS/jline-3.23.0-4.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/jline.spec'], chrootPath='/var/lib/mock/f41-build-848922-164552/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=1209600uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/jline.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: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1706054400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.ocmmpN + umask 022 + cd /builddir/build/BUILD/jline-3.23.0-build + test -d /builddir/build/BUILD/jline-3.23.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/jline-3.23.0-build + /usr/bin/rm -rf /builddir/build/BUILD/jline-3.23.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/jline-3.23.0-build + /usr/bin/mkdir -p /builddir/build/BUILD/jline-3.23.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.cB7XGw + umask 022 + cd /builddir/build/BUILD/jline-3.23.0-build + cd /builddir/build/BUILD/jline-3.23.0-build + rm -rf jline3-jline-parent-3.23.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/jline-parent-3.23.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd jline3-jline-parent-3.23.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/jline-native-arches.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_parent + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module jline + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module demo + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module groovy + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_disable_module graal + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :gmavenplus-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_dep :graal-sdk + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-javadoc-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :maven-release-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :native-image-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_remove_plugin :spotless-maven-plugin + /usr/bin/python3 /usr/share/java-utils/pom_editor.py pom_add_dep org.apiguardian:apiguardian-api:1.1.2:test native + sed -i 's/\(JNI_VERSION_1_\)2/\18/' native/src/main/native/jlinenative.c + rm -fr native/src/main/resources/org/jline/nativ/FreeBSD native/src/main/resources/org/jline/nativ/Mac native/src/main/resources/org/jline/nativ/Windows + rm -fr native/src/main/resources/org/jline/nativ/Linux/arm native/src/main/resources/org/jline/nativ/Linux/arm64 native/src/main/resources/org/jline/nativ/Linux/armv6 native/src/main/resources/org/jline/nativ/Linux/armv7 native/src/main/resources/org/jline/nativ/Linux/ppc64 native/src/main/resources/org/jline/nativ/Linux/x86 native/src/main/resources/org/jline/nativ/Linux/x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Gjla0K + umask 022 + cd /builddir/build/BUILD/jline-3.23.0-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd jline3-jline-parent-3.23.0 + mkdir native/src/main/resources/org/jline/nativ/Linux/riscv64 + cd native/src/main/native + gcc -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -fPIC -fvisibility=hidden -shared -I. -I /usr/lib/jvm/java/include -I /usr/lib/jvm/java/include/linux -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -o ../resources/org/jline/nativ/Linux/riscv64/libjlinenative.so jlinenative.c + cd - /builddir/build/BUILD/jline-3.23.0-build/jline3-jline-parent-3.23.0 + /usr/bin/python3 /usr/share/java-utils/mvn_build.py --xmvn-javadoc -s 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... [INFO] ------------------------------------------------------------------------ [INFO] Reactor Build Order: [INFO] [INFO] JLine Parent [pom] [INFO] JLine Native Library [jar] [INFO] JLine Terminal [jar] [INFO] JLine JNA Terminal [jar] [INFO] JLine JANSI Terminal [jar] [INFO] JLine Reader [jar] [INFO] JLine Style [jar] [INFO] JLine Builtins [jar] [INFO] JLine Console [jar] [INFO] JLine Remote SSH [jar] [INFO] JLine Remote Telnet [jar] [INFO] [INFO] -----------------------< org.jline:jline-parent >----------------------- [INFO] Building JLine Parent 3.23.0 [1/11] [INFO] from pom.xml [INFO] --------------------------------[ pom ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ jline-parent --- [INFO] Rule 0: org.apache.maven.enforcer.rules.version.RequireMavenVersion passed [INFO] [INFO] --- bundle:5.1.9:manifest (default) @ jline-parent --- [WARNING] Ignoring project type pom - supportedProjectTypes = [jar, bundle] [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ jline-parent --- [INFO] [INFO] -----------------------< org.jline:jline-native >----------------------- [INFO] Building JLine Native Library 3.23.0 [2/11] [INFO] from native/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ jline-native --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ jline-native --- [INFO] Copying 1 resource from src/main/resources to target/classes [INFO] Copying 2 resources from src/main/resources to target/classes [INFO] The encoding used to copy filtered properties files have not been set. This means that the same encoding will be used to copy filtered properties files as when copying other filtered resources. This might not be what you want! Run your build with --debug to see which files might be affected. Read more at https://maven.apache.org/plugins/maven-resources-plugin/examples/filtering-properties-files.html [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ jline-native --- [INFO] Recompiling the module because of changed source code. [INFO] Compiling 3 source files with javac [forked debug release 8] to target/classes [INFO] [INFO] --- exec:3.3.0:java (generate-graalvm-info) @ jline-native --- [INFO] [INFO] --- bundle:5.1.9:manifest (default) @ jline-native --- [INFO] No MANIFEST.MF file found, generating manifest. [INFO] Writing manifest: /builddir/build/BUILD/jline-3.23.0-build/jline3-jline-parent-3.23.0/native/target/classes/META-INF/MANIFEST.MF [INFO] [INFO] --- resources:3.3.1:testResources (default-testResources) @ jline-native --- [INFO] skip non existing resourceDirectory /builddir/build/BUILD/jline-3.23.0-build/jline3-jline-parent-3.23.0/native/src/test/resources [INFO] [INFO] --- compiler:3.12.1:testCompile (default-testCompile) @ jline-native --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 2 source files with javac [forked debug release 8] to target/test-classes [INFO] [INFO] --- surefire:3.2.2:test (default-test) @ jline-native --- [INFO] Using auto detected provider org.apache.maven.surefire.junitplatform.JUnitPlatformProvider [INFO] [INFO] ------------------------------------------------------- [INFO] T E S T S [INFO] ------------------------------------------------------- [INFO] Running org.jline.nativ.JLineNativeLoaderTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.497 s -- in org.jline.nativ.JLineNativeLoaderTest [INFO] Running org.jline.nativ.JLineLibraryTest [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.118 s -- in org.jline.nativ.JLineLibraryTest [INFO] [INFO] Results: [INFO] [INFO] Tests run: 2, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] [INFO] --- jar:3.3.0:jar (default-jar) @ jline-native --- [INFO] Building jar: /builddir/build/BUILD/jline-3.23.0-build/jline3-jline-parent-3.23.0/native/target/jline-native-3.23.0.jar [INFO] [INFO] --- source:3.3.0:jar-no-fork (attach-sources) @ jline-native --- [INFO] Building jar: /builddir/build/BUILD/jline-3.23.0-build/jline3-jline-parent-3.23.0/native/target/jline-native-3.23.0-sources.jar [INFO] [INFO] ----------------------< org.jline:jline-terminal >---------------------- [INFO] Building JLine Terminal 3.23.0 [3/11] [INFO] from terminal/pom.xml [INFO] --------------------------------[ jar ]--------------------------------- [INFO] [INFO] --- enforcer:3.4.1:enforce (enforce-maven) @ jline-terminal --- [INFO] [INFO] --- resources:3.3.1:resources (default-resources) @ jline-terminal --- [INFO] Copying 21 resources from src/main/resources to target/classes [INFO] [INFO] --- compiler:3.12.1:compile (default-compile) @ jline-terminal --- [INFO] Recompiling the module because of changed dependency. [INFO] Compiling 58 source files with javac [forked debug release 8] to target/classes [INFO] ------------------------------------------------------------- [WARNING] COMPILATION WARNING : [INFO] ------------------------------------------------------------- [WARNING] /builddir/build/BUILD/jline-3.23.0-build/jline3-jline-parent-3.23.0/terminal/src/main/java/org/jline/terminal/Attributes.java:[141,12] [this-escape] possible 'this' escape before subclass is fully initialized [INFO] 1 warning [INFO] ------------------------------------------------------------- [INFO] ------------------------------------------------------------- [ERROR] COMPILATION ERROR : [INFO] ------------------------------------------------------------- [ERROR] error: warnings found and -Werror specified [INFO] 1 error [INFO] ------------------------------------------------------------- [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Skipping JLine Parent [INFO] This project has been banned from the build due to previous failures. [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for JLine Parent 3.23.0: [INFO] [INFO] JLine Parent ....................................... SUCCESS [ 6.266 s] [INFO] JLine Native Library ............................... SUCCESS [ 35.073 s] [INFO] JLine Terminal ..................................... FAILURE [ 22.074 s] [INFO] JLine JNA Terminal ................................. SKIPPED [INFO] JLine JANSI Terminal ............................... SKIPPED [INFO] JLine Reader ....................................... SKIPPED [INFO] JLine Style ........................................ SKIPPED [INFO] JLine Builtins ..................................... SKIPPED [INFO] JLine Console ...................................... SKIPPED [INFO] JLine Remote SSH ................................... SKIPPED [INFO] JLine Remote Telnet ................................ SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:06 min [INFO] Finished at: 2024-09-19T12:13:59+01:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.12.1:compile (default-compile) on project jline-terminal: Compilation failure [ERROR] error: warnings found and -Werror specified [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 :jline-terminal error: Bad exit status from /var/tmp/rpm-tmp.Gjla0K (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Gjla0K (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/jline.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/jline.spec