Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building Debian packages on Debian systems doesn't work #43

Closed
RalfGoebel opened this issue Feb 15, 2022 · 2 comments
Closed

Building Debian packages on Debian systems doesn't work #43

RalfGoebel opened this issue Feb 15, 2022 · 2 comments

Comments

@RalfGoebel
Copy link

Hi,

We are building the OpenEB Debian packages for Debian 10 and 11 systems, because our embedded devices do not support Ubuntu.
The CMake target public_deb_packages used to work with OpenEB 2.2, but not anymore.

I think the problem is in python3.cmake, line 124:

set (PYTHON3_DEFAULT_VERSION "3.6")

To fix the problem, I have replaced the line with:
list(GET PYBIND11_PYTHON_VERSIONS 0 PYTHON3_DEFAULT_VERSION)

I also added "3.9" to the variable PYTHON3_ALL_VERSIONS in line 119 to make it work with Debian 11:

set (PYTHON3_ALL_VERSIONS "3.6;3.7;3.8")

Thanks,
Ralf

@laurentbristiel
Copy link
Contributor

Hi Ralf,
(belated) thanks for your feedback.
Your fix is legit and might help other people trying to compile OpenEB on Debiant 10/11.
At the moment we can not include this change in OpenEB because we don't have the proper CI env/tools to test another version of Python, but we will try to improve this in the future.
Laurent

@biphasic
Copy link

@RalfGoebel thanks for posting this. I'm also tied to Debian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants