[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: emsetup bug

On Thu, 01 Feb 2007 19:33:02 -0500
Jim Heck <jsurf@heckheck.com> wrote:

> I first instrument the code with some prints to show that the
> conditional inside the find_latest_gcc never gets entered.  By my
> analysis, this is due to the fact that in the regexp, the grouping
> ([0-9\.\-]*) is followed by $.  The first part will match the gcc
> numeric version including a trailing (or inclusive) -.  Next comes the
> $, which matches only the end of line, so the pattern never matches any
> package name and $choice remains 0.

Jim, I think your problems may come down to this part of the apt-cross

          Force the user-specific apt-cross cache to be updated. Note
that all sources for this suite on the specified architecture will be
erased before the package cache is updated. If /etc/apt/sources.list
does not contain a source for this suite, the updated cache for this
suite will be empty. Use -m|--mirror to specify a source to be added to
whatever sources are available for this suite in /etc/apt/sources.list.

Note the bit about "if sources.list does not contain a source for this
suite". Can you confirm if this could be your problem? I can then look
at fixing that in apt-cross 0.0.6.

emdebian-tools doesn't use the --mirror functionality within apt-cross
- if you have been relying on that, this would result in empty cache
files and $choice being set to zero.


Neil Williams

Attachment: pgpdmGEKNdVW5.pgp
Description: PGP signature

Reply to: