This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: crosstool-NG 1.9.0 fails to download eglibc-2.12. Patch


> Last night I downgraded subversion to 1.6.12 without touching anything else
> and ct-ng just worked.  So it looks like is a subversion version thing.

Okay just to confirm.  Diffing svn 1.6.12 and 1.6.13 there is a new section
of code in subversion-1.6.13/subversion/svn/export-cmd.c with the comment:

    /* If given the cwd, pretend we weren't given anything. */

So they are deliberately defeating passing in a target of "." and reverting
to using the last element of the url in this case.

The following is a one line patch that works around this.  Tested with
svn 1.6.12 and 1.6.13 under gentoo.  Simpler than my previous offering.


--- crosstool-ng-1.9.0/scripts/build/libc/eglibc.sh.orig	2010-11-09 09:10:50.000000000 +0000
+++ crosstool-ng-1.9.0/scripts/build/libc/eglibc.sh	2010-11-09 09:11:36.000000000 +0000
@@ -14,7 +14,7 @@
         *)  svn_action="export --force";;
     esac
 
-    CT_DoExecLog ALL svn ${svn_action} -r "${CT_EGLIBC_REVISION:-HEAD}" "${svn_url}" . 2>&1
+    CT_DoExecLog ALL svn ${svn_action} -r "${CT_EGLIBC_REVISION:-HEAD}" "${svn_url}" "$(pwd)" 2>&1
 
     # Compress eglibc
     CT_DoExecLog ALL mv libc "eglibc-${CT_LIBC_VERSION}"

-- 
        Bob Dunlop

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]