Source: nixnote2 Version: 2.1.1~git20181202-1 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
nixnote2 fails to cross build from source, because it strips with the wrong strip at the end of the build. Doing so breaks * cross compilation, because it fails for the wrong architecture, * generation of -dbgsym packages, because dh_strip won't find any symbols and * DEB_BUILD_OPTIONS=nostrip. After replacing it with $$QMAKE_STRIP, this step is skipped for Debian as dh_auto_configure passes QMAKE_STRIP=: and therefore cross building a -dbgsym package works. Please consider applying it. Helmut
--- nixnote2-2.1.1~git20181202.orig/nixnote2.pro +++ nixnote2-2.1.1~git20181202/nixnote2.pro @@ -32,7 +32,7 @@ DESTDIR = qmake-build-release BUILD_TYPE = release message($$TARGET: Release build!) - QMAKE_POST_LINK=strip $${DESTDIR}/$${TARGET} + QMAKE_POST_LINK=$$QMAKE_STRIP $${DESTDIR}/$${TARGET} } OBJECTS_DIR = $${DESTDIR} MOC_DIR = $${DESTDIR}