On Fri, Jul 22, 2005, Ralf S. Engelschall wrote: > On Fri, Jul 22, 2005, Doug Summers wrote: > > > [...] > > I was also able to get GCC to build, by using --define="with_binutils > > no" and removing the RPM version of binutils. The mv command is failing > > because of the parent directory being deleted a couple of commands > > before. I really think it's the order of the libraries that's causing > > the problem, but I don't know where to look. I'm wondering if taking out > > the rm -rf command in the cleanup section would cause any problems. > > I'll try to investigate on this issue...
Does the following change fix your problem? Index: gcc.spec =================================================================== RCS file: /v/openpkg/cvs/openpkg-src/gcc/gcc.spec,v retrieving revision 1.110 diff -u -d -u -d -u -d -r1.110 gcc.spec --- gcc.spec 7 Jul 2005 08:28:02 -0000 1.110 +++ gcc.spec 22 Jul 2005 20:20:55 -0000 @@ -246,11 +246,15 @@ # cleanup installation tree mv $RPM_BUILD_ROOT%{l_prefix}/lib/lib*.a \ $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/ + dirs="" for multilib in `$RPM_BUILD_ROOT%{l_prefix}/bin/gcc --print-multi-lib`; do subdir=`echo "$multilib" | sed -e 's/;.*$//'` [ ".$subdir" = .. ] && continue mv $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir/lib*.a \ $RPM_BUILD_ROOT%{l_prefix}/lib/gcc%{V_comp}/${triple}/[0-9]*/$subdir/ + dirs="$dirs $subdir" + done + for subdir in $dirs; do rm -rf $RPM_BUILD_ROOT%{l_prefix}/lib/$subdir done mv $RPM_BUILD_ROOT%{l_prefix}/${triple}/include/* \ Ralf S. Engelschall [EMAIL PROTECTED] www.engelschall.com ______________________________________________________________________ The OpenPKG Project www.openpkg.org User Communication List openpkg-users@openpkg.org