On 18 December 2011 22:43, Chris Gransden <[email protected]> wrote:
> In article <[email protected]>,
>   Theo Markettos <[email protected]> wrote:
>
>> 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?
>
> This line in fetch-program should be picking it up first . Changing it to
> '-B20' makes it work in this case. May need further testing to make sure
> nothing else gets broken.
>
>       if bzgrep -B14 "^Directory.*/$AB_PACKAGE$" $Sources > files ; then
>          # Found ok

I'm getting a lot closer to a sucessful build!
However i've hit another problem, when I try to build wget, the
autobuilder seems to get stuck in a loop, the following lines are just
repeated over and over;

Autobuilder: Package "dpkg" will be built using rules at
"/home/robheaton/Downloads/gccsdk/autobuilder/cli/dpkg"
Autobuilder: Dependency libbz2-1.0 satisfied by previous successful build
Autobuilder: No match for Debian dependency "libselinux1" - ignoring
Autobuilder: Dependency zlib1g satisfied by previous successful build
Autobuilder: Package "coreutils" will be built using rules at
"/home/robheaton/Downloads/gccsdk/autobuilder/cli/coreutils"
Autobuilder: Package "dpkg" will be built using rules at
"/home/robheaton/Downloads/gccsdk/autobuilder/cli/dpkg"
Autobuilder: Dependency libbz2-1.0 satisfied by previous successful build
Autobuilder: No match for Debian dependency "libselinux1" - ignoring
Autobuilder: Dependency zlib1g satisfied by previous successful build
Autobuilder: Package "coreutils" will be built using rules at
"/home/robheaton/Downloads/gccsdk/autobuilder/cli/coreutils"
Autobuilder: Package "dpkg" will be built using rules at
"/home/robheaton/Downloads/gccsdk/autobuilder/cli/dpkg"


Any suggestions would be greatly appreciated!
Regards,
Rob.

_______________________________________________
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