Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Build failure - ld scripts



On Sun, 12 Oct 2008, Paul Goyette wrote:

On Sun, 12 Oct 2008, Paul Goyette wrote:

Sources updated about 5 minutes ago via anoncvs.  Building for port amd64:

--- cleandir-gnu ---
cleandir ===> gnu/usr.bin/binutils/ld/ldscripts
cd: can't cd to /build/src/gnu/usr.bin/binutils/ld/ldscripts
*** [cleandir-ldscripts] Error code 2

A bit more detail - this happens on all architectures, and it appears that 'make cleandir' is destroying src/gnu/usr.bin/binutils/ld/ldscripts
from the $SRC directory!

It may not be the correct fix, but the following patch allows the build to continue:

Index: Makefile
===================================================================
RCS file: /cvsroot/src/gnu/usr.bin/binutils/ld/Makefile,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile
--- Makefile    12 Oct 2008 23:00:53 -0000      1.26
+++ Makefile    13 Oct 2008 03:38:10 -0000
@@ -104,4 +104,5 @@ FILES+= ${f}.xc ${f}.xd ${f}.xdc ${f}.xd

 cleanprog: __cleanldscripts
 __cleanldscripts:
-       -rm -rf ldscripts tmpdir
+       rm -rf tmpdir
+#      -rm -rf ldscripts tmpdir



----------------------------------------------------------------------
|   Paul Goyette   | PGP DSS Key fingerprint: |  E-mail addresses:   |
| Customer Service | FA29 0E3B 35AF E8AE 6651 |  paul%whooppee.com@localhost   |
| Network Engineer | 0786 F758 55DE 53BA 7731 | pgoyette%juniper.net@localhost |
----------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index