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


Groups > linux.debian.user > #236173

Re: Cross compilation error

From Paul Wise <pabs@debian.org>
Newsgroups linux.debian.user
Subject Re: Cross compilation error
Date 2021-06-17 06:20 +0200
Message-ID <CqRFv-3kh-1@gated-at.bofh.it> (permalink)
References <CqGqK-4Wm-13@gated-at.bofh.it>
Organization Debian

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

tomas wrote:
> On Wed, Jun 16, 2021 at 06:07:00PM +0200, Jonathan Tremesaygues wrote:
> > But it is not the job of ’dpkg-buildpackage -a<arch>’ to set the
> > right compiler and other stuff? Neither the wiki, the manpage nor
> > the unofficial guides found on Internet say I have to set manually
> > the compiler :-/
> 
> It should, I think.

Looks like the cross build QA service sees the same failure:

   http://crossqa.debian.net/src/ppp

I think that this means the package doesn't support being cross built
yet due to problems in the packaging.

I noticed that if I replace this line in debian/rules:

   ./configure --prefix=/usr

With this line:

   ./configure --prefix=/usr --cc=gcc --cross_compile="$(DEB_HOST_GNU_TYPE)-"

Then the cross build starts working.

Would you like to file a bug report about this issue?

If so, run this command:

   reportbug --source ppp

Make sure to use these headers and pseudo-headers:

   Subject: ppp: FTCBFS -- uses the build architecture compiler
   
   Source: ppp
   Version: 2.4.9-1+1
   Severity: normal
   Tags: patch
   X-Debbugs-Cc: debian-cross@lists.debian.org
   User: debian-cross@lists.debian.org
   Usertags: ftcbfs
   
If not, then I can file the bug for you.
   
-- 
bye,
pabs

https://wiki.debian.org/PaulWise

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


Thread

Cross compilation error Jonathan Tremesaygues <jonathan.tremesaygues@sereema.com> - 2021-06-16 16:40 +0200
  Re: Cross compilation error Georgi Naplatanov <gosho@oles.biz> - 2021-06-16 18:00 +0200
    Re: Cross compilation error Jonathan Tremesaygues <jonathan.tremesaygues@sereema.com> - 2021-06-16 18:10 +0200
      Re: Cross compilation error <tomas@tuxteam.de> - 2021-06-16 18:20 +0200
        Re: Cross compilation error Paul Wise <pabs@debian.org> - 2021-06-17 06:20 +0200
          Re: Cross compilation error Jonathan Tremesaygues <jonathan.tremesaygues@sereema.com> - 2021-06-17 08:50 +0200
            Re: Cross compilation error Paul Wise <pabs@debian.org> - 2021-06-18 02:20 +0200

csiph-web