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

Re: How to rebuild a Debian package for a foreign architecture?



On 2018-01-25 14:53:14 +0000, Curt wrote:
> On 2018-01-25, <tomas@tuxteam.de> <tomas@tuxteam.de> wrote:
> >
> > It seems that you are missing the '386 (or more precisely the '686)
> > executables. Perhaps you need the package dpkg-cross.
> >
> >> If I need binutils-i686-linux-gnu, shouldn't dpkg-buildpackage fail
> >> when checking the build dependencies?
> >
> > I'll leave that question to someone more knowledgeable.
> 
> I'm much less so, but I've heard people recommending pbuilder for
> this (chroot).
> 
>  pbuilder --create --architecture i386
>  pbuilder --build mypackage.dsc

IMHO, this is overkill, at least in my case. And I don't like to
require root just to build a package.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


Reply to: