On 17 December 2011 15:29, Robert Heaton <[email protected]> wrote:
> On 17 December 2011 15:23, Theo Markettos <[email protected]> wrote:
>> On Sat, Dec 17, 2011 at 01:33:12PM +0000, John Tytgat wrote:
>>> I get the same error.  'fetch-program' downloads various Sources*.bz2
>>> files from Debian ftp site which are then used to locate the sources
>>> and Debian patches.
>>>
>>> I suspect that there is something wrong extracting the necessary information
>>> from those Sources*.bz2 files.
>>
>> I had this problem too... the reason is that fetch-program looks at the
>> first 26 lines of an entry in the Debian source package list.  Some
>> packages now have entries larger than that (for example ncurses has a huge
>> list of binary packages that it generates), with the result that the
>> Directory: entry (ie where the source package can actually be found on the
>> server) was being missed.
>>
>> I don't know the basis for '26', but I've adjusted it to randomly-selected
>> '56' which allows me to build ncurses.  I think the number is immaterial as
>> long as it's large enough, since the code also trims off anything after the
>> end of the entry.  I've commited r5480 to SVN.  Please let me know if this
>> breaks anything else!
>
> Thanks Theo!
> I'll update my build and try again.

I've updated to SVN r5480, now when I try and build wget, I get this error;

Autobuilder: Using existing Sources.bz2 (stable/contrib)
Autobuilder: Directory name not found in Sources.bz2 (testing/main)
Autobuilder: Trying Binary entry
2011-12-17 19:22:45
URL:http://ftp.uk.debian.org/debian/pool/main/p/p11-kit/p11-kit_0.8.orig.tar.gz
[528732/528732] -> "p11-kit_0.8.orig.tar.gz" [1]
2011-12-17 19:22:45
URL:http://ftp.uk.debian.org/debian/pool/main/p/p11-kit/ [11754] ->
"index.html" [1]
gzip: *.diff.gz: No such file or directory
Autobuilder: source directory is
/home/robheaton/Downloads/gccsdk/build/libp11-kit0/p11-kit-0.8
Autobuilder: RISC OS patch:
/home/robheaton/Downloads/gccsdk/autobuilder/libraries/libp11-kit0/p11-kit.c.p
patching file tools/p11-kit.c
Hunk #1 FAILED at 35.
Hunk #2 succeeded at 46 (offset 2 lines).
1 out of 2 hunks FAILED -- saving rejects to file tools/p11-kit.c.rej
Autobuilder: RISC OS patch:
/home/robheaton/Downloads/gccsdk/autobuilder/libraries/libp11-kit0/modules.c.p
patching file p11-kit/modules.c
Hunk #1 FAILED at 253.
1 out of 1 hunk FAILED -- saving rejects to file p11-kit/modules.c.rej
Autobuilder: Patches failed
Package libp11-kit0: ***Failure***
Dependency "libp11-kit0" failed for libgnutls26
Dependency "libgnutls26" failed for wget
Build for package "wget" failed

Any suggestions on how to fix this would be most welcome!

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