Skip to content
This repository was archived by the owner on Aug 23, 2024. It is now read-only.

make failing for Python API with Python version 3.11.8 #229

@adwait

Description

@adwait

Issue: attempted Python API build with Python 3.11.8. Failing due to missing "longintrepr.h" header. This is a change in Python 3.11 include headers and has been noted on the Cython git: cython/cython#4461

[ 96%] Built target btormbt
Scanning dependencies of target pyboolector
[ 96%] Building CXX object src/api/python/CMakeFiles/pyboolector.dir/pyboolector.cxx.o
[ 98%] Building C object src/api/python/CMakeFiles/pyboolector.dir/boolector_py.c.o
[100%] Building CXX object src/api/python/CMakeFiles/pyboolector.dir/pyboolector_abort.cpp.o
.../boolector/build/src/api/python/pyboolector.cxx:198:12: fatal error: longintrepr.h: No such file or directory
  198 |   #include "longintrepr.h"
      |            ^~~~~~~~~~~~~~~
compilation terminated.
src/api/python/CMakeFiles/pyboolector.dir/build.make:82: recipe for target 'src/api/python/CMakeFiles/pyboolector.dir/pyboolector.cxx.o' failed
make[2]: *** [src/api/python/CMakeFiles/pyboolector.dir/pyboolector.cxx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:357: recipe for target 'src/api/python/CMakeFiles/pyboolector.dir/all' failed
make[1]: *** [src/api/python/CMakeFiles/pyboolector.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[100%] Linking CXX executable ../bin/btorimc
[100%] Built target btorimc
Makefile:135: recipe for target 'all' failed
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    wontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions