Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/octave-netcdf.spec'], chrootPath='/var/lib/mock/866360-fedora-rawhide-x86_64-1552237555.534253/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tmbf23s2:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'a6af57773ef5480bb365c3450ebed26f', '-D', '/var/lib/mock/866360-fedora-rawhide-x86_64-1552237555.534253/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tmbf23s2:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/octave-netcdf.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': 'en_US.UTF-8'} and shell False BUILDSTDERR: warning: line 14: Possible unexpanded macro in: Requires: octave(api) = %{octave_api} Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/octave-netcdf-1.0.12-5.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/octave-netcdf.spec'], chrootPath='/var/lib/mock/866360-fedora-rawhide-x86_64-1552237555.534253/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': 'en_US.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tmbf23s2:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0bbaf26bd85f4b1a8bf531132096006a', '-D', '/var/lib/mock/866360-fedora-rawhide-x86_64-1552237555.534253/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.tmbf23s2:/etc/resolv.conf', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=en_US.UTF-8', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/octave-netcdf.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': 'en_US.UTF-8'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.KjdYBf + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netcdf-1.0.12 + /usr/bin/gzip -dc /builddir/build/SOURCES/netcdf-1.0.12.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd netcdf-1.0.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3ANTkY + umask 022 + cd /builddir/build/BUILD + cd netcdf-1.0.12 + tar czf /var/tmp/netcdf-1.0.12.tar.gz -C /builddir/build/BUILD netcdf-1.0.12 + mkdir -p /builddir/build/BUILD/netcdf-1.0.12/build + octave -H -q --no-window-system --no-site-file --eval 'pkg build -verbose -nodeps /builddir/build/BUILD/netcdf-1.0.12/build /var/tmp/netcdf-1.0.12.tar.gz' checking for gawk... gawk checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for mkoctfile... /usr/bin/mkoctfile-5.1.0 --verbose checking for octave... /usr/bin/octave-5.1.0 checking for nc-config... nc-config checking for netcdf4 support... yes checking is_empty or isempty... isempty configure: creating ./config.status config.status: creating Makefile config.status: creating config.h octave-forge is configured with octave: /usr/bin/octave-5.1.0 mkoctfile: /usr/bin/mkoctfile-5.1.0 --verbose nc-config: nc-config netCDF compiler flags: -I/usr/include -I/usr/include/hdf netCDF libraries: -L/usr/lib64 -lnetcdf make: Entering directory '/builddir/build/BUILD/netcdf-1.0.12/build/netcdf-1.0.12/src' gawk -f netcdf_constants.awk /usr/include/netcdf.h > netcdf_constants.h /usr/bin/mkoctfile-5.1.0 --verbose -v -I/usr/include -I/usr/include/hdf __netcdf__.cc -L/usr/lib64 -lnetcdf g++ -c -I/usr/include/suitesparse -fPIC -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/include -I/usr/include/hdf __netcdf__.cc -o /tmp/oct-ckngwd.o g++ -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -shared -Wl,-Bsymbolic -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o __netcdf__.oct /tmp/oct-ckngwd.o -L/usr/lib64 -lnetcdf -L/usr/lib64 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld make: Leaving directory '/builddir/build/BUILD/netcdf-1.0.12/build/netcdf-1.0.12/src' + tar xf /var/tmp/netcdf-1.0.12.tar.gz -C /builddir/build/BUILD/netcdf-1.0.12/build + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GKUQ9r + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64 + cd netcdf-1.0.12 + mkdir -p /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave/packages + mkdir -p /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/lib64/octave/packages + octave -H -q --no-window-system --no-site-file --eval 'pkg("prefix","/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave/packages","/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/lib64/octave/packages");pkg("global_list",fullfile("/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave","octave_packages"));pkg("local_list",fullfile("/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave","octave_packages"));pkg("install","-nodeps","-verbose","/builddir/build/BUILD/netcdf-1.0.12/build/netcdf-1.0.12-x86_64-redhat-linux-gnu-api-v53.tar.gz");unlink(pkg("local_list"));unlink(pkg("global_list"));' mkdir (/tmp/oct-u0zpnU) untar (/builddir/build/BUILD/netcdf-1.0.12/build/netcdf-1.0.12-x86_64-redhat-linux-gnu-api-v53.tar.gz, /tmp/oct-u0zpnU) copyfile /tmp/oct-u0zpnU/netcdf-1.0.12/src/__netcdf__.oct /tmp/oct-u0zpnU/netcdf-1.0.12/inst/x86_64-redhat-linux-gnu-api-v53 For information about changes from previous versions of the netcdf package, run 'news netcdf'. + '[' -e /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave/packages/netcdf-1.0.12/packinfo/on_uninstall.m ']' + echo 'function on_uninstall (desc)' Did not find a .metainfo.xml appdata file explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/lib64/octave/packages/netcdf-1.0.12/x86_64-redhat-linux-gnu-api-v53/__netcdf__.oct extracting debug info from /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/lib64/octave/packages/netcdf-1.0.12/x86_64-redhat-linux-gnu-api-v53/__netcdf__.oct + echo ' error ('\''Can not uninstall %s installed by the redhat package manager'\'', desc.name);' + echo endfunction + '[' -e '/builddir/build/BUILD/netcdf-1.0.12/build/netcdf-1.0.12/*.metainfo.xml' ']' + echo 'Did not find a .metainfo.xml appdata file' + /usr/lib/rpm/find-debuginfo.sh -j2 --strict-build-id -m -i --build-id-seed 1.0.12-5.fc31 --unique-debug-suffix -1.0.12-5.fc31.x86_64 --unique-debug-src-base octave-netcdf-1.0.12-5.fc31.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/netcdf-1.0.12 /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: cpio: build/netcdf-1.0.12/src/netcdf_constants.h: Cannot stat: No such file or directory BUILDSTDERR: 118 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.8FamB9 + umask 022 + cd /builddir/build/BUILD + cd netcdf-1.0.12 + octave -H -q --no-window-system --no-site-file --eval 'pkg("prefix","/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave/packages","/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/lib64/octave/packages");pkg("local_list",fullfile("/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave","octave_packages"));pkg("list");pkg("install","-verbose","/builddir/build/BUILD/netcdf-1.0.12/build/netcdf-1.0.12-x86_64-redhat-linux-gnu-api-v53.tar.gz");pkg("load","netcdf");pkg("list");runtests("/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave/packages/netcdf-1.0.12");unlink(pkg("local_list"));' no packages installed. mkdir (/tmp/oct-os8DSO) untar (/builddir/build/BUILD/netcdf-1.0.12/build/netcdf-1.0.12-x86_64-redhat-linux-gnu-api-v53.tar.gz, /tmp/oct-os8DSO) copyfile /tmp/oct-os8DSO/netcdf-1.0.12/src/__netcdf__.oct /tmp/oct-os8DSO/netcdf-1.0.12/inst/x86_64-redhat-linux-gnu-api-v53 BUILDSTDERR: warning: doc_cache_create: unusable help text found in file 'on_uninstall' For information about changes from previous versions of the netcdf package, run 'news netcdf'. Package Name | Version | Installation directory --------------+---------+----------------------- netcdf *| 1.0.12 | .../usr/share/octave/packages/netcdf-1.0.12 Processing files in /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave/packages/netcdf-1.0.12: test_netcdf.m ............................................... Using NetCDF library version "4.4.1.1 of Feb 14 2019 13:49:40 $" run test_netcdf_constant.............. OK run test_netcdf_create................ OK run test_netcdf_low_level_interface... OK run test_netcdf_unlim................. OK run test_netcdf_datatypes............. OK run test_netcdf_scalar_variable....... OK run test_netcdf_attributes............ OK run test_netcdf_high_level_interface.. OK run test_netcdf_ncwriteschema......... OK run test_netcdf_ncwriteschema_unlim... OK run test_netcdf_ncwriteschema_chunking OK run test_netcdf_ncwriteschema_group... OK PASS 1/1 The following files in /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64/usr/share/octave/packages/netcdf-1.0.12 have no tests: import_netcdf.m ncinfo.m ncwrite.m nccreate.m ncread.m ncwriteatt.m ncdisp.m ncreadatt.m ncwriteschema.m + /usr/lib/rpm/brp-strip-shared /usr/bin/strip + exit 0 Processing files: octave-netcdf-1.0.12-5.fc31.x86_64 Provides: octave-netcdf = 1.0.12-5.fc31 octave-netcdf(x86-64) = 1.0.12-5.fc31 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh octave Requires(preun): /bin/sh Requires(postun): /bin/sh octave Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libnetcdf.so.11()(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) rtld(GNU_HASH) Processing files: octave-netcdf-debugsource-1.0.12-5.fc31.x86_64 Provides: octave-netcdf-debugsource = 1.0.12-5.fc31 octave-netcdf-debugsource(x86-64) = 1.0.12-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: octave-netcdf-debuginfo-1.0.12-5.fc31.x86_64 Provides: debuginfo(build-id) = baf11710707120f12be7210c647c38ea5724e9ea octave-netcdf-debuginfo = 1.0.12-5.fc31 octave-netcdf-debuginfo(x86-64) = 1.0.12-5.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: octave-netcdf-debugsource(x86-64) = 1.0.12-5.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64 Wrote: /builddir/build/RPMS/octave-netcdf-1.0.12-5.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/octave-netcdf-debugsource-1.0.12-5.fc31.x86_64.rpm Wrote: /builddir/build/RPMS/octave-netcdf-debuginfo-1.0.12-5.fc31.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.TfctK5 + umask 022 + cd /builddir/build/BUILD + cd netcdf-1.0.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.fc31.x86_64 + exit 0 Child return code was: 0