Source: fritzing Version: 0.9.3b+dfsg-4 Severity: wishlist Tags: patch User: reproducible-bui...@lists.alioth.debian.org Usertags: kernel X-Debbugs-Cc: reproducible-b...@lists.alioth.debian.org
Hi, Whilst working on the Reproducible Builds effort [0], we noticed that fritzing could not be built reproducibly. On an i386 system with a 64-bit kernel, this leaked into the generated binaries. A patch is attached that uses dpkg-architecture instead. [0] https://reproducible-builds.org/ Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
--- a/phoenix.pro 2017-03-18 22:47:20.713811801 +0000 --- b/phoenix.pro 2017-03-18 23:07:59.643988145 +0000 @@ -105,8 +105,8 @@ !macx { # unix is defined on mac - HARDWARE_PLATFORM = $$system(uname -m) - contains( HARDWARE_PLATFORM, x86_64 ) { + HARDWARE_PLATFORM = $$system(dpkg-architecture --query DEB_TARGET_ARCH) + contains( HARDWARE_PLATFORM, amd64 ) { DEFINES += LINUX_64 } else { DEFINES += LINUX_32