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
Acacia fails to build on a github runner when -DACACIA_PYTHON=ON is passed.
SWIG complains that it can't find std_unique_ptr.i. Same version of SWIG (4.1.0) builds fine on my Debian laptop. Actually, we are building SWIG 4.1.0 from source in the CI runner precisely because the shipped version (4.0.1) doesn't have support for unique pointers.
Oddly enough, NodeJS does build fine on the CI runner, pointing at an issue specific to SWIG and the Python environment.
[ 5%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/atspi_node.cc.o
[ 10%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/atspi_action_interface.cc.o
[ 15%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/atspi_component_interface.cc.o
[ 20%] Swig compile acacia_atspi.i for python
[ 25%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/atspi_document_interface.cc.o
[ 30%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/atspi_hyperlink_interface.cc.o
[ 35%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/atspi_table_interface.cc.o
[ 40%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/atspi_table_cell_interface.cc.o
[ 45%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/atspi_text_interface.cc.o
[ 50%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/atspi_value_interface.cc.o
[ 55%] Building CXX object lib/atspi/CMakeFiles/acacia_atspi.dir/linux_utils.cc.o
/home/runner/work/acacia/acacia/lib/atspi/acacia_atspi.i:18: Error: Unable to find 'std_unique_ptr.i'
make[2]: *** [lib/atspi/CMakeFiles/acacia_atspi_python_swig_compilation.dir/build.make:76: lib/atspi/CMakeFiles/acacia_atspi_python.dir/acacia_atspiPYTHON.stamp] Error 1
make[2]: *** Deleting file 'lib/atspi/CMakeFiles/acacia_atspi_python.dir/acacia_atspiPYTHON.stamp'
make[1]: *** [CMakeFiles/Makefile2:1021: lib/atspi/CMakeFiles/acacia_atspi_python_swig_compilation.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 60%] Linking CXX shared library libacacia_atspi.so
[ 60%] Built target acacia_atspi
make: *** [Makefile:146: all] Error 2
Error: Process completed with exit code 2.
The text was updated successfully, but these errors were encountered:
Wow this is confusing... I had this same error on my build machine (running pop!os), but the reason for that was that SWIG was too old, so ultimately I had to get and install swig from source. But after I did that, I could build just fine.
Acacia fails to build on a github runner when
-DACACIA_PYTHON=ON
is passed.SWIG complains that it can't find
std_unique_ptr.i
. Same version of SWIG (4.1.0) builds fine on my Debian laptop. Actually, we are building SWIG 4.1.0 from source in the CI runner precisely because the shipped version (4.0.1) doesn't have support for unique pointers.Oddly enough, NodeJS does build fine on the CI runner, pointing at an issue specific to SWIG and the Python environment.
The text was updated successfully, but these errors were encountered: