befeleme / pyp2spec

Generate Fedora RPM spec files for Python packages
MIT License
11 stars 4 forks source link

Fails to build yarl 1.9.4 with a Filename Too Long error #44

Closed brianjmurrell closed 5 months ago

brianjmurrell commented 5 months ago

The build.log because a paste of the text results in a comment > GH's 64K limit.

hroncok commented 5 months ago

Could you attach the spec file? Looks like something is copying pyproject build dir into itself.

brianjmurrell commented 5 months ago

python-yarl.spec.txt

hroncok commented 5 months ago

The package uses a custom build backend. I suspect this might need fixing there. Anyway, it's not a bug in pyp2spec, most likely it's an issue that might need to be adressed in the implementation of %pyproject_wheel or the build backend of yarl. I'll have a look on the backend code later today.

hroncok commented 5 months ago

This is the same problem that I fixed 4 years ago in pip: https://github.com/pypa/pip/issues/7872

hroncok commented 5 months ago

Reported https://github.com/aio-libs/yarl/issues/992

befeleme commented 5 months ago

Thank you, I'll close it here.