Summary: | lang/python38: invalid python-config --ldflags | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Konstantin Belousov <kib> |
Component: | Individual Port(s) | Assignee: | Antoine Brodin <antoine> |
Status: | Closed Not A Bug | ||
Severity: | Affects Only Me | Flags: | koobs:
maintainer-feedback+
|
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Konstantin Belousov
2019-11-06 13:29:39 UTC
According to https://docs.python.org/3/whatsnew/3.8.html : To embed Python into an application, a new --embed option must be passed to python3-config --libs --embed to get -lpython3.8 (link the application to libpython). To support both 3.8 and older, try python3-config --libs --embed first and fallback to python3-config --libs (without --embed) if the previous command fails. (In reply to Antoine Brodin from comment #1) I see, it is the problem with samba' waf. There is one more issue with timers as well. In other words, samba from ports cannot be built with python 3.8. Redhat seems to have the patches, but I do not think it is worth spending efforts on importing them, instead of importing newer samba. |