Source: valentina Version: 0.6.1+20200406~dfsg-1 Tags: patch User: [email protected] Usertags: ftcbfs
valentina fails to cross build from source, because it strips with the build architecture objcopy. Beyond breaking cross compilation, this also breaks DEB_BUILD_OPTIONS=nostrip as well as generation of -dbgsym packages. It is usually best to leave all stripping up to dh_strip. Please consider applying the attached patch to fix all of the above. Helmut
diff --minimal -Nru valentina-0.6.1+20200406~dfsg/debian/changelog valentina-0.6.1+20200406~dfsg/debian/changelog --- valentina-0.6.1+20200406~dfsg/debian/changelog 2020-09-24 20:18:25.000000000 +0200 +++ valentina-0.6.1+20200406~dfsg/debian/changelog 2020-09-26 09:02:20.000000000 +0200 @@ -1,3 +1,10 @@ +valentina (0.6.1+20200406~dfsg-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Defer stripping to dh_strip. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Sat, 26 Sep 2020 09:02:20 +0200 + valentina (0.6.1+20200406~dfsg-1) unstable; urgency=medium [ upstream ] diff --minimal -Nru valentina-0.6.1+20200406~dfsg/debian/rules valentina-0.6.1+20200406~dfsg/debian/rules --- valentina-0.6.1+20200406~dfsg/debian/rules 2020-09-24 20:18:25.000000000 +0200 +++ valentina-0.6.1+20200406~dfsg/debian/rules 2020-09-26 09:02:12.000000000 +0200 @@ -17,7 +17,7 @@ PREFIX_LIB=/usr/lib/valentina \ QMAKE_LFLAGS_RELEASE+=-Wl,-rpath,/usr/lib/valentina \ QMAKE_LFLAGS_DEBUG+=-Wl,-rpath,/usr/lib/valentina \ - CONFIG+="noDebugSymbols no_ccache release" + CONFIG+="noStripDebugSymbols no_ccache release" # generate PDF format measurement diagrams execute_after_dh_auto_build:

