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

How to rebuild a Debian package for a foreign architecture?



To rebuild a Debian package, one can use:

  debuild -i -us -uc -b

But how to rebuild a Debian package for a foreign architecture?
In my case for i386 from an amd64 machine. I've tried

  debuild -i -us -uc -b -a i386

but the build fails at some point:

[...]
dh_strip -a
dh_strip: Compatibility levels before 9 are deprecated (level 7 in use)
dh_strip: Compatibility levels before 9 are deprecated (level 7 in use)
dh_strip: Compatibility levels before 9 are deprecated (level 7 in use)
Can't exec "i686-linux-gnu-strip": No such file or directory at /usr/share/perl5/Debian/Debhelper/Dh_Lib.pm line 358.
[...]

If I need binutils-i686-linux-gnu, shouldn't dpkg-buildpackage fail
when checking the build dependencies?

-- 
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: