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

Re: Bug#792281: texlive-latex-base: not Multi-Arch: foreign

+++ Norbert Preining [2015-09-23 23:17 +0900]:
> Hi Johannes, dear all
> thanks for your explanations, that helped a lot.
> I have now made the following test:
> >  - install a package in a foreign architecture that depends on texlive-binaries
> Namely, install xdvik-ja:i386 on a amd64 system with the test packages
> being available.
> Installation went smoothly, and now I have the following packages
> installed (packages related to TeX, with full arch specification):
> 	libkpathsea6:amd64
> 	libkpathsea6:i386
> 		so we see that the M-A: same worked out
> 	texlive-binaries:amd64
> 		no :i386 version is installed, although it is a 
> 		dependency of xdvik-ja:i386
> 	xdvik-ja:i386
> plus some deps of texlive-binaries:amd64 (libptexenc etc in amd64).
> So at least from this side it looks fine.

Excellent - thanks for doing this - it will unbung a lot of cross-dependencies.
> >  - crosscompile a source package that build depends on texlive-binaries (but I
> >    hear Helmut already did that successfully)
> I will leave that to one of you, as I hav eno idea how to cross-compile
> something.

Just so you know:

In principle it's as simple as:
sbuild --host armhf -d unstable

or (more manually)
dpkg --add-architecture armhf
apt update
apt-get build-dep -aarmhf $package
dpkg-buildpackage -aarmhf

But there are still a number of gotchas in practice so we will indeed
test this for you, using the repo below.

> In case you want to test the current status, please use
> 	deb http://www.preining.info/debian/ texlive multiarch
> 	deb-src http://www.preining.info/debian/ texlive multiarch
> I will add packages for src:texlive-base soon(er or later - I am having
> a intercontinental travel ahead tomorrow morning)

Principal hats:  Linaro, Debian, Wookware, ARM

Reply to: