Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/sdljava.spec'], chrootPath='/var/lib/mock/f41-build-810737-146831/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 --target riscv64 --nodeps /builddir/build/SPECS/sdljava.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=1708992000 Wrote: /builddir/build/SRPMS/sdljava-0.9.1-62.fc41.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/sdljava.spec'], chrootPath='/var/lib/mock/f41-build-810737-146831/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 --target riscv64 --nodeps /builddir/build/SPECS/sdljava.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=1708992000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9YwPWp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf sdljava-0.9.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/sdljava-0.9.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd sdljava-0.9.1 + rm -rf /builddir/build/BUILD/sdljava-0.9.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/sdljava-0.9.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/sdljava-0.9.1-regen.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/sdljava-0.9.1-ftgl213.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/sdljava-0.9.1-ruby19.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + find -name '*.jar' -or -name '*.class' -or -name '*.bat' -name '*.so' -delete + rm -r etc/build/gljava/windows etc/build/windows + rm src/org/gljava/opengl/ftgl/FTFace.java + iconv -f ISO_8859-2 -t UTF8 docs/CHANGES_0_9_1 + touch -r docs/CHANGES_0_9_1 docs/CHANGES_0_9_1.tmp + mv docs/CHANGES_0_9_1.tmp docs/CHANGES_0_9_1 ++ gcc -print-search-dirs ++ grep install ++ cut -f 2 -d ' ' + GCC_PATH=/usr/lib/gcc/riscv64-redhat-linux/14/ + sed -i s#@GCC_INCLUDE_PATH@#/usr/lib/gcc/riscv64-redhat-linux/14//include#g etc/build/linux/Makefile etc/build/gljava/linux/Makefile etc/build/gljava/linux/ftgl/Makefile + find ./testsrc -name '*.java' + xargs sed -i -e 's|testdata|/usr/share/sdljava/testdata|g' + build-jar-repository -p lib jdom + cp etc/build/linux/Makefile src/sdljava/native + cp etc/build/gljava/linux/Makefile src/org/gljava/opengl/native + cp etc/build/gljava/linux/ftgl/Makefile src/org/gljava/opengl/native/ftgl + rm src/sdljava/native/SDLAudio_wrap.c src/sdljava/native/SDLCdrom_wrap.c src/sdljava/native/SDLEvent_wrap.c src/sdljava/native/SDLGFX_wrap.c src/sdljava/native/SDLImage_wrap.c src/sdljava/native/SDLJoystick_wrap.c src/sdljava/native/SDLMain_wrap.c src/sdljava/native/SDLMixer_wrap.c src/sdljava/native/SDLTTF_wrap.c src/sdljava/native/SDLVideo_wrap.c src/sdljava/native/SDL_types.h + rm src/org/gljava/opengl/native/glew_wrap.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.qs8JB0 + umask 022 + cd /builddir/build/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 ~/build/BUILD/sdljava-0.9.1/src/sdljava/native ~/build/BUILD/sdljava-0.9.1 + 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-errors -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 sdljava-0.9.1 + '[' -z '' ']' + export ARCH_DEFINE=-D__riscv64__ + ARCH_DEFINE=-D__riscv64__ + export JAVA_HOME=/usr/lib/jvm/java + JAVA_HOME=/usr/lib/jvm/java + pushd src/sdljava/native + make 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fno-strict-aliasing -fPIC' swig -I. -I/usr/lib/jvm/java/include -I/usr/lib/jvm/java/include/linux -I/usr/include -I/usr/include/SDL -I/usr/lib/gcc/riscv64-redhat-linux/14//include -D__NO_CTYPE -D_ISbit -D__riscv64__ -importall -java -package sdljava.x.swig -outdir ../x/swig SDLAudio.i /usr/include/SDL/SDL_config.h:76: Error: CPP #error ""The sdl12-compat-devel package is not usable with the architecture."". Use the -cpperraswarn option to continue swig processing. /usr/include/features.h:449: Warning 202: Could not evaluate expression 'defined __cplusplus ? __cplusplus >= 201402L : defined __USE_ISOC11' /usr/include/features.h:449: Warning 202: Syntax error: expected operator /usr/include/features.h:467: Warning 202: Could not evaluate expression '(defined __USE_GNU \ && (defined __cplusplus \ ? (__cplusplus < 201103L && !defined __GXX_EXPERIMENTAL_CXX0X__) \ : (!defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L)))' /usr/include/features.h:467: Warning 202: Syntax error: expected operator /usr/include/sys/cdefs.h:688: Warning 202: Could not evaluate expression '(!defined _Noreturn \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && !(__GNUC_PREREQ (4,7) \ || (3 < __clang_major__ + (5 <= __clang_minor__))))' /usr/include/sys/cdefs.h:688: Warning 202: Syntax error: expected operator /usr/include/sys/cdefs.h:718: Warning 202: Could not evaluate expression '(!defined _Static_assert && !defined __cplusplus \ && (defined __STDC_VERSION__ ? __STDC_VERSION__ : 0) < 201112 \ && (!(__GNUC_PREREQ (4, 6) || __clang_major__ >= 4) \ || defined __STRICT_ANSI__))' /usr/include/sys/cdefs.h:718: Warning 202: Syntax error: expected operator /usr/include/bits/types.h:139: Error: CPP #error "". Use the -cpperraswarn option to continue swig processing. make: *** [Makefile:50: SDLAudio_wrap.c] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.qs8JB0 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qs8JB0 (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/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 riscv64 --nodeps /builddir/build/SPECS/sdljava.spec