m Yup. that sums it up. This is the rpm in question: egcs-1.1.2-24.src.rpm First, 'rpm --rebuild' tried to update /usr just because tetex-xdvi was noy installed. That's pretty bad (and a really excellent reason to not build RPMs as root). It was trying to do something with kpsestat during the configure processing. Clearly, it needs to test whether the program is actually installed. One I found that, the next failure is this: [summer@emu summer]$ time rpm --rebuild /u03/brokenrpms/egcs-1.1.2-24.src.r pm >egcs.build.log 2>&1 real 81m21.904s user 72m36.900s sys 4m54.800s [summer@emu summer]$ [summer@emu egcs-1.1.2]$ tail -20 ~/egcs.build.log + xargs strip + cut -d: -f1 + strip /tmp/Begcs/usr/lib/gcc-lib/i586-redhat-linux/egcs-2.91.66/cc1 /tmp/Begcs/usr/lib/gcc-lib/i586-redhat-linux/egcs-2.91.66/cc1obj /tmp/Begcs/usr/lib/gcc-lib/i586-redhat-linux/egcs-2.91.66/cc1plus /tmp/Begcs/usr/lib/gcc-lib/i586-redhat-linux/egcs-2.91.66/cpp /tmp/Begcs/usr/lib/gcc-lib/i586-redhat-linux/egcs-2.91.66/f771 /tmp/Begcs/usr/lib/gcc-lib/i586-redhat-linux/egcs-2.91.66/collect2 + ln /tmp/Begcs/usr/bin/i586-redhat-linux-gcc /tmp/Begcs/usr/bin/egcs + ln -sf gcc /tmp/Begcs/usr/bin/cc + ln /tmp/Begcs/usr/man/man1/gcc.1 /tmp/Begcs/usr/man/man1/egcs.1 + rm -f /tmp/Begcs/usr/info/dir + gzip -n -9f /tmp/Begcs/usr/info/cpp.info /tmp/Begcs/usr/info/g77.info /tmp/Begcs/usr/info/gcc.info + ln -sf g77.1 /tmp/Begcs/usr/man/man1/f77.1 + ln -sf g77 /tmp/Begcs/usr/bin/f77 + mkdir -p /tmp/Begcs/lib + ln -sf ../usr/lib/gcc-lib/i586-redhat-linux/egcs-2.91.66/cpp /tmp/Begcs/lib/cpp + ln -sf cccp.1 /tmp/Begcs/usr/man/man1/cpp.1 + '[' -d ../compat/i586 ']' + pushd /tmp/Begcs/usr/lib /tmp/Begcs/usr/lib /tmp/egcs/egcs-1.1.2/obj-i586-linux + touch foo.c + ../bin/g++ -fPIC -L. -shared -o libstdc++.so.2.9.dummy -Wl,-soname,libstdc++.so.2.9 ld: cannot open linker script file libgcc.map: No such file or directory Bad exit status from /var/tmp/rpm-tmp.73337 (%install) [summer@emu egcs-1.1.2]$ I renamed ld to Ld and substituted this script (called ld): [summer@possum summer]$ cat /usr/bin/ld #!/bin/bash echo echo $0 echo $@ pwd /usr/bin/Ld $@ [summer@possum summer]$ (and reran on a faster computer). I extracted this info: + ln -sf cccp.1 /tmp/Begcs/usr/man/man1/cpp.1 + '[' -d ../compat/i586 ']' + pushd /tmp/Begcs/usr/lib /tmp/Begcs/usr/lib /tmp/egcs/egcs-1.1.2/obj-i586-linux + touch foo.c + ../bin/g++ -fPIC -L. -shared -o libstdc++.so.2.9.dummy -Wl,-soname,libstdc++.so.2.9 /usr/bin/ld -m elf_i386 -shared -o libstdc++.so.2.9.dummy /usr/lib/crti.o crtbeginS.o -L. -soname libstdc++.so.2.9 -lstdc++ -lm -lgcc -lc --version-script libgcc.map -lgcc crtendS.o /usr/lib/crtn.o /tmp/Begcs/usr/lib /usr/bin/Ld: cannot open linker script file libgcc.map: No such file or directory Bad exit status from /var/tmp/rpm-tmp.54624 (%install) real 43m8.731s user 38m19.990s sys 2m11.000s [summer@possum summer]$ cat /usr/bin/ld These libgcc.map files exist: /usr/bin/Ld $@ [summer@possum summer]$ find /tmp/ -name libgcc.map -ls find: /tmp/orbit-root: Permission denied 68485 4 -rw-r--r-- 1 summer summer 549 Dec 13 10:19 /tmp/egcs/egcs-1.1.2/obj-i586-linux/gcc/libgcc.map 69160 4 -rw-r--r-- 1 summer summer 549 Dec 13 10:55 /tmp/Begcs/usr/lib/gcc-lib/i586-redhat-linux/egcs-2.91.66/libgcc.map [summer@possum summer]$ How on earth does anyone build this thing? How does anyone release such .... -- Cheers John Summerfield http://os2.ami.com.au/os2/ for OS/2 support. Configuration, networking, combined IBM ftpsites index. -- Cheers John Summerfield http://os2.ami.com.au/os2/ for OS/2 support. Configuration, networking, combined IBM ftpsites index. -- To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null