usbutils failed to build on i586 for dockyard-devel.
Last 2500 lines of build log:
Installing usbutils-0.11-1ark.src.rpm
Building target platforms: i586
Building for target i586
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.49618
+ umask 022
+ cd /build-usbutils-i586/BUILD
+ cd /build-usbutils-i586/BUILD
+ rm -rf usbutils-0.11
+ /usr/bin/bzip2 -dc /usr/src/ark/SOURCES/usbutils-0.11.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd usbutils-0.11
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (usbutils-0.9-hwdata.patch):'
Patch #0 (usbutils-0.9-hwdata.patch):
+ patch -p1 -s
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.49618
+ umask 022
+ cd /build-usbutils-i586/BUILD
+ cd usbutils-0.11
+ cp /usr/share/libtool/config.sub /usr/share/libtool/config.guess .
+ CFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb
-frename-registers'
+ export CFLAGS
+ CXXFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb
-frename-registers -fvisibility-inlines-hidden'
+ export CXXFLAGS
+ FFLAGS='-O2 -march=i586 -mtune=i686 -fomit-frame-pointer -fweb
-frename-registers'
+ export FFLAGS
+ '[' 0 = 1 ']'
+ '[' 0 = 1 ']'
+ CROSSCOMPILE='--target=i586-ark-linux --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu'
+ '[' %cross '!=' %cross -a -n %cross ']'
+ export CROSSCOMPILE
+ ./configure --target=i586-ark-linux --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr
--program-prefix= --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --sbindir=/sbin
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i586-ark-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether make sets ${MAKE}... (cached) yes
checking for strerror in -lcposix... no
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -march=i586 -mtune=i686
-fomit-frame-pointer -fweb -frename-registers ) works... yes
checking whether the C compiler (gcc -O2 -march=i586 -mtune=i686
-fomit-frame-pointer -fweb -frename-registers ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for working const... yes
checking for inline... inline
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for ranlib... ranlib
checking for dlltool... dlltool
checking for as... as
checking for ar... ar
checking for getopt.h... yes
checking for sys/ioctl.h... yes
checking for syslog.h... yes
checking for errno.h... yes
checking for linux/usb.h... yes
checking for linux/usbdevice_fs.h... yes
checking for getopt_long... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
configuring in libusb
running /bin/sh ./configure --target=i586-ark-linux --host=i686-pc-linux-gnu
--build=i686-pc-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr
--program-prefix= --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --sbindir=/sbin
--cache-file=.././config.cache --srcdir=.
loading cache .././config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i586-ark-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... (cached) yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for ranlib... (cached) ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O2 -march=i586 -mtune=i686
-fomit-frame-pointer -fweb -frename-registers ) works... yes
checking whether the C compiler (gcc -O2 -march=i586 -mtune=i686
-fomit-frame-pointer -fweb -frename-registers ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache .././config.cache
checking for object suffix... o
checking for executable suffix... 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 if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... none
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache .././config.cache
checking whether make sets ${MAKE}... (cached) yes
checking for POSIXized ISC... no
checking for gcc... (cached) gcc
checking whether the C compiler (gcc -O2 -march=i586 -mtune=i686
-fomit-frame-pointer -fweb -frename-registers ) works... yes
checking whether the C compiler (gcc -O2 -march=i586 -mtune=i686
-fomit-frame-pointer -fweb -frename-registers ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking for working const... (cached) yes
checking for inline... (cached) inline
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for ranlib... (cached) ranlib
checking for dlltool... (cached) dlltool
checking for as... (cached) as
checking for ar... (cached) ar
checking for getopt.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for syslog.h... (cached) yes
checking for errno.h... (cached) yes
checking for linux/usb.h... (cached) yes
creating ./config.status
creating Makefile
creating config.h
+ make
make all-recursive
make[1]: Entering directory `/build-usbutils-i586/BUILD/usbutils-0.11'
Making all in libusb
make[2]: Entering directory `/build-usbutils-i586/BUILD/usbutils-0.11/libusb'
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -O2
-march=i586 -mtune=i686 -fomit-frame-pointer -fweb -frename-registers -c
access.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -O2 -march=i586 -mtune=i686
-fomit-frame-pointer -fweb -frename-registers -c -fPIC -DPIC access.c -o
.libs/access.lo
In file included from /usr/include/linux/usb.h:4,
from access.c:34:
/usr/include/linux/mod_devicetable.h:18: error: syntax error before "uint32_t"
/usr/include/linux/mod_devicetable.h:20: error: syntax error before "class"
/usr/include/linux/mod_devicetable.h:21: error: syntax error before
"driver_data"
/usr/include/linux/mod_devicetable.h:31: error: syntax error before "uint32_t"
/usr/include/linux/mod_devicetable.h:33: error: syntax error before "model_id"
/usr/include/linux/mod_devicetable.h:34: error: syntax error before
"specifier_id"
/usr/include/linux/mod_devicetable.h:35: error: syntax error before "version"
/usr/include/linux/mod_devicetable.h:36: error: syntax error before
"driver_data"
/usr/include/linux/mod_devicetable.h:99: error: syntax error before "uint16_t"
/usr/include/linux/mod_devicetable.h:103: error: syntax error before "idProduct"
/usr/include/linux/mod_devicetable.h:104: error: syntax error before
"bcdDevice_lo"
/usr/include/linux/mod_devicetable.h:105: error: syntax error before
"bcdDevice_hi"
/usr/include/linux/mod_devicetable.h:108: error: syntax error before
"bDeviceClass"
/usr/include/linux/mod_devicetable.h:109: error: syntax error before
"bDeviceSubClass"
/usr/include/linux/mod_devicetable.h:110: error: syntax error before
"bDeviceProtocol"
/usr/include/linux/mod_devicetable.h:113: error: syntax error before
"bInterfaceClass"
/usr/include/linux/mod_devicetable.h:114: error: syntax error before
"bInterfaceSubClass"
/usr/include/linux/mod_devicetable.h:115: error: syntax error before
"bInterfaceProtocol"
/usr/include/linux/mod_devicetable.h:118: error: syntax error before
"driver_info"
/usr/include/linux/mod_devicetable.h:135: error: syntax error before "uint16_t"
/usr/include/linux/mod_devicetable.h:138: error: syntax error before "dev_type"
/usr/include/linux/mod_devicetable.h:139: error: syntax error before "cu_model"
/usr/include/linux/mod_devicetable.h:140: error: syntax error before "dev_model"
/usr/include/linux/mod_devicetable.h:142: error: syntax error before
"driver_info"
/usr/include/linux/mod_devicetable.h:155: error: syntax error before "uint8_t"
/usr/include/linux/mod_devicetable.h:160: error: syntax error before "uint8_t"
/usr/include/linux/mod_devicetable.h:163: error: syntax error before "uint8_t"
/usr/include/linux/mod_devicetable.h:165: error: syntax error before '}' token
In file included from /usr/include/linux/usb.h:5,
from access.c:34:
/usr/include/linux/usb_ch9.h:106: error: syntax error before "__le16"
/usr/include/linux/usb_ch9.h:108: error: syntax error before "wLength"
/usr/include/linux/usb_ch9.h:233: error: syntax error before "__le16"
make[2]: *** [access.lo] Error 1
make[2]: Leaving directory `/build-usbutils-i586/BUILD/usbutils-0.11/libusb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/build-usbutils-i586/BUILD/usbutils-0.11'
make: *** [all-recursive-am] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.49618 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.49618 (%build)
|