Source: unionfs-fuse Version: 1.0-1 Tags: patch User: [email protected] Usertags: rebootstrap
unionfs-fuse fails to cross build from source, because it runs cmake for the build architecture. The easiest way to pass the relevant cross compilation flags to cmake is deferring the task to dh_auto_configure. After doing so, unionfs-fuse cross builds successfully. Please consider applying the attached patch. Helmut
diff --minimal -Nru unionfs-fuse-1.0/debian/changelog unionfs-fuse-1.0/debian/changelog --- unionfs-fuse-1.0/debian/changelog 2015-07-12 21:26:05.000000000 +0200 +++ unionfs-fuse-1.0/debian/changelog 2018-05-27 19:38:49.000000000 +0200 @@ -1,3 +1,10 @@ +unionfs-fuse (1.0-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dh_auto_configure pass cross flags to cmake. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sun, 27 May 2018 19:38:49 +0200 + unionfs-fuse (1.0-1) unstable; urgency=medium * New upstream release diff --minimal -Nru unionfs-fuse-1.0/debian/rules unionfs-fuse-1.0/debian/rules --- unionfs-fuse-1.0/debian/rules 2015-07-14 00:12:27.000000000 +0200 +++ unionfs-fuse-1.0/debian/rules 2018-05-27 19:38:47.000000000 +0200 @@ -28,9 +28,7 @@ configure-stamp: dh_testdir # Add here commands to configure the package. - mkdir -p debian/build - cd debian/build \ - && cmake ../../ -DCMAKE_INSTALL_PREFIX=/usr \ + dh_auto_configure --builddirectory=debian/build -- \ -DCMAKE_C_FLAGS="$(CFLAGS)" \ -DCMAKE_SKIP_RPATH=TRUE

