Source: procps Version: 2:3.3.11-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap
Hi, procps fails to cross build from source as it doesn't pass --host to configure. Thus it is configured for the build architecture and configure fails hard when trying to find ncurses, which is only installed for the host architecture. I am attaching a patch that adds the missing flag. Helmut
diff --minimal -Nru procps-3.3.11/debian/changelog procps-3.3.11/debian/changelog --- procps-3.3.11/debian/changelog 2016-01-03 07:10:47.000000000 +0100 +++ procps-3.3.11/debian/changelog 2016-01-23 08:30:57.000000000 +0100 @@ -1,3 +1,10 @@ +procps (2:3.3.11-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: pass --host to configure. Closs: #-1 + + -- Helmut Grohne <hel...@subdivi.de> Sat, 23 Jan 2016 08:30:44 +0100 + procps (2:3.3.11-3) unstable; urgency=medium * New upstream source (from experimental) diff --minimal -Nru procps-3.3.11/debian/rules procps-3.3.11/debian/rules --- procps-3.3.11/debian/rules 2016-01-03 07:10:47.000000000 +0100 +++ procps-3.3.11/debian/rules 2016-01-23 09:19:49.000000000 +0100 @@ -11,9 +11,7 @@ DEB_HOST_GNU_TYPE=$(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE=$(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) -CROSS=CC=$(DEB_HOST_GNU_TYPE)-gcc -else -CROSS= +configure_flags += --host=$(DEB_HOST_GNU_TYPE) endif export DEB_BUILD_MAINT_OPTIONS = hardening=+all @@ -30,6 +28,7 @@ override_dh_auto_configure: ./configure \ + $(configure_flags) \ --build=$(DEB_BUILD_GNU_TYPE) \ --disable-silent-rules \ --enable-watch8bit --enable-w-from \