Problems with expat, duma, strace

Oliver Schrenk oliver.schrenk@gmail.com
Mon Mar 4 18:37:00 GMT 2013


When retrieving expat and duma, wget will download the redirection site 
resulting in corrupt tarballs

	[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' 
	[ALL  ]    --2013-03-04 19:12:36--  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... 307 Temporary Redirect
	[ALL  ]    Location: http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz/download?use_mirror=garr [following]
	[ALL  ]    --2013-03-04 19:12:36--  http://sourceforge.net/projects/expat/files/expat/2.1.0/expat-2.1.0.tar.gz/download?use_mirror=garr
	[ALL  ]    Resolving sourceforge.net... 216.34.181.60
	[ALL  ]    Connecting to sourceforge.net|216.34.181.60|:80... connected.
	[ALL  ]    HTTP request sent, awaiting response... 200 OK
	[ALL  ]    Length: 30798 (30K) [text/html]
	[ALL  ]    Saving to: ‘$WORKING_DIR/tarballs/expat-2.1.0.tar.gz.tmp-dl’
	[ALL  ]    
	[ALL  ]         0K ...                                               100% 75.3K=0.4s
	[ALL  ]    
	[ALL  ]    2013-03-04 19:12:37 (75.3 KB/s) - ‘$WORKING_DIR/tarballs/expat-2.1.0.tar.gz.tmp-dl’ saved [30798/30798]rm -r $WORKING_DIR/src/duma_2_5_15/
	rm $WORKING_DIR/src/.duma_2_5_15.extracting
	rm -r $WORKING_DIR/src/expat-2.1.0/
	rm $WORKING_DIR/src/.expat-2.1.0.extracting
	[ALL  ]    
	[DEBUG]    Got it from: "http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz"

The workarroudn is to manually download expat-2.1.0 and duma_2_5_15, putting
them in $TARBALL_DIR, and

	rm -r $WORKING_DIR/src/duma_2_5_15/
	rm $WORKING_DIR/src/.duma_2_5_15.extracting
	rm -r $WORKING_DIR/src/expat-2.1.0/
	rm $WORKING_DIR/src/.expat-2.1.0.extracting


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' 
	[ALL  ]    --2013-03-04 19:20:24--  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... 307 Temporary Redirect
	[ALL  ]    Location: http://sourceforge.net/projects/strace/files/ [following]
	[ALL  ]    --2013-03-04 19:20:25--  http://sourceforge.net/projects/strace/files/


When looking into  http://sourceforge.net/projects/strace/files/strace/4.5.19/
there is only a strace-4.5.19.tar.bz2

Again the workarround is to download the the tarball manually and put it in
$TARBALL_DIR and to

	rm -r /Volumes/cross/working/src/strace-4.5.19
	rm /Volumes/cross/working/src/.strace-4.5.19.extracting


These issues *may* have been introduced by 
http://sourceware.org/ml/crossgcc/2012-08/msg00066.html



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



More information about the crossgcc mailing list