Bug 49618 - dh_umc* breaks reproducible build by not preserving file time stamps on installation
dh_umc* breaks reproducible build by not preserving file time stamps on insta...
Status: CLOSED FIXED
Product: UCS
Classification: Unclassified
Component: UMC (Generic)
UCS 4.4
Other Linux
: P5 normal (vote)
: UCS 5.0
Assigned To: Florian Best
Philipp Hahn
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-06-07 15:58 CEST by Philipp Hahn
Modified: 2021-05-25 16:02 CEST (History)
2 users (show)

See Also:
What kind of report is it?: Development Internal
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Hahn univentionstaff 2019-06-07 15:58:25 CEST
"management/univention-management-console/dev/dh-umc-module-install" calls 'install' without '-p', so installed files use $NOW as their timestamp instead of preserving the timestamp of the source files. Two builds of the same package are thus not reproducible.

Today this complicated debugging a time stamp issue, where "update-python-modules" form "python-support" was not called due to "dh_strip_nondeterminism" not fixing the time stamps of some files.
Comment 1 Florian Best univentionstaff 2020-07-06 13:19:20 CEST
Add "-p" for install calls:

univention-management-console (12.0.0-1)
| Bug #49618: preserve timestamp when installing files

changelog-5.0-0.xml
| Changelog Bug #49618
Comment 2 Philipp Hahn univentionstaff 2020-07-06 13:45:08 CEST
OK: 8268e961ca0b | Bug #49618: preserve timestamp when installing files
OK: 3b31f28e0c64 | Bug #49618 ucr: Preserve time stamp when installing files
OK: 1e3f76a0e82f | Changelog Bug #49618
Comment 3 Florian Best univentionstaff 2021-05-25 16:02:46 CEST
UCS 5.0 has been released:
 https://docs.software-univention.de/release-notes-5.0-0-en.html
 https://docs.software-univention.de/release-notes-5.0-0-de.html

If this error occurs again, please use "Clone This Bug".