FS#80268 - [apr] Unreproducible build due to embedded hostname
Attached to Project:
Arch Linux
Opened by Iyan (iyanmv) - Thursday, 16 November 2023, 11:38 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
Opened by Iyan (iyanmv) - Thursday, 16 November 2023, 11:38 GMT
Last edited by Buggy McBugFace (bugbot) - Saturday, 25 November 2023, 20:21 GMT
|
Details
Description:
apr is marked as not reproducible in the official rebuilderd instance [1]. The status can be confirmed locally using archlinux-repro: ``` curl -OL https://archive.archlinux.org/packages/a/apr/apr-1.7.4-1-x86_64.pkg.tar.zst repro -d apr-1.7.4-1-x86_64.pkg.tar.zst ``` The output of diffoscope [2] clearly shows that the unreproducibility is caused by the hostname being embedded in /usr/share/apr-1/build/libtool. Since this information is not useful in the first place, the provided patch simply removes that line, as has been done previously in other projects to achieve r-b. After that, the package becomes reproducible. This can be verified also with archlinux-repro passing the modified PKGBUILD, for example: ``` extra-x86_64-build repro -d -f apr-1.7.4-2-x86_64.pkg.tar.zst ``` [1]: https://reproducible.archlinux.org/ [2]: https://github.com/archlinux/archlinux-repro [3]: https://reproducible.archlinux.org/api/v0/builds/529434/diffoscope |
This task depends upon
Closed by Buggy McBugFace (bugbot)
Saturday, 25 November 2023, 20:21 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/apr/issues/1
Saturday, 25 November 2023, 20:21 GMT
Reason for closing: Moved
Additional comments about closing: https://gitlab.archlinux.org/archlinux/p ackaging/packages/apr/issues/1
fix-unreproducible-hostname.p...