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/866420-epel-7-x86_64-1552247741.239361/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.71vvqtyx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3b6a5d61bc1740dd986efa3d968dafff', '-D', '/var/lib/mock/866420-epel-7-x86_64-1552247741.239361/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.71vvqtyx:/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 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/octave-netcdf-1.0.12-5.el7.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/866420-epel-7-x86_64-1552247741.239361/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.71vvqtyx:/etc/resolv.conf']unshare_net=TrueprintOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '73b5e31b1cc0416f97e46650d7585fff', '-D', '/var/lib/mock/866420-epel-7-x86_64-1552247741.239361/root', '-a', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.71vvqtyx:/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.oGAQLh + 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 -xf - + 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.YwKtAe + 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++ -std=gnu++11 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: -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 -lnetcdf g++ -std=gnu++11 -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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/include -I/usr/include/hdf __netcdf__.cc -o /tmp/oct-wmrMWY.o g++ -std=gnu++11 -I/usr/include/octave-5.1.0/octave/.. -I/usr/include/octave-5.1.0/octave -pthread -fopenmp -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -shared -Wl,-Bsymbolic -Wl,-z,relro -o __netcdf__.oct /tmp/oct-wmrMWY.o -lnetcdf -L/usr/lib64 -Wl,-z,relro 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.WBQPfT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64 + cd netcdf-1.0.12 + mkdir -p /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64/usr/share/octave/packages + mkdir -p /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.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.el7.x86_64/usr/share/octave/packages","/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64/usr/lib64/octave/packages");pkg("global_list",fullfile("/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64/usr/share/octave","octave_packages"));pkg("local_list",fullfile("/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.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-sTpODq) untar (/builddir/build/BUILD/netcdf-1.0.12/build/netcdf-1.0.12-x86_64-redhat-linux-gnu-api-v53.tar.gz, /tmp/oct-sTpODq) copyfile /tmp/oct-sTpODq/netcdf-1.0.12/src/__netcdf__.oct /tmp/oct-sTpODq/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.el7.x86_64/usr/share/octave/packages/netcdf-1.0.12/packinfo/on_uninstall.m ']' + echo 'function on_uninstall (desc)' + 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' Did not find a .metainfo.xml appdata file + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/netcdf-1.0.12 extracting debug info from /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64/usr/lib64/octave/packages/netcdf-1.0.12/x86_64-redhat-linux-gnu-api-v53/__netcdf__.oct BUILDSTDERR: dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: cpio: netcdf-1.0.12/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-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.K5620T + 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.el7.x86_64/usr/share/octave/packages","/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64/usr/lib64/octave/packages");pkg("local_list",fullfile("/builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.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.el7.x86_64/usr/share/octave/packages/netcdf-1.0.12");unlink(pkg("local_list"));' no packages installed. mkdir (/tmp/oct-sYka9X) untar (/builddir/build/BUILD/netcdf-1.0.12/build/netcdf-1.0.12-x86_64-redhat-linux-gnu-api-v53.tar.gz, /tmp/oct-sYka9X) copyfile /tmp/oct-sYka9X/netcdf-1.0.12/src/__netcdf__.oct /tmp/oct-sYka9X/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.el7.x86_64/usr/share/octave/packages/netcdf-1.0.12: test_netcdf.m ............................................... Using NetCDF library version "4.3.3.1 of Dec 10 2015 16:44:18 $" 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.el7.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.el7.x86_64 Provides: octave-netcdf = 1.0.12-5.el7 octave-netcdf(x86-64) = 1.0.12-5.el7 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.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgomp.so.1()(64bit) libm.so.6()(64bit) libnetcdf.so.7()(64bit) libpthread.so.0()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) rtld(GNU_HASH) Processing files: octave-netcdf-debuginfo-1.0.12-5.el7.x86_64 Provides: octave-netcdf-debuginfo = 1.0.12-5.el7 octave-netcdf-debuginfo(x86-64) = 1.0.12-5.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64 Wrote: /builddir/build/RPMS/octave-netcdf-1.0.12-5.el7.x86_64.rpm Wrote: /builddir/build/RPMS/octave-netcdf-debuginfo-1.0.12-5.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.wDg4m9 + umask 022 + cd /builddir/build/BUILD + cd netcdf-1.0.12 + /usr/bin/rm -rf /builddir/build/BUILDROOT/octave-netcdf-1.0.12-5.el7.x86_64 + exit 0 Child return code was: 0