Bug 1211700

Summary: windows:mingw:win{32|64}/mingw{32|64}-python3: File or directory /usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/python3.9/PythonTargets.cmake referenced by variable PYTHON_TARGETS does not exist
Product: [openSUSE] openSUSE.org Reporter: Ralf Habacker <ralf.habacker>
Component: 3rd party softwareAssignee: Fridrich Strba <fstrba>
Status: RESOLVED FIXED QA Contact: E-mail List <screening-team-bugs>
Severity: Normal    
Priority: P5 - None CC: forgotten_8UYIdkKBha, fridrich.strba, mkbosmans
Version: unspecified   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Ralf Habacker 2023-05-24 20:27:30 UTC
Trying to add python3 support to https://build.opensuse.org/package/show/windows:mingw:win32:snapshots/mingw32-kmymoney5 results into the following error:

[  110s] CMake Error at /usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/python3.9/Python3Config.cmake:14 (message):
[  110s]   File or directory
[  110s]   /usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/python3.9/PythonTargets.cmake
[  110s]   referenced by variable PYTHON_TARGETS does not exist !
[  110s] Call Stack (most recent call first):
[  110s]   /usr/i686-w64-mingw32/sys-root/mingw/lib/cmake/python3.9/Python3Config.cmake:31 (set_and_check)
[  110s]   CMakeLists.txt:300 (find_package)
Comment 1 Ralf Habacker 2023-05-24 23:01:03 UTC
Fixed with submit request https://build.opensuse.org/request/show/1088920 and https://build.opensuse.org/request/show/1088921