15 Sep 2009 12:01
Re: 0launch 0.42 (multi-arch)
Anders F Björklund <afb <at> users.sourceforge.net>
2009-09-15 10:01:00 GMT
2009-09-15 10:01:00 GMT
Thomas Leonard wrote:
> - Allow multiple versions of each distribution package (Anders F
> Bjorklund). On RPM-based systems, 32-bit and 64-bit versions of a
> package may have the same package name, so store a list of (version,
> arch) pairs for each name.
This still fails on Debian-based systems. For instance, the latest
implementation of the SeaMonkey feed only provides 32-bit binaries.
To run it, you need the C++ legacy runtime library (libstdc++.so.5)
Normally, this is provided by native the "libstdc++5" .deb package.
But when running the 32-bit app, you need /usr/lib32/libstdc++.so.5
and not /usr/lib64/libstdc++.so.5 (on a 64-bit installation that is)
This is instead being provided by the "ia32-libs" .deb package, but
it is reported as having a "x86_64" arch and thus as "Incompatible"...
On Redhat-based systems, /usr/lib32/libstdc++.so.5 would be provided
by "compat-libstdc++-33.i386" and /usr/lib64/libstdc++.so.5 would be
provided by "compat-libstdc++-33.x86_64" - same name, two .rpm arch.
(package names are listed as "%{name}-%{version}-%{release}.%{arch}")
But I don't think it can be fixed until dpkg grows some features*,
unless adding a .deb package directly to the feed or something ?
* http://www.debian.org/News/2009/20090730 ("Multi-arch support")
* https://wiki.ubuntu.com/MultiarchSpec (ia32-libs source = 550M!)
And you can't really build the library from source either, since
0compile doesn't support cross-compilation as far as I am aware ?
In this case you _could_ of course rebuild the whole application
for the native arch, but that doesn't work here yet or in general...
--anders
PS. It could also be fixed by adding a "ignore this dependency"
checkbox, or perhaps even by hardcoding "ia32-libs" for deb ?
(something like if package == 'ia32-libs': zi_arch = 'i386')
But then the feeds must know the ia32-libs hack, which is sad.
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
RSS Feed