ERRORS: libusb.spec

PLD th-amd64 builder builder-th-amd at pld-linux.org
Thu May 5 02:34:08 CEST 2005


libusb.spec (HEAD): FAILED

--- libusb.spec:HEAD:
Build-Time: user:17.66s sys:4.00s real:30.05s (faults io:159 non-io:827863)



*** buildlog for libusb.spec
request from: adamg
started at: Thu May  5 02:33:38 2005
fetching http://ep09.pld-linux.org/~builderth/srpms/dededfd0-012b-466d-9f9f-1e625d453c54/libusb-0.1.10a-1.src.rpm
fetched 382452 bytes, 1329.7 K/s
installing srpm: libusb-0.1.10a-1.src.rpm
checking BR
no BR needed
building RPM using: cd rpm/SPECS; TMPDIR=/tmp/B.79fa3f nice -n 0 rpmbuild -bb  --target amd64-pld-linux libusb.spec
Building target platforms: amd64-pld-linux
Building for target amd64-pld-linux
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.69516
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ unset LINGUAS
+ :
+ cd /home/users/builder/rpm/BUILD
+ rm -rf libusb-0.1.10a
+ /bin/gzip -dc /home/users/builder/rpm/SOURCES/libusb-0.1.10a.tar.gz
+ tar -xf -
+ STATUS=0
+ [ 0 -ne 0 ]
+ cd libusb-0.1.10a
+ /bin/id -u
+ [ 1003 = 0 ]
+ true .
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/perl -pi -e s/DocBook V4\.2/DocBook V4.1/ doc/manual.sgml
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.69516
+ umask 022
+ cd /home/users/builder/rpm/BUILD
+ cd libusb-0.1.10a
+ LANG=C
+ export LANG
+ unset DISPLAY
+ :
+ unset LINGUAS
+ :
+ libtoolize --copy --force
+ aclocal
+ autoconf
+ autoheader
+ automake -a -c -f --foreign
+ ./configure LDFLAGS= CFLAGS=-O2 -ggdb CXXFLAGS=-O2 -ggdb -fvisibility-inlines-hidden FFLAGS=-O2 -ggdb CPPFLAGS= CC=amd64-pld-linux-gcc CXX=amd64-pld-linux-g++ --build=amd64-pld-linux --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/lib64 --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --x-libraries=/usr/X11R6/lib64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pld-linux-gnu
checking host system type... x86_64-pld-linux-gnu
checking for style of include used by make... GNU
checking for gcc... amd64-pld-linux-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 amd64-pld-linux-gcc accepts -g... yes
checking for amd64-pld-linux-gcc option to accept ANSI C... none needed
checking dependency style of amd64-pld-linux-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by amd64-pld-linux-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... amd64-pld-linux-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 whether we are using the GNU C++ compiler... yes
checking whether amd64-pld-linux-g++ accepts -g... yes
checking dependency style of amd64-pld-linux-g++... gcc3
checking how to run the C++ preprocessor... amd64-pld-linux-g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from amd64-pld-linux-gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if amd64-pld-linux-gcc static flag  works... yes
checking if amd64-pld-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for amd64-pld-linux-gcc option to produce PIC... -fPIC
checking if amd64-pld-linux-gcc PIC flag -fPIC works... yes
checking if amd64-pld-linux-gcc supports -c -o file.o... yes
checking whether the amd64-pld-linux-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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by amd64-pld-linux-g++... /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 amd64-pld-linux-g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for amd64-pld-linux-g++ option to produce PIC... -fPIC
checking if amd64-pld-linux-g++ PIC flag -fPIC works... yes
checking if amd64-pld-linux-g++ supports -c -o file.o... yes
checking whether the amd64-pld-linux-g++ 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 what USB OS support... Linux
checking for gcc... (cached) amd64-pld-linux-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether amd64-pld-linux-gcc accepts -g... (cached) yes
checking for amd64-pld-linux-gcc option to accept ANSI C... (cached) none needed
checking dependency style of amd64-pld-linux-gcc... (cached) gcc3
checking whether amd64-pld-linux-gcc and cc understand -c and -o together... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ANSI C header files... (cached) yes
checking for vprintf... yes
checking for _doprnt... no
checking for an ANSI C-conforming const... yes
checking whether byte ordering is bigendian... no
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking values.h usability... yes
checking values.h presence... yes
checking for values.h... yes
checking for memmove... yes
checking if we should build the documentation... auto
checking for jade... jade
checking for Doxygen tools... checking for dot... not found
checking for doxygen... /usr/bin/doxygen
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating libusb.spec
config.status: creating libusb-config
config.status: creating tests/Makefile
config.status: creating README
config.status: creating INSTALL.libusb
config.status: creating usb.h
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing default commands
+ /usr/bin/make
cd . && /bin/sh /home/users/builder/rpm/BUILD/libusb-0.1.10a/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
/usr/bin/make  all-recursive
make[1]: Entering directory `/home/users/builder/rpm/BUILD/libusb-0.1.10a'
Making all in .
make[2]: Entering directory `/home/users/builder/rpm/BUILD/libusb-0.1.10a'
depbase=`echo usb.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/sh ./libtool --tag=CC --mode=compile amd64-pld-linux-gcc -DHAVE_CONFIG_H   -I.   -O2 -ggdb -Wall -MT usb.lo -MD -MP -MF "$depbase.Tpo" -c -o usb.lo usb.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
mkdir .libs
 amd64-pld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -ggdb -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c  -fPIC -DPIC -o .libs/usb.o
 amd64-pld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -ggdb -Wall -MT usb.lo -MD -MP -MF .deps/usb.Tpo -c usb.c -o usb.o >/dev/null 2>&1
depbase=`echo error.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/sh ./libtool --tag=CC --mode=compile amd64-pld-linux-gcc -DHAVE_CONFIG_H   -I.   -O2 -ggdb -Wall -MT error.lo -MD -MP -MF "$depbase.Tpo" -c -o error.lo error.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
 amd64-pld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -ggdb -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c  -fPIC -DPIC -o .libs/error.o
 amd64-pld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -ggdb -Wall -MT error.lo -MD -MP -MF .deps/error.Tpo -c error.c -o error.o >/dev/null 2>&1
depbase=`echo descriptors.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/sh ./libtool --tag=CC --mode=compile amd64-pld-linux-gcc -DHAVE_CONFIG_H   -I.   -O2 -ggdb -Wall -MT descriptors.lo -MD -MP -MF "$depbase.Tpo" -c -o descriptors.lo descriptors.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
 amd64-pld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -ggdb -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c  -fPIC -DPIC -o .libs/descriptors.o
descriptors.c: In function 'usb_parse_configuration':
descriptors.c:340: warning: pointer targets in passing argument 2 of 'usb_parse_interface' differ in signedness
 amd64-pld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -ggdb -Wall -MT descriptors.lo -MD -MP -MF .deps/descriptors.Tpo -c descriptors.c -o descriptors.o >/dev/null 2>&1
depbase=`echo linux.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/sh ./libtool --tag=CC --mode=compile amd64-pld-linux-gcc -DHAVE_CONFIG_H   -I.   -O2 -ggdb -Wall -MT linux.lo -MD -MP -MF "$depbase.Tpo" -c -o linux.lo linux.c; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
 amd64-pld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -ggdb -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c  -fPIC -DPIC -o .libs/linux.o
linux.c: In function 'usb_urb_transfer':
linux.c:201: warning: cast to pointer from integer of different size
linux.c: In function 'usb_os_determine_children':
linux.c:554: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
linux.c: In function 'check_usb_vfs':
linux.c:591: warning: pointer targets in passing argument 1 of 'opendir' differ in signedness
linux.c: In function 'usb_os_init':
linux.c:614: warning: pointer targets in passing argument 1 of 'check_usb_vfs' differ in signedness
linux.c:622: warning: pointer targets in passing argument 1 of 'check_usb_vfs' differ in signedness
linux.c:625: warning: pointer targets in passing argument 1 of 'check_usb_vfs' differ in signedness
linux.c:628: warning: pointer targets in passing argument 1 of 'check_usb_vfs' differ in signedness
 amd64-pld-linux-gcc -DHAVE_CONFIG_H -I. -O2 -ggdb -Wall -MT linux.lo -MD -MP -MF .deps/linux.Tpo -c linux.c -o linux.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CC --mode=link amd64-pld-linux-gcc  -O2 -ggdb -Wall   -o libusb.la -rpath /usr/lib64 -version-info 8:2:4 -release 0.1 -export-dynamic  usb.lo error.lo descriptors.lo linux.lo  
amd64-pld-linux-gcc -shared  .libs/usb.o .libs/error.o .libs/descriptors.o .libs/linux.o   -Wl,-soname -Wl,libusb-0.1.so.4 -o .libs/libusb-0.1.so.4.4.2
(cd .libs && rm -f libusb-0.1.so.4 && ln -s libusb-0.1.so.4.4.2 libusb-0.1.so.4)
(cd .libs && rm -f libusb.so && ln -s libusb-0.1.so.4.4.2 libusb.so)
ar cru .libs/libusb.a  usb.o error.o descriptors.o linux.o
ranlib .libs/libusb.a
creating libusb.la
(cd .libs && rm -f libusb.la && ln -s ../libusb.la libusb.la)
depbase=`echo usbpp.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \
if /bin/sh ./libtool --tag=CXX --mode=compile amd64-pld-linux-g++ -DHAVE_CONFIG_H   -I.   -O2 -ggdb -fvisibility-inlines-hidden -MT usbpp.lo -MD -MP -MF "$depbase.Tpo" -c -o usbpp.lo usbpp.cpp; \
then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi
 amd64-pld-linux-g++ -DHAVE_CONFIG_H -I. -O2 -ggdb -fvisibility-inlines-hidden -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp  -fPIC -DPIC -o .libs/usbpp.o
 amd64-pld-linux-g++ -DHAVE_CONFIG_H -I. -O2 -ggdb -fvisibility-inlines-hidden -MT usbpp.lo -MD -MP -MF .deps/usbpp.Tpo -c usbpp.cpp -o usbpp.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CXX --mode=link amd64-pld-linux-g++  -O2 -ggdb -fvisibility-inlines-hidden   -o libusbpp.la -rpath /usr/lib64 -version-info 8:2:4 -release 0.1 -export-dynamic  -lusb  usbpp.lo  
amd64-pld-linux-g++ -shared -nostdlib /usr/lib64/gcc/amd64-pld-linux/4.0.0/../../../../lib64/crti.o /usr/lib64/gcc/amd64-pld-linux/4.0.0/crtbeginS.o  .libs/usbpp.o  -Wl,--rpath -Wl,/home/users/builder/rpm/BUILD/libusb-0.1.10a/.libs /home/users/builder/rpm/BUILD/libusb-0.1.10a/.libs/libusb.so -L/usr/lib64/gcc/amd64-pld-linux/4.0.0 -L/usr/lib64/gcc/amd64-pld-linux/4.0.0/../../../../lib64 -L/usr/lib64/gcc/amd64-pld-linux/4.0.0/../../.. -L/lib/../lib64 -L/usr/lib/../lib64 /usr/lib64/libstdc++.so -lm -lc -lgcc_s /usr/lib64/gcc/amd64-pld-linux/4.0.0/crtendS.o /usr/lib64/gcc/amd64-pld-linux/4.0.0/../../../../lib64/crtn.o  -Wl,-soname -Wl,libusbpp-0.1.so.4 -o .libs/libusbpp-0.1.so.4.4.2
/usr/bin/ld: .libs/usbpp.o: relocation R_X86_64_PC32 against `_ZNSaIcEC1Ev@@GLIBCXX_3.4' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libusbpp.la] Error 1
make[2]: Leaving directory `/home/users/builder/rpm/BUILD/libusb-0.1.10a'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/builder/rpm/BUILD/libusb-0.1.10a'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.69516 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.69516 (%build)
error: No files produced.
Begin-PLD-Builder-Info
Build-Time: user:17.66s sys:4.00s real:30.05s (faults io:159 non-io:827863)

End-PLD-Builder-Info






More information about the pld-logs-th mailing list