Source: directfb Version: 1.7.7-4 Tags: patch User: helm...@debian.org Usertags: rebootstrap
directfb fails to cross build from source, because it fails executing a host architecture binary called fluxcomp. Upstream advises that this is only needed for building and that it should be compiled for the build architecture. debian/rules configures the flux folder with dh_auto_configure which defaults to the host architecture though. After forcing that subdirectory to be configured for the build architecture, directfb cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru directfb-1.7.7/debian/changelog directfb-1.7.7/debian/changelog --- directfb-1.7.7/debian/changelog 2017-08-15 19:57:10.000000000 +0200 +++ directfb-1.7.7/debian/changelog 2017-08-16 20:23:54.000000000 +0200 @@ -1,3 +1,10 @@ +directfb (1.7.7-4.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Configure flux for the build architecture (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 16 Aug 2017 20:23:54 +0200 + directfb (1.7.7-4) unstable; urgency=medium * Upload to unstable. diff --minimal -Nru directfb-1.7.7/debian/rules directfb-1.7.7/debian/rules --- directfb-1.7.7/debian/rules 2017-08-15 12:01:15.000000000 +0200 +++ directfb-1.7.7/debian/rules 2017-08-16 20:23:52.000000000 +0200 @@ -30,7 +30,7 @@ dh_auto_clean override_dh_auto_configure: - dh_auto_configure -Dflux + dh_auto_configure -Dflux -- --host=$(DEB_BUILD_GNU_TYPE) dh_auto_build -Dflux cp -r flux-files/* . PATH=$(CURDIR)/flux/src:$$PATH \
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-multimedia-maintainers