Bug#928902: spectrwm FTCBFS: uses build architecture build tools

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#928902: spectrwm FTCBFS: uses build architecture build tools

Helmut Grohne
Source: spectrwm
Version: 3.2.0-1
Tags: patch
User: [hidden email]
Usertags: rebootstrap

spectrwm fails to cross build from source, because it does not pass
cross tools to make. The easiest way of fixing that - using
dh_auto_build - is insufficient here. The relevant Makefile also hard
codes pkg-config. The attached patch fixes both and makes spectrwm cross
buildable. Please consider applying it.

Helmut

spectrwm_3.2.0-1.1.debdiff (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#928902: spectrwm FTCBFS: uses build architecture build tools

Andrea Bolognani
On Sun, May 12, 2019 at 08:07:20PM +0200, Helmut Grohne wrote:
> spectrwm fails to cross build from source, because it does not pass
> cross tools to make. The easiest way of fixing that - using
> dh_auto_build - is insufficient here. The relevant Makefile also hard
> codes pkg-config. The attached patch fixes both and makes spectrwm cross
> buildable. Please consider applying it.

Hi,

thanks for reporting this issue.

Can you please provide instructions I can use to reproduce the build
failure? The way you tackled it looks sensible enough, but I'd like
to play around a bit myself :)

Thanks.

--
Andrea Bolognani <[hidden email]>
Resistance is futile, you will be garbage collected.

signature.asc (849 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Bug#928902: spectrwm FTCBFS: uses build architecture build tools

Helmut Grohne
On Sun, May 26, 2019 at 10:00:46AM +0200, Andrea Bolognani wrote:
> Can you please provide instructions I can use to reproduce the build
> failure? The way you tackled it looks sensible enough, but I'd like
> to play around a bit myself :)

sbuild┬╣: Pass --host=somearch.
pbuilder: Pass --host-arch somearch
dpkg-buildpackage: DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage --build=any --host-arch somearch --profiles cross,nocheck

Helmut

┬╣ Assumes that your sbuild is from buster or sid.