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/wgrib.spec'], chrootPath='/var/lib/mock/f37-build-652601-72763/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/wgrib.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=1658534400 Wrote: /builddir/build/SRPMS/wgrib-1.8.2-8.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wgrib.spec'], chrootPath='/var/lib/mock/f37-build-652601-72763/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/wgrib.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=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.pMZbrV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wgrib-1.8.2 + /usr/bin/mkdir -p wgrib-1.8.2 + cd wgrib-1.8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/wgrib.c.v1.8.2 wgrib.c + cp /builddir/build/SOURCES/Changes . + cp /builddir/build/SOURCES/NOTICE . + cp /builddir/build/SOURCES/double_prec.txt . + cp /builddir/build/SOURCES/formats.txt . + cp /builddir/build/SOURCES/formats_update.txt . + cp /builddir/build/SOURCES/grib2ieee.txt . + cp /builddir/build/SOURCES/misc.txt . + cp /builddir/build/SOURCES/porting.txt . + cp /builddir/build/SOURCES/usertables.txt . + cp /builddir/build/SOURCES/tricks.wgrib . + cp /builddir/build/SOURCES/land.grb . + cp /builddir/build/SOURCES/testbin.c . + cp /builddir/build/SOURCES/testbin.f . Patch #1 (testbin.c.patch): + echo 'Patch #1 (testbin.c.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 --fuzz=0 patching file testbin.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.9CIlZx + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 wgrib-1.8.2 + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -o wgrib wgrib.c wgrib.c: In function 'main': wgrib.c:1063:18: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 1063 | else if (gds && GDS_Harmonic(gds)) | ^~ wgrib.c:1067:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 1067 | if (gds && GDS_Harmonic_type(gds) == 1) | ^~ wgrib.c: In function 'EC_ext': wgrib.c:10862:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 10862 | else | ^~~~ wgrib.c:10863:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 10863 | strcpy(string, "Perturbed forecasts"); break; | ^~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fnTpMb + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 wgrib-1.8.2 + rm -rf /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64 + install -d -m 755 /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/bin + install -m 755 wgrib /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/bin/ + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 1.8.2-8.fc37 --unique-debug-suffix -1.8.2-8.fc37.riscv64 --unique-debug-src-base wgrib-1.8.2-8.fc37.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/wgrib-1.8.2 extracting debug info from /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/bin/wgrib original debug info size: 580kB, size after compression: 576kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1216 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.BtM1Cn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + 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 wgrib-1.8.2 + ./wgrib land.grb -d 1 Using NCEP reanalysis table, see -ncep_opn, -ncep_rean options 1:0:d=87010100:LAND:kpds5=81:kpds6=1:kpds7=0:TR=0:P1=0:P2=0:TimeU=1:sfc:anl:NAve=1 + gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -o testbin testbin.c -lm testbin.c:12:6: warning: return type of 'main' is not 'int' [-Wmain] 12 | void main() { | ^~~~ testbin.c: In function 'main': testbin.c:25:17: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 25 | exit(8); | ^~~~ testbin.c:3:1: note: include '' or provide a declaration of 'exit' 2 | #include +++ |+#include 3 | #define nx 192 testbin.c:25:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 25 | exit(8); | ^~~~ testbin.c:25:17: note: include '' or provide a declaration of 'exit' testbin.c:30:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 30 | exit(8); | ^~~~ testbin.c:30:17: note: include '' or provide a declaration of 'exit' testbin.c:35:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 35 | exit(8); | ^~~~ testbin.c:35:17: note: include '' or provide a declaration of 'exit' testbin.c:41:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 41 | exit(8); | ^~~~ testbin.c:41:25: note: include '' or provide a declaration of 'exit' testbin.c:49:33: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 49 | exit(8); | ^~~~ testbin.c:49:33: note: include '' or provide a declaration of 'exit' testbin.c:58:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 58 | exit(0); | ^~~~ testbin.c:58:9: note: include '' or provide a declaration of 'exit' + ./testbin + diff /builddir/build/SOURCES/testbin.out testbin.out + RPM_EC=0 ++ jobs -p + exit 0 Processing files: wgrib-1.8.2-8.fc37.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KLWH12 + umask 022 + cd /builddir/build/BUILD + cd wgrib-1.8.2 + DOCDIR=/builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/share/doc/wgrib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/share/doc/wgrib + cp -pr Changes /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/share/doc/wgrib + cp -pr double_prec.txt formats.txt formats_update.txt grib2ieee.txt misc.txt porting.txt usertables.txt /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/share/doc/wgrib + cp -pr tricks.wgrib /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/share/doc/wgrib + cp -pr testbin.c testbin.f /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/share/doc/wgrib + cp -pr land.grb /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64/usr/share/doc/wgrib + RPM_EC=0 ++ jobs -p + exit 0 Provides: wgrib = 1.8.2-8.fc37 wgrib(riscv-64) = 1.8.2-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.34)(64bit) rtld(GNU_HASH) Processing files: wgrib-debugsource-1.8.2-8.fc37.riscv64 Provides: wgrib-debugsource = 1.8.2-8.fc37 wgrib-debugsource(riscv-64) = 1.8.2-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: wgrib-debuginfo-1.8.2-8.fc37.riscv64 Provides: debuginfo(build-id) = 072ffed00e00fd89c8ba3d42cc1ea24d795a9597 wgrib-debuginfo = 1.8.2-8.fc37 wgrib-debuginfo(riscv-64) = 1.8.2-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: wgrib-debugsource(riscv-64) = 1.8.2-8.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64 Wrote: /builddir/build/RPMS/wgrib-debuginfo-1.8.2-8.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/wgrib-1.8.2-8.fc37.riscv64.rpm Wrote: /builddir/build/RPMS/wgrib-debugsource-1.8.2-8.fc37.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.LcEcvz + umask 022 + cd /builddir/build/BUILD + cd wgrib-1.8.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/wgrib-1.8.2-8.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.WGVYQc + umask 022 + cd /builddir/build/BUILD + rm -rf wgrib-1.8.2 wgrib-1.8.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0