Bug 1791770 - cantor fails to build with Python 3.9: Could NOT find PythonLibs3
Summary: cantor fails to build with Python 3.9: Could NOT find PythonLibs3
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cantor
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-01-16 12:50 UTC by Miro Hrončok
Modified: 2020-01-16 15:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-16 15:03:16 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-01-16 12:50:02 UTC
cantor fails to build with Python 3.9.0a2:


-- Could NOT find PythonLibs (missing: PYTHON_LIBRARIES PYTHON_INCLUDE_DIRS) (Required is at least version "2.7")
-- Could NOT find PythonLibs3 (missing: PYTHONLIBS3_LIBRARY) 
error: File not found: /builddir/build/BUILDROOT/cantor-19.08.3-2.fc32.x86_64/etc/xdg/cantor_python3.knsrc
error: File not found: /builddir/build/BUILDROOT/cantor-19.08.3-2.fc32.x86_64/usr/bin/cantor_python3server
error: File not found: /builddir/build/BUILDROOT/cantor-19.08.3-2.fc32.x86_64/usr/lib64/qt5/plugins/cantor/backends/cantor_python3backend.so
error: File not found: /builddir/build/BUILDROOT/cantor-19.08.3-2.fc32.x86_64/usr/share/config.kcfg/python3backend.kcfg

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01148344-cantor/

For all our attempts to build cantor with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/cantor/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Rex Dieter 2020-01-16 13:33:49 UTC
I believe there was a recent cmake pull request adding support for the newer python.

Comment 2 Miro Hrončok 2020-01-16 13:47:27 UTC
The change was for FindPython:

https://src.fedoraproject.org/rpms/cmake/c/8d55c35ecb54c581f2823c563d5d562aec02c2b9?branch=master

root.log says the build was done with 3.16.2-1.fc32 and this is a different problem.

Comment 3 Rex Dieter 2020-01-16 14:44:10 UTC
Arg right, cantor bundles it's own implementation

Comment 4 Rex Dieter 2020-01-16 15:03:16 UTC
 %changelog
+* Thu Jan 16 2020 Rex Dieter <rdieter> - 19.08.3-3
+- cantor fails to build with Python 3.9: Could NOT find PythonLibs3 (#1791770)

Comment 5 Miro Hrončok 2020-01-16 15:11:13 UTC
Thanks.


Note You need to log in before you can comment on or make changes to this bug.