Bug#1006407: qt6-base: reproducible-builds: Build path embedded QtBuildInternalsExtra.cmake

Vagrant Cascadian vagrant at reproducible-builds.org
Fri Feb 25 03:21:25 GMT 2022


Source: qt6-base
Severity: normal
Tags: patch
User: reproducible-builds at lists.alioth.debian.org
Usertags: buildpath
X-Debbugs-Cc: reproducible-bugs at lists.alioth.debian.org

The path of the build environment is embedded in the
QtBuildInternalsExtra.cmake file shipped in the package:

  https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/diffoscope-results/qt6-base.html

  /usr/lib/x86_64-linux-gnu/cmake/Qt6BuildInternals/QtBuildInternalsExtra.cmake

  set(QT_SOURCE_TREE·"/build/1st/qt6-base-6.2.2+dfsg"·CACHE·PATH
  vs.
  set(QT_SOURCE_TREE·"/build/2/qt6-base-6.2.2+dfsg/2nd"·CACHE·PATH

The attached patch fixes this by removing the code that embeds the build
path.

It does build successfully with the patch applied, though I have not
otherwise tested the package.  Another option might be to exclude this
file from the package.

For either approach, someone familiar with qt6-base would need to test
and confirm if either of these methods are ok!


With this patch applied, qt6-base should build reproducibly on
tests.reproducible-builds.org!


Thanks for maintaining qt6-base!


live well,
  vagrant
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-cmake-QtBuildInternalsExtra.cmake.in-Patch-out-embed.patch
Type: text/x-diff
Size: 1259 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220224/3c78df33/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/reproducible-bugs/attachments/20220224/3c78df33/attachment.sig>


More information about the Reproducible-bugs mailing list