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

Re: x32 port bootstrap is uploaded



+++ Daniel Schepler [2012-11-20 07:51 -0800]:
> Once upon a time, Thomas Goirand wrote:
> > Can I also just add the above Debian repo, do --add-architecture,
> > and start replacing some packages? How can I for example, replace
> > perl, on a running server?
> 
> That should work, as long as you make sure to exclude x32 from the
> main Debian repo.  i.e. make /etc/apt/sources.list look something
> like:
> 
> deb [ arch=amd64,i386 ] http://http.debian.net/debian/ sid main contrib non-free
> deb [ arch=x32 ] http://87.98.215.228/debian/ sid main byhand partial

Do tell us what breaks if you try this :-)

> In the case of perl, I'm not sure how well it will work in practice,
> given that it would have to cross-grade all the arch-dependent perl
> packages at the same time.  So you might have to help "apt-get install
> perl:x32" with some more packages, and depending on how many of the
> dependencies support multi-arch or not, it might end up deleting more
> than you'd want.  Plus, since I don't see any Multi-Arch: foreign tag
> on the perl package currently, things depending on perl will probably
> also need cross-grading or removing.  (And I don't know if such a
> Multi-Arch tag would be a good idea, depending on how it would
> interact with the perlapi-* virtual dependency.)

There is an (experimental) multiarchified perl here:
http://people.debian.org/~wookey/bootstrap/ubunturepo/pool/main/p/perl/perl_5.14.2-13multiarch1.dsc

It seems to work fine as perl for normal use and even for
cross-building XS modules, but I have found a couple of issues using
the native perl during cross-builds (po4a seems bust).

The thread discussing this is here:
http://lists.debian.org/debian-perl/2012/09/msg00000.html

That may or may not improve your cross-grading experience.

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/


Reply to: