On Wed, 16 Jul 2025, Martin Gansser wrote:

Hi,

why is this error message displayed when compiling tartube [1] after using the 
pyproject_* macros:

RPM build errors:
   File not found: 
/home/martin/rpmbuild/BUILD/tartube-2.5.145-build/BUILDROOT/usr/share/pixmaps/tartube.*
   Directory not found: 
/home/martin/rpmbuild/BUILD/tartube-2.5.145-build/BUILDROOT/usr/share/tartube
   File not found: 
/home/martin/rpmbuild/BUILD/tartube-2.5.145-build/BUILDROOT/usr/share/man/man1/*.1*

[1] https://martinkg.fedorapeople.org/ErrorReports/tartube.spec

Well, RPM is saying that files / directories that you've specified in the %files section are not being found in the built RPM. This means that some files that were being installed by the old process are not being installed by the pyproject build process.

Looking briefly at the setup.py and what it is doing, I would try moving the
export TARTUBE_PKG_STRICT=1
line to before %pyproject_wheel and see if that fixes it.

Scott
--
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@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/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to