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!

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