Executing(%prep): /bin/sh -e /home/fhimpe/rpm/BUILDROOT/rpm-tmp.91755
+ umask 022
+ cd /home/fhimpe/rpm/BUILD
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/fhimpe/rpm/BUILD
+ rm -rf plt-370
+ /usr/bin/bzip2 -dc /home/fhimpe/rpm/SOURCES/plt-370-src-unix.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd plt-370
+ echo 'Patch #0 (plt-370-destdir.patch):'
Patch #0 (plt-370-destdir.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /home/fhimpe/rpm/BUILDROOT/rpm-tmp.99484
+ umask 022
+ cd /home/fhimpe/rpm/BUILD
+ cd plt-370
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd src
+ CONFIGURE_TOP=.
+ CFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables'
+ export FFLAGS
+ cputoolize -c .
+ '[' -f ./configure.in -o -f ./configure.ac ']'
+ ./configure i586-mandriva-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/lib --libexecdir=/usr/lib --localstatedir=/var/lib --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-gl --enable-xrender --enable-xft --enable-shared
configure: WARNING: you should use --build, --host, --target
=== Shared libraries enabled
checking for i586-mandriva-linux-gnu-gcc... i586-mandriva-linux-gnu-gcc
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 i586-mandriva-linux-gnu-gcc accepts -g... yes
checking for i586-mandriva-linux-gnu-gcc option to accept ANSI C... none needed
checking how to run the C preprocessor... i586-mandriva-linux-gnu-gcc -E
checking for i586-mandriva-linux-gnu-g++... i586-mandriva-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether i586-mandriva-linux-gnu-g++ accepts -g... yes
checking how to run the C++ preprocessor... i586-mandriva-linux-gnu-g++ -E
checking for i586-mandriva-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for X... libraries , headers 
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for cos in -lm... yes
checking for dlopen in -ldl... yes
checking for inline keyword... yes
checking for nl_langinfo (CODESET)... yes
checking for getaddrinfo... yes
checking for egrep... grep -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 iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking iconv is usable... yes
checking for mbsrtowcs... yes
checking for char... yes
checking size of char... 1
checking for short... yes
checking size of short... 2
checking for int... yes
checking size of int... 4
checking for long... yes
checking size of long... 4
checking for long long... yes
checking size of long long... 8
checking for stack direction... down
checking whether byte ordering is bigendian... no
checking whether C++ compiler works... yes
checking whether new and new[] are different... yes
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking X11/Intrinsic.h usability... yes
checking X11/Intrinsic.h presence... yes
checking for X11/Intrinsic.h... yes
checking for XFlush in -lX11... yes
checking for XSyncQueryExtension in -lXext... yes
checking for XtDestroyWidget in -lXt... yes
checking for XmuInternAtom in -lXmu... yes
checking for vendorShellClassRec in -lXaw... yes
checking whether X11/XKBlib.h is available... yes
checking GL/glx.h usability... yes
checking GL/glx.h presence... yes
checking for GL/glx.h... yes
checking for glXChooseVisual in -lGL... yes
checking X11/extensions/Xrender.h usability... yes
checking X11/extensions/Xrender.h presence... yes
checking for X11/extensions/Xrender.h... yes
checking for XRenderQueryExtension in -lXrender... yes
Using pkg-config xft...
Xft flags: -I/usr/include/freetype2  
Xft libs: -lXft -lXrender -lfontconfig -lfreetype -lz -lX11  
Using pkg-config for Cairo...
Cairo flags: -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng12  
Cairo libs: -lcairo  
checking for cairo_create in -lcairo... yes
checking cairo-xlib.h usability... yes
checking cairo-xlib.h presence... yes
checking for cairo-xlib.h... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_read_info in -lpng... yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_start_decompress in -ljpeg... yes
Configuring libtool
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
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... /usr/bin/nm -B
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 for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fl32... no
checking for af77... no
checking for fort77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... f95
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f95 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
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) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
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 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
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for f95 option to produce PIC... -fPIC
checking if f95 PIC flag -fPIC works... yes
checking if f95 supports -c -o file.o... yes
checking whether the f95 linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
configure: creating ./config.status
config.status: creating Makefile
config.status: creating mzscheme/Makefile
config.status: creating mzscheme/src/Makefile
config.status: creating mzscheme/dynsrc/Makefile
config.status: creating mzscheme/gc/Makefile
config.status: creating mzscheme/sgc/Makefile
config.status: creating mzscheme/gc2/Makefile
config.status: creating foreign/Makefile
config.status: creating mred/Makefile
config.status: creating mred/wxs/Makefile
config.status: creating mred/wxme/Makefile
config.status: creating mred/gc2/Makefile
config.status: creating wxcommon/libpng/Makefile
config.status: creating wxcommon/zlib/Makefile
config.status: creating wxxt/src/Makefile
config.status: creating wxxt/src/x/Makefile
config.status: creating wxxt/utils/image/src/Makefile
config.status: creating wxxt/contrib/xpm/lib/Makefile
config.status: creating mzscheme/mzconfig.h
configure: configuring in foreign/gcc/libffi
configure: running /bin/sh './configure' --prefix=/usr  'i586-mandriva-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/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--enable-gl' '--enable-xrender' '--enable-xft' '--enable-shared' 'CFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables' 'CXXFLAGS=-O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables' 'build_alias=i586-mandriva-linux-gnu' 'host_alias=i586-mandriva-linux-gnu' 'target_alias=i586-mandriva-linux-gnu' --enable-shared --disable-multilib --cache-file=/dev/null --srcdir=.
configure: WARNING: you should use --build, --host, --target
checking build system type... i586-mandriva-linux-gnu
checking host system type... i586-mandriva-linux-gnu
checking target system type... i586-mandriva-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 for i586-mandriva-linux-gnu-gcc... i586-mandriva-linux-gnu-gcc
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 i586-mandriva-linux-gnu-gcc accepts -g... yes
checking for i586-mandriva-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i586-mandriva-linux-gnu-gcc... gcc3
checking whether i586-mandriva-linux-gnu-gcc and cc understand -c and -o together... yes
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 dependant libraries... pass_all
checking the maximum length of command line arguments... none
checking for i586-mandriva-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for i586-mandriva-linux-gnu-strip... no
checking for strip... strip
checking whether -lc should be explicitly linked in... no
checking for objdir... .libs
checking for i586-mandriva-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if i586-mandriva-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if i586-mandriva-linux-gnu-gcc static flag -static works... yes
finding the maximum length of command line arguments... 49153
checking if i586-mandriva-linux-gnu-gcc supports -c -o file.o... yes
checking if i586-mandriva-linux-gnu-gcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse nm output... ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
updating cache /dev/null
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to run the C preprocessor... i586-mandriva-linux-gnu-gcc -E
checking for egrep... grep -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 sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mmap... yes
checking for sys/mman.h... (cached) yes
checking for mmap... (cached) yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking for ANSI C header files... (cached) yes
checking for memcpy... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for double... yes
checking size of double... 8
checking for long double... yes
checking size of long double... 12
checking whether byte ordering is bigendian... no
checking whether .eh_frame section should be read-only... yes
checking for __attribute__((visibility("hidden")))... yes
configure: creating ./config.status
config.status: creating include/Makefile
config.status: creating include/ffi.h
config.status: creating Makefile
config.status: creating fficonfig.h
config.status: linking ./src/x86/ffitarget.h to include/ffitarget.h
config.status: executing default-1 commands
config.status: executing depfiles commands
config.status: executing include commands
config.status: executing src commands
>>> Installation targets:
 executables  : /usr/bin/...
 Scheme code  : /usr/lib/plt/collects/...
 core docs    : /usr/share/plt/doc/...
 C libraries  : /usr/lib/...
 C headers    : /usr/include/plt/...
 extra C objs : /usr/lib/plt/...
 man pages    : /usr/share/man/...
  where prefix = /usr
    and exec_prefix = /usr
+ make
make 3m
make[1]: Entering directory `/home/fhimpe/rpm/BUILD/plt-370/src'
cd mzscheme; make 3m
make[2]: Entering directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme'
make cgc
make[3]: Entering directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme'
make common
make[4]: Entering directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme'
make g-c
make[5]: Entering directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme'
cd gc; make ../libmzgc.la 
make[6]: Entering directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme/gc'
/home/fhimpe/rpm/BUILD/plt-370/src/lt/libtool --mode=compile i586-mandriva-linux-gnu-gcc  -I./include -DNO_SIGNALS -O2 -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables     -DNO_EXECUTE_PERMISSION -DSILENT -DNO_GETENV -DLARGE_CONFIG -DATOMIC_UNCOLLECTABLE -DINITIAL_MARK_STACK_SIZE=8192 -c ./alloc.c
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make[6]: *** [alloc.lo] Error 1
make[6]: Leaving directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme/gc'
make[5]: *** [g-c] Error 2
make[5]: Leaving directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme'
make[4]: *** [common] Error 2
make[4]: Leaving directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme'
make[3]: *** [cgc] Error 2
make[3]: Leaving directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme'
make[2]: *** [3m] Error 2
make[2]: Leaving directory `/home/fhimpe/rpm/BUILD/plt-370/src/mzscheme'
make[1]: *** [3m] Error 2
make[1]: Leaving directory `/home/fhimpe/rpm/BUILD/plt-370/src'
make: *** [all] Error 2
error: Bad exit status from /home/fhimpe/rpm/BUILDROOT/rpm-tmp.99484 (%build)


RPM build errors:
    Bad exit status from /home/fhimpe/rpm/BUILDROOT/rpm-tmp.99484 (%build)

