Mock Version: 1.4.2 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/netcdf-cxx.spec'], nspawn_args=[]shell=Falseuid=1000env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'aa7b4712d33c439b8548a658086e525a', '-D', '/var/lib/mock/centos-7-epel-i386/root', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/netcdf-cxx.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system warning: Could not canonicalize hostname: kvm.centos.org Building target platforms: i686 Building for target i686 Wrote: /builddir/build/SRPMS/netcdf-cxx-4.2-8.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/netcdf-cxx.spec'], nspawn_args=['--private-network']shell=Falseuid=1000env={'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '}chrootPath='/var/lib/mock/centos-7-epel-i386/root'gid=135user='mockbuild'timeout=0logger=printOutput=True) Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '070ab1212ea04a8fa9736e04c6b1e440', '-D', '/var/lib/mock/centos-7-epel-i386/root', '--private-network', '--setenv=LANG=en_US.utf8', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOSTNAME=mock', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=HOME=/builddir', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PS1= \\s-\\v\\$ ', '-u', 'mockbuild', 'bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/netcdf-cxx.spec'] with env {'LANG': 'en_US.utf8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PS1': ' \\s-\\v\\$ '} and shell False Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Failed to create directory /var/lib/mock/centos-7-epel-i386/root//sys/fs/selinux: Read-only file system Building target platforms: i686 Building for target i686 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5igWuO + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf netcdf-cxx-4.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/netcdf-cxx-4.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd netcdf-cxx-4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A9AWP0 + umask 022 + cd /builddir/build/BUILD + cd netcdf-cxx-4.2 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -I/usr/lib/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' i386 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + ./configure --build=i386-redhat-linux-gnu --host=i386-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: netCDF-cxx 4.2 checking build system type... i386-redhat-linux-gnu checking host system type... i386-redhat-linux-gnu checking target system type... i386-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes configure: checking user options checking whether extra valgrind tests should be run... no checking whether netCDF extra tests should be run (developers only)... no checking whether large file (> 2GB) tests should be run... no checking where to put large temp files if large file tests are run... . configure: finding C++ compiler (will not be used if C++ API is not desired) checking for i386-redhat-linux-gnu-g++... no checking for i386-redhat-linux-gnu-c++... no checking for i386-redhat-linux-gnu-gpp... no checking for i386-redhat-linux-gnu-aCC... no checking for i386-redhat-linux-gnu-CC... no checking for i386-redhat-linux-gnu-cxx... no checking for i386-redhat-linux-gnu-cc++... no checking for i386-redhat-linux-gnu-cl.exe... no checking for i386-redhat-linux-gnu-FCC... no checking for i386-redhat-linux-gnu-KCC... no checking for i386-redhat-linux-gnu-RCC... no checking for i386-redhat-linux-gnu-xlC_r... no checking for i386-redhat-linux-gnu-xlC... no checking for g++... g++ 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 style of include used by make... GNU checking dependency style of g++... none configure: setting up libtool checking how to print strings... printf checking for i386-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for i386-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for i386-redhat-linux-gnu-ar... no checking for ar... ar checking for i386-redhat-linux-gnu-strip... no checking for strip... strip checking for i386-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate configure: finding other utilities checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking netcdf.h usability... yes checking netcdf.h presence... yes checking for netcdf.h... yes checking for library containing nc_open... -lnetcdf checking for nc_def_opaque... yes checking for nccreate... yes checking for nc_set_log_level... no checking for nc_use_parallel_enabled... no configure: generating header files and makefiles configure: creating ./config.status config.status: creating Makefile config.status: creating man4/Makefile config.status: creating cxx/Makefile config.status: creating examples/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make -j6 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2' Making all in cxx make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libnetcdf_c___la-netcdf.lo `test -f 'netcdf.cpp' || echo './'`netcdf.cpp /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o libnetcdf_c___la-ncvalues.lo `test -f 'ncvalues.cpp' || echo './'`ncvalues.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ncvalues.cpp -fPIC -DPIC -o .libs/libnetcdf_c___la-ncvalues.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c netcdf.cpp -fPIC -DPIC -o .libs/libnetcdf_c___la-netcdf.o netcdf.cpp: In member function 'int NcVar::num_atts() const': netcdf.cpp:650:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if (the_file->is_valid()) ^ libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c ncvalues.cpp -o libnetcdf_c___la-ncvalues.o >/dev/null 2>&1 libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c netcdf.cpp -o libnetcdf_c___la-netcdf.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -version-number 4:2:0 -Wl,-z,relro -o libnetcdf_c++.la -rpath /usr/lib libnetcdf_c___la-netcdf.lo libnetcdf_c___la-ncvalues.lo -lnetcdf libtool: link: g++ -shared -nostdlib /usr/lib/gcc/i686-redhat-linux/4.8.5/../../../crti.o /usr/lib/gcc/i686-redhat-linux/4.8.5/crtbeginS.o .libs/libnetcdf_c___la-netcdf.o .libs/libnetcdf_c___la-ncvalues.o -lnetcdf -L/usr/lib/gcc/i686-redhat-linux/4.8.5 -L/usr/lib/gcc/i686-redhat-linux/4.8.5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/i686-redhat-linux/4.8.5/crtendS.o /usr/lib/gcc/i686-redhat-linux/4.8.5/../../../crtn.o -m32 -march=x86-64 -mtune=generic -mfpmath=sse -Wl,-z -Wl,relro -Wl,-soname -Wl,libnetcdf_c++.so.4 -o .libs/libnetcdf_c++.so.4.2.0 libtool: link: (cd ".libs" && rm -f "libnetcdf_c++.so.4" && ln -s "libnetcdf_c++.so.4.2.0" "libnetcdf_c++.so.4") libtool: link: (cd ".libs" && rm -f "libnetcdf_c++.so" && ln -s "libnetcdf_c++.so.4.2.0" "libnetcdf_c++.so") libtool: link: ar cru .libs/libnetcdf_c++.a libnetcdf_c___la-netcdf.o libnetcdf_c___la-ncvalues.o libtool: link: ranlib .libs/libnetcdf_c++.a libtool: link: ( cd ".libs" && rm -f "libnetcdf_c++.la" && ln -s "../libnetcdf_c++.la" "libnetcdf_c++.la" ) make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' Making all in examples make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' Making all in man4 make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/man4' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/man4' make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2' make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2' make[1]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.w2BVlT + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386 ++ dirname /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386 + cd netcdf-cxx-4.2 + make install DESTDIR=/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386 Making install in cxx make[1]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' test -z "/usr/lib" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib" /bin/sh ../libtool --mode=install /usr/bin/install -c libnetcdf_c++.la '/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib' libtool: install: /usr/bin/install -c .libs/libnetcdf_c++.so.4.2.0 /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib/libnetcdf_c++.so.4.2.0 libtool: install: (cd /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib && { ln -s -f libnetcdf_c++.so.4.2.0 libnetcdf_c++.so.4 || { rm -f libnetcdf_c++.so.4 && ln -s libnetcdf_c++.so.4.2.0 libnetcdf_c++.so.4; }; }) libtool: install: (cd /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib && { ln -s -f libnetcdf_c++.so.4.2.0 libnetcdf_c++.so || { rm -f libnetcdf_c++.so && ln -s libnetcdf_c++.so.4.2.0 libnetcdf_c++.so; }; }) libtool: install: /usr/bin/install -c .libs/libnetcdf_c++.lai /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib/libnetcdf_c++.la libtool: install: /usr/bin/install -c .libs/libnetcdf_c++.a /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib/libnetcdf_c++.a libtool: install: chmod 644 /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib/libnetcdf_c++.a libtool: install: ranlib /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib/libnetcdf_c++.a libtool: install: warning: remember to run `libtool --finish /usr/lib' test -z "/usr/include" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/include" /usr/bin/install -c -m 644 netcdfcpp.h ncvalues.h netcdf.hh '/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/include' make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' make[1]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' Making install in examples make[1]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' make[1]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' Making install in man4 make[1]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/man4' make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/man4' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/info" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/info" /usr/bin/install -c -m 644 ./netcdf-cxx.info '/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/info' install-info --info-dir='/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/info' '/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/info/netcdf-cxx.info' make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/man4' make[1]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/man4' make[1]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2' make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2' make[2]: Nothing to be done for `install-exec-am'. make install-data-hook make[3]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2' +-------------------------------------------------------------+ | Congratulations! You have successfully installed the netCDF | | C++ Libaray | | | | CAUTION: | | | | If you have not already run "make check", then we strongly | | recommend you do so. It does not take very long. | | | | Before using netCDF to store important data, test your | | build with "make check". | | | | NetCDF is tested nightly on many platforms at Unidata | | but your platform is probably different in some ways. | | | | If any tests fail, please see the netCDF web site: | | http://www.unidata.ucar.edu/software/netcdf/ | | | | NetCDF is developed and maintained at the Unidata Program | | Center. Unidata provides a broad array of data and software | | tools for use in geoscience education and research. | | http://www.unidata.ucar.edu | +-------------------------------------------------------------+ make[3]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2' make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2' make[1]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2' + /bin/rm /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib/libnetcdf_c++.la + /bin/rm /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/netcdf-cxx-4.2 extracting debug info from /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/lib/libnetcdf_c++.so.4.2.0 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/usr/lib/libnetcdf_c++.so.4.2.0.debug to /usr/lib/debug/usr/lib/libnetcdf_c++.so.4.debug symlinked /usr/lib/debug/usr/lib/libnetcdf_c++.so.4.2.0.debug to /usr/lib/debug/usr/lib/libnetcdf_c++.so.debug 154 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.sVX6VO + umask 022 + cd /builddir/build/BUILD + cd netcdf-cxx-4.2 + make check Making check in cxx make[1]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' make nctst tst_failure make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' g++ -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o nctst.o nctst.cpp /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -lnetcdf -Wl,-z,relro -o nctst nctst.o ../cxx/libnetcdf_c++.la -lnetcdf -lnetcdf libtool: link: g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/nctst nctst.o ../cxx/.libs/libnetcdf_c++.so -lnetcdf g++ -DHAVE_CONFIG_H -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o tst_failure.o tst_failure.cpp tst_failure.cpp: In function 'int main()': tst_failure.cpp:26:13: warning: unused variable 'err' [-Wunused-variable] NcError *err = new NcError(NcError::verbose_fatal); ^ tst_failure.cpp:40:11: warning: unused variable 'latd' [-Wunused-variable] NcDim* latd = nc.add_dim(LAT, NLATS); ^ tst_failure.cpp:43:11: warning: unused variable 'latd1' [-Wunused-variable] NcDim* latd1 = nc.add_dim(LAT, NLATS); ^ /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -lnetcdf -Wl,-z,relro -o tst_failure tst_failure.o ../cxx/libnetcdf_c++.la -lnetcdf -lnetcdf libtool: link: g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/tst_failure tst_failure.o ../cxx/.libs/libnetcdf_c++.so -lnetcdf make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' make check-TESTS make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' *** Testing C++ API with 2 different netCDF formats. *** SUCCESS with file nctst_classic.nc *** SUCCESS with file nctst_64bit_offset.nc *** Total number of failures: 0 *** nctst SUCCESS! PASS: nctst NetCDF: String match to name in use XFAIL: tst_failure ==================================================== All 2 tests behaved as expected (1 expected failure) ==================================================== make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' make[1]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/cxx' Making check in examples make[1]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' make simple_xy_wr simple_xy_rd sfc_pres_temp_wr sfc_pres_temp_rd pres_temp_4D_wr pres_temp_4D_rd make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' g++ -DHAVE_CONFIG_H -I. -I.. -I../cxx -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o simple_xy_wr.o simple_xy_wr.cpp /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables ../cxx/libnetcdf_c++.la -Wl,-z,relro -o simple_xy_wr simple_xy_wr.o -lnetcdf libtool: link: g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/simple_xy_wr simple_xy_wr.o ../cxx/.libs/libnetcdf_c++.so -lnetcdf g++ -DHAVE_CONFIG_H -I. -I.. -I../cxx -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o simple_xy_rd.o simple_xy_rd.cpp /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables ../cxx/libnetcdf_c++.la -Wl,-z,relro -o simple_xy_rd simple_xy_rd.o -lnetcdf libtool: link: g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/simple_xy_rd simple_xy_rd.o ../cxx/.libs/libnetcdf_c++.so -lnetcdf g++ -DHAVE_CONFIG_H -I. -I.. -I../cxx -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o sfc_pres_temp_wr.o sfc_pres_temp_wr.cpp /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables ../cxx/libnetcdf_c++.la -Wl,-z,relro -o sfc_pres_temp_wr sfc_pres_temp_wr.o -lnetcdf libtool: link: g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/sfc_pres_temp_wr sfc_pres_temp_wr.o ../cxx/.libs/libnetcdf_c++.so -lnetcdf g++ -DHAVE_CONFIG_H -I. -I.. -I../cxx -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o sfc_pres_temp_rd.o sfc_pres_temp_rd.cpp /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables ../cxx/libnetcdf_c++.la -Wl,-z,relro -o sfc_pres_temp_rd sfc_pres_temp_rd.o -lnetcdf libtool: link: g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/sfc_pres_temp_rd sfc_pres_temp_rd.o ../cxx/.libs/libnetcdf_c++.so -lnetcdf g++ -DHAVE_CONFIG_H -I. -I.. -I../cxx -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pres_temp_4D_wr.o pres_temp_4D_wr.cpp /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables ../cxx/libnetcdf_c++.la -Wl,-z,relro -o pres_temp_4D_wr pres_temp_4D_wr.o -lnetcdf libtool: link: g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/pres_temp_4D_wr pres_temp_4D_wr.o ../cxx/.libs/libnetcdf_c++.so -lnetcdf g++ -DHAVE_CONFIG_H -I. -I.. -I../cxx -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -c -o pres_temp_4D_rd.o pres_temp_4D_rd.cpp /bin/sh ../libtool --tag=CXX --mode=link g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables ../cxx/libnetcdf_c++.la -Wl,-z,relro -o pres_temp_4D_rd pres_temp_4D_rd.o -lnetcdf libtool: link: g++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m32 -march=x86-64 -mtune=generic -mfpmath=sse -fasynchronous-unwind-tables -Wl,-z -Wl,relro -o .libs/pres_temp_4D_rd pres_temp_4D_rd.o ../cxx/.libs/libnetcdf_c++.so -lnetcdf make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' make check-TESTS make[2]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' *** SUCCESS writing example file simple_xy.nc! PASS: simple_xy_wr *** SUCCESS reading example file simple_xy.nc! PASS: simple_xy_rd *** SUCCESS writing example file sfc_pres_temp.nc! PASS: sfc_pres_temp_wr *** SUCCESS reading example file sfc_pres_temp.nc! PASS: sfc_pres_temp_rd *** SUCCESS writing example file pres_temp_4D.nc! PASS: pres_temp_4D_wr *** SUCCESS reading example file pres_temp_4D.nc! PASS: pres_temp_4D_rd ================== All 6 tests passed ================== make[2]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' make[1]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/examples' Making check in man4 make[1]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2/man4' make[1]: Nothing to be done for `check'. make[1]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2/man4' make[1]: Entering directory `/builddir/build/BUILD/netcdf-cxx-4.2' make[1]: Leaving directory `/builddir/build/BUILD/netcdf-cxx-4.2' + exit 0 Processing files: netcdf-cxx-4.2-8.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.P63Qf7 + umask 022 + cd /builddir/build/BUILD + cd netcdf-cxx-4.2 + DOCDIR=/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/doc/netcdf-cxx-4.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/doc/netcdf-cxx-4.2 + cp -pr COPYRIGHT /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/doc/netcdf-cxx-4.2 + cp -pr cxx/README /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/doc/netcdf-cxx-4.2 + exit 0 Provides: libnetcdf_c++.so.4 netcdf-cxx = 4.2-8.el7 netcdf-cxx(x86-32) = 4.2-8.el7 Requires(interp): /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 Requires(postun): /bin/sh Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libm.so.6 libnetcdf.so.7 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) libstdc++.so.6(GLIBCXX_3.4.11) libstdc++.so.6(GLIBCXX_3.4.9) rtld(GNU_HASH) Processing files: netcdf-cxx-devel-4.2-8.el7.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.kCiLIp + umask 022 + cd /builddir/build/BUILD + cd netcdf-cxx-4.2 + DOCDIR=/builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/doc/netcdf-cxx-devel-4.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/doc/netcdf-cxx-devel-4.2 + cp -pr examples /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/doc/netcdf-cxx-devel-4.2 + cp -pr man4/netcdf-cxx.pdf /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386/usr/share/doc/netcdf-cxx-devel-4.2 + exit 0 Provides: netcdf-cxx-devel = 4.2-8.el7 netcdf-cxx-devel(x86-32) = 4.2-8.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.4) libgcc_s.so.1 libgcc_s.so.1(GCC_3.0) libm.so.6 libnetcdf.so.7 libnetcdf_c++.so.4 libstdc++.so.6 libstdc++.so.6(CXXABI_1.3) libstdc++.so.6(GLIBCXX_3.4) rtld(GNU_HASH) Processing files: netcdf-cxx-static-4.2-8.el7.i686 Provides: netcdf-cxx-static = 4.2-8.el7 netcdf-cxx-static(x86-32) = 4.2-8.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: netcdf-cxx-debuginfo-4.2-8.el7.i686 Provides: netcdf-cxx-debuginfo = 4.2-8.el7 netcdf-cxx-debuginfo(x86-32) = 4.2-8.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/netcdf-cxx-4.2-8.el7.i386 warning: Could not canonicalize hostname: kvm.centos.org Wrote: /builddir/build/RPMS/netcdf-cxx-4.2-8.el7.i686.rpm Wrote: /builddir/build/RPMS/netcdf-cxx-devel-4.2-8.el7.i686.rpm Wrote: /builddir/build/RPMS/netcdf-cxx-static-4.2-8.el7.i686.rpm Wrote: /builddir/build/RPMS/netcdf-cxx-debuginfo-4.2-8.el7.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.QmRSz3 + umask 022 + cd /builddir/build/BUILD + cd netcdf-cxx-4.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/netcdf-cxx-4.2-8.el7.i386 + exit 0 Child return code was: 0