Bug 285292 - devel/py-lxml build fails on main (15.0)
Summary: devel/py-lxml build fails on main (15.0)
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-09 17:58 UTC by rkoberman
Modified: 2025-03-10 01:47 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (amdmi3)


Attachments
devel/py-lxml build failure log (40.52 KB, text/plain)
2025-03-09 17:58 UTC, rkoberman
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description rkoberman 2025-03-09 17:58:51 UTC
Created attachment 258496 [details]
devel/py-lxml build failure log

I am unable to update devel/py-lxml on a system running main. The fail is at the start of the build:

The log of the build is attached.
Comment 1 Rainer Hurling freebsd_committer freebsd_triage 2025-03-09 20:45:04 UTC
Please check if lang/cython3 is installed on your system. I had to change it to lang/cython and after that devel/py-lxml was built as expected :)

After that you can go back to lang/cython3 as more Python ports are now building with this version ...


If you use portmaster, the following should do:
  portmaster -o lang/cython py311-cython3-3.0.12
  portmaster devel/py-lxml
  portmaster -o lang/cython3 py311-cython-0.29.37_2
Comment 2 rkoberman 2025-03-10 01:47:48 UTC
Thanks you, Rainer. That fixed it. Well, not really, since the current state allows this breakage. Looks like a modification to Mk/Uses/python.mk could be used to fix this by adding a "cython_version item and updating the port Makefile for ports still using the old version.(This seems backward to me.Why was the ld compiler not renamed to cython2?)

I will close this ticket and try to get a ticket submitted to ask for a proper fix for this.