Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #191561

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

From Vincent Lefevre <vincent@vinc17.net>
Newsgroups linux.debian.user
Subject Re: How to rebuild a Debian package for a foreign architecture?
Date 2018-01-25 23:10 +0100
Message-ID <vbXSy-3dW-19@gated-at.bofh.it> (permalink)
References <vbQem-6FO-9@gated-at.bofh.it> <vbQR3-79g-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2018-01-25 15:30:02 +0100, tomas@tuxteam.de wrote:
> On Thu, Jan 25, 2018 at 02:56:17PM +0100, Vincent Lefevre wrote:
> > 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.
> > [...]
> 
> It seems that you are missing the '386 (or more precisely the '686)
> executables. Perhaps you need the package dpkg-cross.

Installing dpkg-cross just installs: cross-config dpkg-cross
libconfig-auto-perl libdebian-dpkgcross-perl. This is not
sufficient.

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

Back to linux.debian.user | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

How to rebuild a Debian package for a foreign architecture? Vincent Lefevre <vincent@vinc17.net> - 2018-01-25 15:00 +0100
  Re: How to rebuild a Debian package for a foreign architecture? <tomas@tuxteam.de> - 2018-01-25 15:40 +0100
    Re: How to rebuild a Debian package for a foreign architecture? Curt <curty@free.fr> - 2018-01-25 16:00 +0100
      Re: How to rebuild a Debian package for a foreign architecture? Vincent Lefevre <vincent@vinc17.net> - 2018-01-25 23:10 +0100
        Re: How to rebuild a Debian package for a foreign architecture? Curt <curty@free.fr> - 2018-01-26 11:00 +0100
          Re: How to rebuild a Debian package for a foreign architecture? Vincent Lefevre <vincent@vinc17.net> - 2018-01-29 13:00 +0100
    Re: How to rebuild a Debian package for a foreign architecture? Vincent Lefevre <vincent@vinc17.net> - 2018-01-25 23:10 +0100
      [SOLVED] How to rebuild a Debian package for a foreign architecture? Vincent Lefevre <vincent@vinc17.net> - 2018-05-15 13:40 +0200

csiph-web