Overview

Request 643992 accepted

Add reproducible-qrc-time.patch to use SOURCE_DATE_EPOCH
for qrc embedded timestamps to make bitcoin-qt build reproducible
(https://bugreports.qt.io/browse/QTBUG-62511 , boo#1047218)

rebased on top of current 5.11.2


Fabian Vogt's avatar

Can this go upstream instead? If not, I'd prefer if QT_RCC_SOURCE_DATE_OVERRIDE was set in the environment.


Bernhard Wiedemann's avatar

not that easy. We inject most other variables through https://github.com/openSUSE/post-build-checks/pull/20/files but when it runs, SOURCE_DATE_EPOCH is not yet set by rpmbuild. And I heard, QT has a policy of requiring env-variable names to be prefixed by QT_ . The original proposed patch there used SOURCE_DATE_EPOCH but was stuck in review for ages. We could try again...


Fabian Vogt's avatar

Trying again is probably the best option - it's a standard env variable so Qt needs to follow that.


Request History
Bernhard Wiedemann's avatar

bmwiedemann created request

Add reproducible-qrc-time.patch to use SOURCE_DATE_EPOCH
for qrc embedded timestamps to make bitcoin-qt build reproducible
(https://bugreports.qt.io/browse/QTBUG-62511 , boo#1047218)

rebased on top of current 5.11.2


Fabian Vogt's avatar

Vogtinator accepted request

Got accepted upstream, so I'll accept now. I added the patch to KDE:Qt:5.12 as well and submitted to TW.

openSUSE Build Service is sponsored by