FS#69905 - [streamlink] Package not reproducible due to typo in package's PYTHONHASHSEED env var
Attached to Project:
Community Packages
Opened by Sebastian Meyer (bastimeyer) - Sunday, 07 March 2021, 16:13 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Monday, 08 March 2021, 11:29 GMT
Opened by Sebastian Meyer (bastimeyer) - Sunday, 07 March 2021, 16:13 GMT
Last edited by Giancarlo Razzolini (grazzolini) - Monday, 08 March 2021, 11:29 GMT
|
Details
Description:
The package tries to export `PYTHONHASSEED=0` in order to make the bytecode deterministic, but the env var is actually called `PYTHONHASHSEED` https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHASHSEED https://github.com/archlinux/svntogit-community/blob/eac25e404e416699161deda1994aa160a488d500/trunk/PKGBUILD#L36 Additional info: * package version(s) 2.0.0-1 * config and/or log files etc. n/a * link to upstream bug report, if any n/a Steps to reproduce: Replace `PYTHONHASSEED` with `PYTHONHASHSEED` and rebuild the package while `SOURCE_DATE_EPOCH` is set. The package checksums should now be stable between multiple rebuilds. Note: upstream 2.0.0 unfortunately has a race condition in one of the tests and rebuilding the package several times will likely fail due to that. https://github.com/streamlink/streamlink/pull/3454 Either this patch needs to be applied here or the package's env var typo be fixed after the next upstream release. |
This task depends upon
Closed by Giancarlo Razzolini (grazzolini)
Monday, 08 March 2021, 11:29 GMT
Reason for closing: Fixed
Monday, 08 March 2021, 11:29 GMT
Reason for closing: Fixed
Comment by
Giancarlo Razzolini (grazzolini) -
Monday, 08 March 2021, 11:29 GMT
I have fixed this on SVN for now. On the next release it will be
with built using PYTHONHASHSEED.