You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build 329c6a2 (trunk HEAD) on Gentoo Lignux. Observing lots of errors like:
/var/tmp/portage/sci-geosciences/navit-9999-r1/work/navit-9999/navit/binding/python/navigation.c: In function ‘navigation_getattr_py’:
/var/tmp/portage/sci-geosciences/navit-9999-r1/work/navit-9999/navit/binding/python/navigation.c:43:12: error: implicit declaration of function ‘Py_FindMethod’ [-Wimplicit-function-declaration]
43 | return Py_FindMethod(navigation_methods, self, name);
| ^~~~~~~~~~~~~
/var/tmp/portage/sci-geosciences/navit-9999-r1/work/navit-9999/navit/binding/python/navigation.c:43:12: error: returning ‘int’ from a function with return type ‘PyObject *’ {aka ‘struct _object *’} makes pointer from integer without a cast [-Wint-conversion]
43 | return Py_FindMethod(navigation_methods, self, name);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Not sure if relevant, cmake says:
CMake Warning (dev) at CMakeLists.txt:239 (find_package):
Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules
are removed. Run "cmake --help-policy CMP0148" for policy details. Use
the cmake_policy command to set the policy and suppress this warning.
This warning is for project developers. Use -Wno-dev to suppress it.
$ python2 --version
Python 2.7.18
$ python3 --version
Python 3.12.8
$ cmake --version
cmake version 3.31.4
CMake suite maintained and supported by Kitware (kitware.com/cmake).
The text was updated successfully, but these errors were encountered:
In file included from /var/tmp/portage/sci-geosciences/navit-9999-r1/work/navit-9999/navit/binding/python/pcoord.c:20:
/var/tmp/portage/sci-geosciences/navit-9999-r1/work/navit-9999/navit/binding/python/common.h:20:10: fatal error: Python.h: No such file or directory
20 | #include <Python.h>
| ^~~~~~~~~~
Trying to build 329c6a2 (trunk HEAD) on Gentoo Lignux. Observing lots of errors like:
Not sure if relevant, cmake says:
The text was updated successfully, but these errors were encountered: