Problems with expat, duma, strace
Yann E. MORIN
yann.morin.1998@free.fr
Wed Mar 13 20:45:00 GMT 2013
Oliver, All,
On Monday 04 March 2013 Oliver Schrenk wrote:
> When retrieving expat and duma, wget will download the redirection site
> resulting in corrupt tarballs
I just tried it here, and these three packages were correctly downloaded,
the tarballs were not corrupted, and the extract went smoothly.
> [EXTRA] Retrieving 'expat-2.1.0'
> [DEBUG] Trying 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz'
> [DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '$WORKING_DIR/tarballs/expat-2.1.0.tar.gz.tmp-dl' 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz'
Note: what is this $WORKING_DIR ?
Works for me here (sorry for the long lines):
---8<--- (Please remove on replies, please, please...)
[EXTRA] Retrieving 'expat-2.1.0'
[DEBUG] Trying 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/expat-2.1.0.tar.gz.tmp-dl' 'http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz'
[ALL ] --2013-03-13 21:35:54-- http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
[ALL ] Resolving downloads.sourceforge.net... 216.34.181.59
[ALL ] Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
[ALL ] HTTP request sent, awaiting response... 302 Found
[ALL ] Location: http://kent.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz [following]
[ALL ] --2013-03-13 21:35:55-- http://kent.dl.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
[ALL ] Resolving kent.dl.sourceforge.net... 212.219.56.185
[ALL ] Connecting to kent.dl.sourceforge.net|212.219.56.185|:80... connected.
[ALL ] HTTP request sent, awaiting response... 200 OK
[ALL ] Length: 562616 (549K) [application/x-gzip]
[ALL ] Saving to: `/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/expat-2.1.0.tar.gz.tmp-dl'
[ALL ]
[ALL ] 0K ................ ................ ................ 69% 763K 0s
[ALL ] 384K ................ .... 100% 789K=0.7s
[ALL ]
[ALL ] 2013-03-13 21:35:55 (771 KB/s) - `/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/expat-2.1.0.tar.gz.tmp-dl' saved [562616/562616]
[ALL ]
[DEBUG] Got it from: "http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz"
[DEBUG] Got 'expat-2.1.0' from the Internet
---8<---
And here its the log for D.U.M.A. :
---8<--- (Please remove on replies, please, please...)
[EXTRA] Retrieving 'duma_2_5_15'
[DEBUG] Trying 'http://downloads.sourceforge.net/project/duma/duma/2.5.15/duma_2_5_15.tar.gz'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/duma_2_5_15.tar.gz.tmp-dl' 'http://downloads.sourceforge.net/project/duma/duma/2.5.15/duma_2_5_15.tar.gz'
[ALL ] --2013-03-13 21:35:52-- http://downloads.sourceforge.net/project/duma/duma/2.5.15/duma_2_5_15.tar.gz
[ALL ] Resolving downloads.sourceforge.net... 216.34.181.59
[ALL ] Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
[ALL ] HTTP request sent, awaiting response... 302 Found
[ALL ] Location: http://freefr.dl.sourceforge.net/project/duma/duma/2.5.15/duma_2_5_15.tar.gz [following]
[ALL ] --2013-03-13 21:35:53-- http://freefr.dl.sourceforge.net/project/duma/duma/2.5.15/duma_2_5_15.tar.gz
[ALL ] Resolving freefr.dl.sourceforge.net... 158.255.96.7, 2001:1b48:10f::7
[ALL ] Connecting to freefr.dl.sourceforge.net|158.255.96.7|:80... connected.
[ALL ] HTTP request sent, awaiting response... 200 OK
[ALL ] Length: 240479 (235K) [application/x-gzip]
[ALL ] Saving to: `/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/duma_2_5_15.tar.gz.tmp-dl'
[ALL ]
[ALL ] 0K ................ ............. 100% 251K=0.9s
[ALL ]
[ALL ] 2013-03-13 21:35:54 (251 KB/s) - `/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/duma_2_5_15.tar.gz.tmp-dl' saved [240479/240479]
[ALL ]
[DEBUG] Got it from: "http://downloads.sourceforge.net/project/duma/duma/2.5.15/duma_2_5_15.tar.gz"
[DEBUG] Got 'duma_2_5_15' from the Internet
---8<---
> The strace tarball doesn't seems to exist
> [EXTRA] Retrieving 'strace-4.5.19'
> [DEBUG] Trying 'http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.xz'
> [DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/Volumes/cross/working/tarballs/strace-4.5.19.tar.xz.tmp-dl' 'http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.xz'
Yes, that one is missing, but the download should try to then download
with an alternate extension, and it does indeed do so here:
---8<--- (Please remove on replies, please, please...)
[EXTRA] Retrieving 'strace-4.5.19'
[DEBUG] Trying 'http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.xz'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/strace-4.5.19.tar.xz.tmp-dl' 'http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.xz'
[ALL ] --2013-03-13 21:35:55-- http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.xz
[ALL ] Resolving downloads.sourceforge.net... 216.34.181.59
[ALL ] Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
[ALL ] HTTP request sent, awaiting response... 404 Not Found
[ALL ] 2013-03-13 21:35:56 ERROR 404: Not Found.
[ALL ]
[DEBUG] Not at this location: "http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.xz"
[DEBUG] Trying 'http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.lzma'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/strace-4.5.19.tar.lzma.tmp-dl' 'http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.lzma'
[ALL ] --2013-03-13 21:35:56-- http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.lzma
[ALL ] Resolving downloads.sourceforge.net... 216.34.181.59
[ALL ] Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
[ALL ] HTTP request sent, awaiting response... 404 Not Found
[ALL ] 2013-03-13 21:35:56 ERROR 404: Not Found.
[ALL ]
[DEBUG] Not at this location: "http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.lzma"
[DEBUG] Trying 'http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.bz2'
[DEBUG] ==> Executing: 'wget' '--passive-ftp' '--tries=3' '-nc' '--progress=dot:binary' '-T' '10' '-O' '/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/strace-4.5.19.tar.bz2.tmp-dl' 'http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.bz2'
[ALL ] --2013-03-13 21:35:56-- http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.bz2
[ALL ] Resolving downloads.sourceforge.net... 216.34.181.59
[ALL ] Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
[ALL ] HTTP request sent, awaiting response... 302 Found
[ALL ] Location: http://heanet.dl.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.bz2 [following]
[ALL ] --2013-03-13 21:35:57-- http://heanet.dl.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.bz2
[ALL ] Resolving heanet.dl.sourceforge.net... 193.1.193.66, 2001:770:18:aa40::c101:c142
[ALL ] Connecting to heanet.dl.sourceforge.net|193.1.193.66|:80... connected.
[ALL ] HTTP request sent, awaiting response... 200 OK
[ALL ] Length: 499565 (488K) [application/x-bzip2]
[ALL ] Saving to: `/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/strace-4.5.19.tar.bz2.tmp-dl'
[ALL ]
[ALL ] 0K ................ ................ ................ 78% 636K 0s
[ALL ] 384K ............ 100% 765K=0.7s
[ALL ]
[ALL ] 2013-03-13 21:35:58 (660 KB/s) - `/home/ymorin/dev/crosstool-NG/ct-ng.current/.build/tarballs/strace-4.5.19.tar.bz2.tmp-dl' saved [499565/499565]
[ALL ]
[DEBUG] Got it from: "http://downloads.sourceforge.net/project/strace/strace/4.5.19/strace-4.5.19.tar.bz2"
[DEBUG] Got 'strace-4.5.19' from the Internet
---8<---
However: your working dir is located in "/Volumes" which smells like
you're running on MacOS, right? I do not have any experience with that
OS...
Did you try to run the failling commands manually?
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