On Sun, Dec 18, 2011 at 03:24:35PM +0000, Robert Heaton wrote:
> Autobuilder: Package "libtasn1-3" will be built using rules at
> "/home/robheaton/Downloads/gccsdk/autobuilder/libraries/libtasn1-3"
> Autobuilder: No match for Debian dependency "multiarch-support" - ignoring
> Autobuilder: Building package: libtasn1-3
> Autobuilder: Fetching source for libtasn1-3
> Autobuilder: Using existing Sources.bz2 (testing/main)
> Autobuilder: Using existing Sources.bz2 (testing/contrib)
> Autobuilder: Using existing Sources.bz2 (stable/main)
> Autobuilder: Using existing Sources.bz2 (stable/contrib)
> wget: option requires an argument -- 'O'
> Usage: wget [OPTION]... [URL]...

This is a problem with the fetch-program script again.  The line:
    sed --in-place -e '/^Checksum/,/^Directory/ {/^Directory/b;d}' files
is causing the temporary file 'files' which holds the Debian package entry
to be wiped out except for the Directory line... and then other lines which
try to pull out filenames from the package entry fail.  If I add a printout:

    cat files
    sed --in-place -e '/^Checksum/,/^Directory/ {/^Directory/b;d}' files
    echo "sed"
    cat files

I get:

Checksums-Sha1:
 71e8cbf44f3d2b8c6d2e26accf1c1956cf4759fa 1670 libtasn1-3_2.11-1.dsc
 6367c799726ad3218fac4f0e88692976258904da 1944644 libtasn1-3_2.11.orig.tar.gz
 ea6515526921706355adbce2b73e32d578e7c792 8588 libtasn1-3_2.11-1.debian.tar.gz
Checksums-Sha256:
 81438e67ece08d1aefdda3de3a1ae9913a8c89c2c62fe9f47b1fbf1ae4707433 1670 
libtasn1-3_2.11-1.dsc
 f4d43c77c12ceabf1a72911472fc8c67e43728b328dfb1b83fd519ed5d079afb 1944644 
libtasn1-3_2.11.orig.tar.gz
 da414659445751fd2df8cfeba99157cb8ba737ec587a3957106dd2a5d7c9ca17 8588 
libtasn1-3_2.11-1.debian.tar.gz
Homepage: http://www.gnu.org/software/libtasn1/
Package-List: 
 libtasn1-3 deb libs standard
 libtasn1-3-bin deb devel extra
 libtasn1-3-dbg deb debug extra
 libtasn1-3-dev deb libdevel optional
Directory: pool/main/libt/libtasn1-3
sed
Directory: pool/main/libt/libtasn1-3

Then later code that tries to extract the .orig.tar.gz names will fail
because they lines containing them are no longer there.

My regexps aren't up to working out exactly what this line is intended to
do, but it's clearly doing the wrong thing.  Can anyone suggest what it's
supposed to do?

Theo

_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to