Tracking delta between i386 and LPIA arches
On Thu, Jan 10, 2008 at 03:50:58PM -0500, Steve Magoun wrote:
> For the Ubuntu Mobile effort we have a new arch - LPIA - that's
> essentially the same as i386. One of the problems we've run into is
> that package updates sometimes build for i386 but not LPIA, so the
> LPIA version of the package is either out of date or missing. Two
> examples from gutsy: The x264 package built for i386 but FTBFS for
> LPIA. The freetype1 package got stuck on a dependency wait for LPIA,
> while the i386 version built fine.
> We (the folks working on Ubuntu Mobile) would like to make sure this
> doesn't happen in the future; is there a good way for us to track the
> delta between i386 and LPIA? I found http://qa.ubuntuwire.com/ftbfs
> but that doesn't give a concise diff of the two architectures.
I've been meaning to get back to you about this for a while, but haven't
got round to preparing anything particularly nice. Matt pointed out that
it might be a good plan just to provide you with the tools you need and
let you get on with it. :-)
I have a program called 'suite-diff', which I wrote some time back and
have been polishing occasionally; it compares two Packages (or Sources)
files and reports on the version differences between them in various
ways. You will need to have the python-apt package installed to run it.
You invoke it like this:
./suite-diff.py <Packages1> <Packages2> <mode>
<Packages1> might be
and <Packages2> might be
There are quite a few different possible values for <mode>, and I'm not
sure exactly which one you want:
lt: list any packages in <Packages1> Less Than <Packages2>
le: list any packages in <Packages1> Less than or Equal to <Packages2>
eq: list any packages in <Packages1> EQual to <Packages2>
ne: list any packages in <Packages1> Not Equal to <Packages2>
ge: list any packages in <Packages1> Greater than or Equal to <Packages2>
gt: list any packages in <Packages1> Greater Than <Packages2>
You can also add '-ne' (No version is Earlier than any version) or '-nl'
(No version is Later than any version) to the mode; so for instance if
you say 'lt-nl' it will list all packages in <Packages1> that are at a
version less than <Packages2> and treat a missing package as being
equivalent to an enormously high version that's greater than anything
I'm not sure that any of these modes is precisely what you want, but you
should be able to come up with something useful by running this in
various combinations. Note that it doesn't actually take account of
whether a build failed in Launchpad or simply hasn't been tried yet; it
just looks at whatever's in the archive.
Let me know if you have any problems and I can help you out.
Colin Watson [firstname.lastname@example.org]
Ubuntu-mobile mailing list
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile