Mock Version: 4.1 Mock Version: 4.1 Mock Version: 4.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/wgrib.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-157646-9986/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --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: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/wgrib-1.8.5-1.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/wgrib.spec'], chrootPath='/var/lib/mock/dist-ocs23-epol9-build-157646-9986/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=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --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: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jJWh0G + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf wgrib-1.8.5 + /usr/bin/mkdir -p wgrib-1.8.5 + cd wgrib-1.8.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp /builddir/build/SOURCES/wgrib.c.v1.8.5 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 #0 (wgrib-c99.patch): + echo 'Patch #0 (wgrib-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .c99 --fuzz=0 patching file ./testbin.c patching file ./testbin.c Hunk #1 succeeded at 10 (offset 1 line). + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d7PIwJ + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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.5 + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -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:10865:17: warning: this 'else' clause does not guard... [-Wmisleading-indentation] 10865 | else | ^~~~ wgrib.c:10866:60: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' 10866 | strcpy(string, "Perturbed forecasts"); break; | ^~~~~ + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.5xCHGN + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64 ++ dirname /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64 + cd wgrib-1.8.5 + install -d -m 755 /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64/usr/bin + install -m 755 wgrib /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64/usr/bin/ + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 1.8.5-1.ocs23 --unique-debug-suffix -1.8.5-1.ocs23.x86_64 --unique-debug-src-base wgrib-1.8.5-1.ocs23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/wgrib-1.8.5 extracting debug info from /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64/usr/bin/wgrib 1216 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.DAUg3O + 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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + 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.5 + ./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/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -o testbin testbin.c -lm + ./testbin + diff /builddir/build/SOURCES/testbin.out testbin.out + RPM_EC=0 ++ jobs -p + exit 0 Processing files: wgrib-1.8.5-1.ocs23.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.IvRlPw + umask 022 + cd /builddir/build/BUILD + cd wgrib-1.8.5 + DOCDIR=/builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64/usr/share/doc/wgrib + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64/usr/share/doc/wgrib + cp -pr Changes /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64/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.5-1.ocs23.x86_64/usr/share/doc/wgrib + cp -pr tricks.wgrib /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64/usr/share/doc/wgrib + cp -pr testbin.c testbin.f /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64/usr/share/doc/wgrib + cp -pr land.grb /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64/usr/share/doc/wgrib + RPM_EC=0 ++ jobs -p + exit 0 Provides: wgrib = 1.8.5-1.ocs23 wgrib(x86-64) = 1.8.5-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) rtld(GNU_HASH) Processing files: wgrib-debugsource-1.8.5-1.ocs23.x86_64 Provides: wgrib-debugsource = 1.8.5-1.ocs23 wgrib-debugsource(x86-64) = 1.8.5-1.ocs23 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.5-1.ocs23.x86_64 Provides: debuginfo(build-id) = c254240db20420827eec79e5a8def7a98cd4ee3c wgrib-debuginfo = 1.8.5-1.ocs23 wgrib-debuginfo(x86-64) = 1.8.5-1.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: wgrib-debugsource(x86-64) = 1.8.5-1.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/wgrib-1.8.5-1.ocs23.x86_64 Wrote: /builddir/build/RPMS/wgrib-debuginfo-1.8.5-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/wgrib-debugsource-1.8.5-1.ocs23.x86_64.rpm Wrote: /builddir/build/RPMS/wgrib-1.8.5-1.ocs23.x86_64.rpm Child return code was: 0