Bug#987285: pound FTCBFS: runs cmake for the build architecture

2021-04-21 Thread Helmut Grohne
Hi Carsten,

On Wed, Apr 21, 2021 at 12:17:05PM +0200, Carsten Leonhardt wrote:
> thanks for the patch - do you think I should try to get this into
> bullseye?

Certainly not. We're deep-frozen and we no longer fix severity normal
bugs at this time. Just fix it with your next upload post-bullseye.

Helmut



Bug#987285: pound FTCBFS: runs cmake for the build architecture

2021-04-21 Thread Carsten Leonhardt
Hi Helmut,

> Source: pound
> Version: 3.0-2
> Tags: patch
> User: debian-cr...@lists.debian.org
> Usertags: ftcbfs
>
> pound fails to cross build from source since the 3.0-2 upload to
> unstable, because it does not pass cross flags to cmake. The easiest way
> of doing so - using dh_auto_configure - makes pound cross buildable.
> Please consider applying the attached patch.

thanks for the patch - do you think I should try to get this into
bullseye?

Regards

Carsten



Bug#987285: pound FTCBFS: runs cmake for the build architecture

2021-04-20 Thread Helmut Grohne
Source: pound
Version: 3.0-2
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

pound fails to cross build from source since the 3.0-2 upload to
unstable, because it does not pass cross flags to cmake. The easiest way
of doing so - using dh_auto_configure - makes pound cross buildable.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru pound-3.0/debian/changelog pound-3.0/debian/changelog
--- pound-3.0/debian/changelog  2020-12-10 11:23:42.0 +0100
+++ pound-3.0/debian/changelog  2021-04-19 11:43:30.0 +0200
@@ -1,3 +1,10 @@
+pound (3.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake. (Closes: #-1)
+
+ -- Helmut Grohne   Mon, 19 Apr 2021 11:43:30 +0200
+
 pound (3.0-2) unstable; urgency=medium
 
   * Fix FTBS on KFreeBSD
diff --minimal -Nru pound-3.0/debian/rules pound-3.0/debian/rules
--- pound-3.0/debian/rules  2020-12-10 11:23:42.0 +0100
+++ pound-3.0/debian/rules  2021-04-19 11:43:12.0 +0200
@@ -17,7 +17,7 @@
dh "$@" --with sysuser
 
 override_dh_auto_configure:
-   cd build && cmake ..
+   dh_auto_configure --builddirectory=build
 
 override_dh_auto_build:
cd build && make