Hello Helmut, On Sun, Jun 24, 2018 at 09:08:37PM +0200, Helmut Grohne wrote:
> asclock fails to cross build from source, because it uses the build > architecture compiler. The easiest way to pass cross tools to make is > using dh_auto_build. When doing so, one must pass > --buildsystem=makefile, because dh will otherwise assume that > ./configure is responsible for configuring cross tools. The attached > patch makes asclock cross buildable. Please consider applying it. > > Helmut Thanks for reporting and diagnosing. > diff --minimal -Nru asclock-2.0.12/debian/changelog > asclock-2.0.12/debian/changelog > --- asclock-2.0.12/debian/changelog 2017-01-09 16:24:03.000000000 +0100 > +++ asclock-2.0.12/debian/changelog 2018-06-24 21:05:44.000000000 +0200 > @@ -1,3 +1,10 @@ > +asclock (2.0.12-28.1) UNRELEASED; urgency=medium > + > + * Non-maintainer upload. > + * Fix FTCBFS: Let dh_auto_build pass cross tools to make. (Closes: #-1) > + > + -- Helmut Grohne <hel...@subdivi.de> Sun, 24 Jun 2018 21:05:44 +0200 > + > asclock (2.0.12-28) unstable; urgency=low Please do not NMU (at least not now). I'll review your change and will do a MU, but this might take a few days, please be patient. > * Correct versioned dependendy on debhelper > diff --minimal -Nru asclock-2.0.12/debian/rules asclock-2.0.12/debian/rules > --- asclock-2.0.12/debian/rules 2016-10-12 20:46:49.000000000 +0200 > +++ asclock-2.0.12/debian/rules 2018-06-24 21:05:42.000000000 +0200 > @@ -29,7 +29,8 @@ > dh_testdir > ( echo classic ; echo ) | ./configure > # Choose classic theme > - make $(shell $(dpkg_buildflags) --export=configure) \ > + dh_auto_build --buildsystem=makefile -- \ > + $(shell $(dpkg_buildflags) --export=configure) \ > EXTRA_LDOPTIONS="$(shell $(dpkg_buildflags) --get LDFLAGS)" > cp -ivp asclock.man $(MANDIR) > touch $(MANDIR)/asclock.pot Thanks for the patch! Greetings Helge -- Dr. Helge Kreutzmann deb...@helgefjell.de Dipl.-Phys. http://www.helgefjell.de/debian.php 64bit GNU powered gpg signed mail preferred Help keep free software "libre": http://www.ffii.de/
signature.asc
Description: Digital signature