Problem rebuilding tools from SRPMs

Steven Johnson sjohnson at sakuraindustries.com
Fri Nov 18 02:37:56 UTC 2005


Hi,

Im trying to rebuild to tools from the SRPMs, and Im striking the 
following error, compiling binutils.

Im trying to build the PowerPC tools.

I execute:
rpmbuild --recompile --rebuild 
rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-2.nosrc.rpm

It starts:

Installing rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-2.nosrc.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.53621
+ umask 022
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1
+ /bin/mkdir -p rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1
+ cd rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1
+ /usr/bin/bzip2 -dc /usr/src/RPM/SOURCES/binutils-2.13.2.1.tar.bz2
+ tar -xvvf -
-rw-rw-rw- drow/drow      4658 2002-01-27 08:25:00 
binutils-2.13.2.1/binutils/doc/Makefile.am
drwxr-xr-x                  Creating directory: binutils-2.13.2.1
drwxr-xr-x                  Creating directory: binutils-2.13.2.1/binutils
drwxr-xr-x                  Creating directory: 
binutils-2.13.2.1/binutils/doc
-rw-rw-rw- drow/drow     15549 2002-07-16 13:04:37 
binutils-2.13.2.1/binutils/doc/Makefile.in
-rw-rw-rw- drow/drow    141091 2002-07-31 05:17:41 
binutils-2.13.2.1/binutils/doc/binutils.texi
-rw-rw-rw- drow/drow      7539 2002-08-06 07:43:46 
binutils-2.13.2.1/binutils/doc/addr2line.1
-rw-rw-rw- drow/drow     14859 2002-08-06 07:43:46 
binutils-2.13.2.1/binutils/doc/ar.1
-rw-rw-rw- drow/drow      2428 2003-01-02 12:25:07 
binutils-2.13.2.1/binutils/doc/binutils.info
-rw-rw-rw- drow/drow     44267 2003-01-02 12:25:07 
binutils-2.13.2.1/binutils/doc/binutils.info-1
-rw-rw-rw- drow/drow     49761 2003-01-02 12:25:07 
binutils-2.13.2.1/binutils/doc/binutils.info-2
-rw-rw-rw- drow/drow     40167 2003-01-02 12:25:07 
binutils-2.13.2.1/binutils/doc/binutils.info-3
-rw-rw-rw- drow/drow      7944 2002-08-06 07:43:46 
binutils-2.13.2.1/binutils/doc/cxxfilt.man
-rw-rw-rw- drow/drow     15864 2002-08-06 07:43:46 
binutils-2.13.2.1/binutils/doc/dlltool.1
-rw-rw-rw- drow/drow      7538 2002-08-06 07:43:46 
binutils-2.13.2.1/binutils/doc/nlmconv.1

It goes for a while, and then terminates with:

/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/bfd.info.gz
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/binutils.info.gz
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/configure.info.gz
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/standards.info.gz'
+ test 
'x/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/as.info.gz
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/ld.info.gz
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/bfd.info.gz
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/binutils.info.gz
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/configure.info.gz
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/standards.info.gz' 
'!=' x
+ for i in '$f'
+ /sbin/install-info 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/as.info.gz 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/dir
+ for i in '$f'
+ /sbin/install-info 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/ld.info.gz 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/dir
+ for i in '$f'
+ /sbin/install-info 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/bfd.info.gz 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/dir
+ for i in '$f'
+ /sbin/install-info 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/binutils.info.gz 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/dir
+ for i in '$f'
+ /sbin/install-info 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/configure.info.gz 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/dir
+ for i in '$f'
+ /sbin/install-info 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/standards.info.gz 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/dir
Processing files: rtems-4.6-rtems-base-binutils-2.13.2.1-2
error: File not found by glob: 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/binutils.info-?.gz
error: File not found by glob: 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/ld.info-?.gz
Processing files: rtems-4.6-powerpc-rtems-binutils-2.13.2.1-2


RPM build errors:
    File not found by glob: 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/binutils.info-?.gz
    File not found by glob: 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/ld.info-?.gz

Any ideas what i could be doing wrong?

Im logged in as Root.  I havent changed any paths or anything.

This is what it built:

[root at lindev2 SRC]# ls -al 
/var/tmp/rtems-4.6-powerpc-rtems-binutils-collection-2.13.2.1-root/opt/rtems-4.6/info/
total 476
drwxr-xr-x  2 root root  4096 Nov 18 09:58 ./
drwxr-xr-x  8 root root  4096 Nov 18 09:58 ../
-rw-r--r--  1 root root 82872 Nov 18 09:58 as.info-1.gz
-rw-r--r--  1 root root 60620 Nov 18 09:58 as.info-2.gz
-rw-r--r--  1 root root  3860 Nov 18 09:58 as.info.gz
-rw-r--r--  1 root root 77361 Nov 18 09:58 bfd.info-1.gz
-rw-r--r--  1 root root  8141 Nov 18 09:58 bfd.info-2.gz
-rw-r--r--  1 root root  1278 Nov 18 09:58 bfd.info.gz
-rw-r--r--  1 root root 38304 Nov 18 09:58 binutils.info.gz
-rw-r--r--  1 root root 14537 Nov 18 09:58 configure.info-1.gz
-rw-r--r--  1 root root 14059 Nov 18 09:58 configure.info-2.gz
-rw-r--r--  1 root root  4186 Nov 18 09:58 configure.info-3.gz
-rw-r--r--  1 root root  1190 Nov 18 09:58 configure.info.gz
-rw-r--r--  1 root root  1967 Nov 18 09:58 dir
-rw-r--r--  1 root root 66089 Nov 18 09:58 ld.info.gz
-rw-r--r--  1 root root 57331 Nov 18 09:58 standards.info.gz

So, yes there really isnt any binutils.info-?.gz or ld.info-?.gz files???

I have makeinfo (GNU texinfo) 4.8 installed on my build system.

Steven




More information about the users mailing list