ENTER do("bash -l -c 'rpmbuild -bs --target x86_64 --nodeps //builddir/build/SPECS/blitz.spec'", '/var/lib/mock/rawhide0/root/', 0, True, 0, , 500, 101, 'x86_64', logger=) run cmd timeout(0): bash -l -c 'rpmbuild -bs --target x86_64 --nodeps //builddir/build/SPECS/blitz.spec' /etc/profile: line 38: /bin/hostname: No such file or directory Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/blitz-0.9-3.fc9.src.rpm LEAVE do --> ENTER do("bash -l -c 'rpmbuild -bb --target x86_64 --nodeps //builddir/build/SPECS/blitz.spec'", '/var/lib/mock/rawhide0/root/', 0, True, 0, , 500, 101, 'x86_64', logger=) run cmd timeout(0): bash -l -c 'rpmbuild -bb --target x86_64 --nodeps //builddir/build/SPECS/blitz.spec' Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.33357 + umask 022 + cd /builddir/build/BUILD + LANG=C + export LANG + unset DISPLAY + cd /builddir/build/BUILD + rm -rf blitz-0.9 + /bin/gzip -dc /builddir/build/SOURCES/blitz-0.9.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd blitz-0.9 ++ /usr/bin/id -u + '[' 500 = 0 ']' ++ /usr/bin/id -u + '[' 500 = 0 ']' + /bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.33357 + umask 022 + cd /builddir/build/BUILD + cd blitz-0.9 + LANG=C + export LANG + unset DISPLAY + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic' + export FFLAGS ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /bin/rm -f ./config/config.guess ++ basename ./config/config.guess + /bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config/config.guess `/usr/lib/rpm/redhat/config.guess' -> `./config/config.guess' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /bin/rm -f ./config/config.sub ++ basename ./config/config.sub + /bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config/config.sub `/usr/lib/rpm/redhat/config.sub' -> `./config/config.sub' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --disable-static --disable-fortran checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking target system type... x86_64-redhat-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no configure: Configuring blitz 0.9 for x86_64-redhat-linux-gnu checking for x86_64-redhat-linux-gnu-xlc++... no checking for x86_64-redhat-linux-gnu-xlC... no checking for x86_64-redhat-linux-gnu-icpc... no checking for x86_64-redhat-linux-gnu-icc... no checking for x86_64-redhat-linux-gnu-pathCC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-pgCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-FCC... no checking for xlc++... no checking for xlC... no checking for icpc... no checking for icc... no checking for pathCC... no checking for cxx... no checking for aCC... no checking for c++... c++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether c++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of c++... gcc3 checking whether using c++ preset flags... yes configure: Setting compiler flags for GNU c++ (wahoo!) checking whether to enable Fortran compilation for benchmark codes... no checking compiler specific header... gnu/bzconfig.h checking for doxygen... doxygen checking for dot... dot checking whether to enable C++/Fortran 64-bit compilation flags... no checking for x86_64-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 ANSI C... none needed checking dependency style of gcc... gcc3 checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... nm checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... c++ -E checking the maximum length of command line arguments... 32768 checking command to parse nm output from gcc object... ok checking for objdir... .libs checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) 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... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by c++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for c++ option to produce PIC... -fPIC checking if c++ PIC flag -fPIC works... yes checking if c++ supports -c -o file.o... yes checking whether the c++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for sin... yes configure: Checking to see if there is a usable BLAS library kicking around... (If so, Blitz++ will use BLAS library to run benchmarks against if you build the benchmarks. Blitz++ itself does NOT use BLAS). checking for daxpy_ in -lblas... no checking for daxpy in -lblas... no checking for DAXPY in -lblas... no checking for daxpy__ in -lblas... no checking whether to enable c++ optimization flags... no checking whether to enable c++ debug flags... no configure: C++ compiler (c++ ) characteristics configure: Checking major C++ language features checking whether the compiler implements namespaces... yes checking whether the compiler supports exceptions... yes checking whether the compiler supports Run-Time Type Identification... yes checking whether the compiler supports member constants... yes checking whether the compiler accepts the old for scoping rules... no configure: Now for some of the new keywords checking whether the compiler supports the explicit keyword... yes checking whether the compiler supports the mutable keyword... yes checking whether the compiler recognizes typename... yes checking whether the compiler supports the Numerical C Extensions Group restrict keyword... no checking whether the compiler recognizes the '__restrict__' keyword... yes checking whether the compiler recognizes bool as a built-in type... yes configure: Does your compiler understand the newfangled casting syntax? checking whether the compiler supports const_cast<>... yes checking whether the compiler supports static_cast<>... yes checking whether the compiler supports reinterpret_cast<>... yes checking whether the compiler supports dynamic_cast<>... yes configure: Okay, now the important stuff -- templates checking whether the compiler supports basic templates... yes checking whether the compiler supports partial specialization... yes checking whether the compiler supports partial ordering... yes checking whether the compiler supports default template parameters... yes checking whether the compiler supports member templates... yes checking whether the compiler supports member templates outside the class declaration... yes checking whether the compiler recognizes the full specialization syntax... yes checking whether the compiler supports function templates with non-type parameters... yes checking whether the compiler supports template-qualified base class specifiers... yes checking whether the compiler supports template-qualified return types... yes checking whether the compiler supports explicit template function qualification... yes checking whether the compiler supports templates as template arguments... yes checking whether the compiler supports use of the template keyword as a qualifier... yes checking whether the compiler supports function matching with argument types which are template scope-qualified... yes checking whether the compiler will support the vector type promotion mechanism... yes checking whether the compiler supports numeric traits promotions... yes checking whether the compiler handle computations inside an enum... yes checking whether the compiler handles (int) casts in enum computations... yes configure: Which library features does your compiler provide? checking whether the compiler has complex... yes checking whether the compiler has standard complex functions... yes checking whether the compiler has numeric_limits... yes checking whether the compiler has header... yes checking whether the compiler has valarray... yes checking whether the compiler has complex math functions... yes checking whether the compiler has more complex math functions... no checking whether the compiler supports IEEE math library... yes checking whether the compiler supports System V math library... no checking whether the compiler has C math functions in namespace std... yes checking whether complex math functions are in namespace std... yes checking whether the compiler has isnan function in namespace std... yes checking whether the compiler supports ISO C++ standard library... yes checking whether the compiler supports Standard Template Library... yes checking whether the compiler has getrusage() function... yes configure: CXX = c++ CXXFLAGS = CXX_OPTIMIZE_FLAGS = -O3 -funroll-loops -fstrict-aliasing -fomit-frame-pointer -ffast-math CXX_DEBUG_FLAGS = -g -DBZ_DEBUG CXXFFLAGS = F77 = FFLAGS = -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic F77_OPTIMIZE_FLAGS = FLIBS = FC = FCFLAGS = FC_OPTIMIZE_FLAGS = FCLIBS = BLASLIB = checking our pkgconfig libname... blitz checking our pkgconfig version... 0.9 checking our pkgconfig_libdir... ${libdir}/pkgconfig expanded our pkgconfig_libdir... /usr/lib64/pkgconfig checking our pkgconfig_libfile... blitz.pc checking our pkgconfig description... blitz Library checking our pkgconfig requires... checking our pkgconfig ext libs... -lblitz checking our pkgconfig cppflags... noninstalled pkgconfig -L /builddir/build/BUILD/blitz-0.9/src/.libs noninstalled pkgconfig -I /builddir/build/BUILD/blitz-0.9/. configure: creating ./config.status config.status: creating Makefile config.status: creating bin/Makefile config.status: creating blitz/Makefile config.status: creating blitz/array/Makefile config.status: creating blitz/generate/Makefile config.status: creating blitz/meta/Makefile config.status: creating random/Makefile config.status: creating lib/Makefile config.status: creating testsuite/Makefile config.status: creating examples/Makefile config.status: creating doc/Makefile config.status: creating doc/examples/Makefile config.status: creating doc/stencils/Makefile config.status: creating doc/doxygen/Makefile config.status: creating doc/doxygen/Doxyfile config.status: creating blitz/config.h config.status: executing depfiles commands config.status: executing blitz/gnu/bzconfig.h commands config.status: creating blitz/gnu/bzconfig.h - prefix BZ for blitz/config.h defines config.status: executing blitz.pc commands config.status: creating blitz.pc.in config.status: creating blitz.pc config.status: creating blitz-uninstalled.pc configure: The configure script has generated makefiles for your platform. You have several options now: make lib Check the compiler and create libblitz.a make check-testsuite Build and check the testsuite make check-examples Build and check the examples make check-benchmarks Build and check the benchmarks (takes a long time) make install Install Blitz++ + /usr/bin/make -j64 Making all in bin make[1]: Entering directory `/builddir/build/BUILD/blitz-0.9/bin' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/blitz-0.9/bin' Making all in blitz make[1]: Entering directory `/builddir/build/BUILD/blitz-0.9/blitz' /usr/bin/make all-recursive make[2]: Entering directory `/builddir/build/BUILD/blitz-0.9/blitz' Making all in generate make[3]: Entering directory `/builddir/build/BUILD/blitz-0.9/blitz/generate' /usr/bin/make generate-headers make[4]: Entering directory `/builddir/build/BUILD/blitz-0.9/blitz/generate' make[4]: Nothing to be done for `generate-headers'. make[4]: Leaving directory `/builddir/build/BUILD/blitz-0.9/blitz/generate' make[3]: Leaving directory `/builddir/build/BUILD/blitz-0.9/blitz/generate' Making all in meta make[3]: Entering directory `/builddir/build/BUILD/blitz-0.9/blitz/meta' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/blitz-0.9/blitz/meta' Making all in array make[3]: Entering directory `/builddir/build/BUILD/blitz-0.9/blitz/array' make[3]: Nothing to be done for `all'. make[3]: Leaving directory `/builddir/build/BUILD/blitz-0.9/blitz/array' make[3]: Entering directory `/builddir/build/BUILD/blitz-0.9/blitz' make[3]: Nothing to be done for `all-am'. make[3]: Leaving directory `/builddir/build/BUILD/blitz-0.9/blitz' make[2]: Leaving directory `/builddir/build/BUILD/blitz-0.9/blitz' make[1]: Leaving directory `/builddir/build/BUILD/blitz-0.9/blitz' Making all in random make[1]: Entering directory `/builddir/build/BUILD/blitz-0.9/random' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/blitz-0.9/random' Making all in lib make[1]: Entering directory `/builddir/build/BUILD/blitz-0.9/lib' if /bin/sh ../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I.. -I.. -MT globals.lo -MD -MP -MF ".deps/globals.Tpo" -c -o globals.lo `test -f '../src/globals.cpp' || echo './'`../src/globals.cpp; \ then mv -f ".deps/globals.Tpo" ".deps/globals.Plo"; else rm -f ".deps/globals.Tpo"; exit 1; fi mkdir .libs c++ -DHAVE_CONFIG_H -I.. -I.. -MT globals.lo -MD -MP -MF .deps/globals.Tpo -c ../src/globals.cpp -fPIC -DPIC -o .libs/globals.o In file included from ../blitz/applics.h:400, from ../blitz/vecexpr.h:32, from ../blitz/vecpick.cc:16, from ../blitz/vecpick.h:293, from ../blitz/vector.h:449, from ../blitz/tinyvec.h:430, from ../blitz/indexexpr.h:30, from ../src/globals.cpp:11: ../blitz/mathfunc.h: In static member function 'static long int blitz::_bz_abs::apply(long int)': ../blitz/mathfunc.h:45: error: 'labs' is not a member of 'std' In file included from ../blitz/array/funcs.h:29, from ../blitz/array/newet.h:29, from ../blitz/array/et.h:27, from ../blitz/array-impl.h:2515, from ../blitz/array.h:32, from ../src/globals.cpp:13: ../blitz/funcs.h: In static member function 'static int blitz::Fn_abs::apply(int)': ../blitz/funcs.h:509: error: call of overloaded 'abs(int&)' is ambiguous /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/cmath:99: note: candidates are: double std::abs(double) /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/cmath:103: note: float std::abs(float) /usr/lib/gcc/x86_64-redhat-linux/4.3.0/../../../../include/c++/4.3.0/cmath:107: note: long double std::abs(long double) ../blitz/funcs.h: In static member function 'static long int blitz::Fn_abs::apply(long int)': ../blitz/funcs.h:530: error: 'labs' is not a member of 'std' make[1]: *** [globals.lo] Error 1 make[1]: Leaving directory `/builddir/build/BUILD/blitz-0.9/lib' make: *** [all-recursive] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.33357 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.33357 (%build) EXCEPTION: Command failed. See logs for output. # bash -l -c 'rpmbuild -bb --target x86_64 --nodeps //builddir/build/SPECS/blitz.spec' Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/mock/trace_decorator.py", line 70, in trace result = func(*args, **kw) File "/usr/lib/python2.4/site-packages/mock/util.py", line 286, in do raise mock.exception.Error, ("Command failed. See logs for output.\n # %s" % (command,), ret) Error: Command failed. See logs for output. # bash -l -c 'rpmbuild -bb --target x86_64 --nodeps //builddir/build/SPECS/blitz.spec' LEAVE do --> EXCEPTION RAISED