Hi,
I was fixing a FTBFS https://bugzilla.redhat.com/show_bug.cgi?id=2291622 in the package python-astroquery
The reason of the failure were two files, installed but unpackaged, both in python3_sitelib named:
astroquery/ipac/irsa/tests/data/.#.MOST_full_with_tarballs.html.tmp astroquery/ipac/irsa/tests/data/.#.MOST_regular.html.tmp
These two files are not in the tarball and I have checked that they appear after %install and before %check
The package has files named MOST_full_with_tarballs.html and MOST_regular.html in the same folder as well as other files that seem unaffected.
The same package builds in fedora 40 without problems.
Any idea of what is happening?
Regards, Sergio
From the build log, it looks like an add-determinism bug: it is failing to process the HTML files, apparently because of a flawed assumption that they should be UTF-8-encoded, and then it is failing to clean up its temporary files.
https://kojipkgs.fedoraproject.org//work/tasks/5000/119225000/build.log
/builddir/build/BUILD/python-astroquery-0.4.7-build/BUILDROOT/usr/lib/python3.13/site-packages/astroquery/ipac/irsa/tests/data/MOST_full_with_tarballs.html: failed to process: /builddir/build/BUILD/python-astroquery-0.4.7-build/BUILDROOT/usr/lib/python3.13/site-packages/astroquery/ipac/irsa/tests/data/MOST_full_with_tarballs.html: failed to read line: stream did not contain valid UTF-8
[…]
/builddir/build/BUILD/python-astroquery-0.4.7-build/BUILDROOT/usr/lib/python3.13/site-packages/astroquery/ipac/irsa/tests/data/MOST_regular.html: failed to process: /builddir/build/BUILD/python-astroquery-0.4.7-build/BUILDROOT/usr/lib/python3.13/site-packages/astroquery/ipac/irsa/tests/data/MOST_regular.html: failed to read line: stream did not contain valid UTF-8
Please report this (especially the temporary files left around after processing failure!) as a bug at https://src.fedoraproject.org/rpms/rust-add-determinism and/or https://github.com/keszybz/add-determinism. If you file a bug against the rust-add-determinism package, please set it to block https://bugzilla.redhat.com/show_bug.cgi?id=2279765 since this regression is associated with https://fedoraproject.org/wiki/Changes/ReproduciblePackageBuilds.
On 6/20/24 11:08 AM, Sergio Pascual wrote:
Hi,
I was fixing a FTBFS https://bugzilla.redhat.com/show_bug.cgi?id=2291622 in the package python-astroquery
The reason of the failure were two files, installed but unpackaged, both in python3_sitelib named:
astroquery/ipac/irsa/tests/data/.#.MOST_full_with_tarballs.html.tmp astroquery/ipac/irsa/tests/data/.#.MOST_regular.html.tmp
These two files are not in the tarball and I have checked that they appear after %install and before %check
The package has files named MOST_full_with_tarballs.html and MOST_regular.html in the same folder as well as other files that seem unaffected.
The same package builds in fedora 40 without problems.
Any idea of what is happening?
Regards, Sergio
packaging mailing list -- packaging@lists.fedoraproject.org To unsubscribe send an email to packaging-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.... Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
On Thu, Jun 20, 2024 at 11:16:36AM -0400, Ben Beasley wrote:
From the build log, it looks like an add-determinism bug: it is failing to process the HTML files, apparently because of a flawed assumption that they should be UTF-8-encoded, and then it is failing to clean up its temporary files.
Yep, thanks for the report. Version 0.3.1 should fix both bugs.
Zbyszek
packaging@lists.fedoraproject.org