<table><tr><td style="">aaronpuchert created this revision.<br />aaronpuchert added a reviewer: kfunk.<br />Herald added a project: KDevelop.<br />aaronpuchert requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D25494">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>When POSIXLY_CORRECT is set, GNU tar will add ctime, atime and the PID<br />
of the tar process that created the archive, as pointed out in [1].<br />
To circumvent this, we set the Pax headers manually as recommended, but<br />
we only do this when SOURCE_DATE_EPOCH is set, i.e. reproducible builds<br />
are desired.</p>

<p>[1] <a href="https://salsa.debian.org/reproducible-builds/reproducible-website/merge_requests/50/diffs" class="remarkup-link" target="_blank" rel="noreferrer">https://salsa.debian.org/reproducible-builds/reproducible-website/merge_requests/50/diffs</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>Repeated builds produce the same files now. Changing the input files'<br />
timestamps seems without effect.</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R32 KDevelop</div></div></div><br /><div><strong>BRANCH</strong><div><div>pax-headers-reproducible</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D25494">https://phabricator.kde.org/D25494</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>kdevplatform/cmake/modules/KDevPlatformMacros.cmake</div></div></div><br /><div><strong>To: </strong>aaronpuchert, kfunk<br /><strong>Cc: </strong>kdevelop-devel, hmitonneau, christiant, glebaccon, domson, antismap, iodelay, alexeymin, geetamc, Pilzschaf, akshaydeo, surgenight, arrowd<br /></div>