Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1027839: createrepo-c FTBFS with Python 3.11 as default version

181 views
Skip to first unread message

Adrian Bunk

unread,
Jan 3, 2023, 5:50:04 PM1/3/23
to
Source: createrepo-c
Version: 0.17.3-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=createrepo-c&arch=ppc64el&ver=0.17.3-1%2Bb1&stamp=1672726045&raw=0

...
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.11.1", minimum required is "3")
-- Found PythonLibs: /usr/lib/powerpc64le-linux-gnu/libpython3.11.so (found suitable version "3.11.1", minimum required is "3")
-- Python install dir is /usr/lib/python3/dist-packages
<string>:1: DeprecationWarning: path is deprecated. Use files() instead. Refer to https://importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.
Traceback (most recent call last):
File "<string>", line 1, in <module>
TypeError: unsupported operand type(s) for /: '_GeneratorContextManager' and 'str'
-- Python skbuild CMake dir is
CMake Error at src/python/CMakeLists.txt:65 (find_package):
By not providing "FindPythonExtensions.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"PythonExtensions", but CMake did not find one.

Could not find a package configuration file provided by "PythonExtensions"
with any of the following names:

PythonExtensionsConfig.cmake
pythonextensions-config.cmake

Add the installation prefix of "PythonExtensions" to CMAKE_PREFIX_PATH or
set "PythonExtensions_DIR" to a directory containing one of the above
files. If "PythonExtensions" provides a separate development package or
SDK, be sure it has been installed.


-- Configuring incomplete, errors occurred!




The problem seems to come from debian/patches/python-skbuild-path.patch

Sebastiaan Couwenberg

unread,
Jan 4, 2023, 3:40:03 AM1/4/23
to
Control: tags -1 patch

On Wed, 04 Jan 2023 00:38:51 +0200 Adrian Bunk <bu...@debian.org> wrote:
> The problem seems to come from debian/patches/python-skbuild-path.patch

The attached patch resolves the issue.

Kind Regards,

Bas

--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
createrepo-c_0.17.3-1.debdiff
0 new messages