crosstool-NG 1.9.0 fails to download eglibc-2.12. Patch
Yann E. MORIN
yann.morin.1998@anciens.enib.fr
Tue Nov 9 17:17:00 GMT 2010
Bob, All,
On Tuesday 09 November 2010 10:44:29 Bob Dunlop wrote:
> > 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.
And of course, there is no mention of this /fix/ in the 1.6.13 changelog...
> 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
Yes, I like that one much better! :-)
I will push that later tonight.
Thank you for investigating and testing! :-)
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list