shiznix / unity-gentoo

A Gentoo overlay to install the Unity desktop
70 stars 13 forks source link

trying to build against openrc system #237

Closed rburcham closed 4 years ago

rburcham commented 4 years ago

I've commented out the systemd deps from the ebuild and the CMakeLists.txt.

...
[ 36%] Built target process-cpp
Generating /var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19_build/external/android-emugl/host/include/OpenGLESDispatch/RenderEGL_functions.h
Generating /var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19_build/external/android-emugl/host/include/OpenGLESDispatch/RenderEGL_functions.h
cd /var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19_build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19 /var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19/external/android-emugl/host/libs /var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19_build /var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19_build/external/android-emugl/host/libs /var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19_build/external/android-emugl/host/libs/CMakeFiles/renderControl_dec.dir/DependInfo.cmake --color=
: _python_wrapper_setup: python2 is not supported by python3.6 (PYTHON_COMPAT)
make[2]: *** [external/android-emugl/host/libs/CMakeFiles/GLESv2_dec.dir/build.make:100: external/android-emugl/host/include/OpenGLESDispatch/gles1_extensions_functions.h] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19_build'
make[1]: *** [CMakeFiles/Makefile2:1362: external/android-emugl/host/libs/CMakeFiles/GLESv2_dec.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
: _python_wrapper_setup: python2 is not supported by python3.6 (PYTHON_COMPAT)
make[2]: *** [external/android-emugl/host/libs/CMakeFiles/GLESv1_dec.dir/build.make:100: external/android-emugl/host/include/OpenGLESDispatch/gles1_extensions_functions.h] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/var/tmp/portage/app-emulation/anbox-9999.2018.07.19-r11/work/anbox-9999.2018.07.19_build'
make[1]: *** [CMakeFiles/Makefile2:1420: external/android-emugl/host/libs/CMakeFiles/GLESv1_dec.dir/all] Error 2

It's failing to generate the OpenGLESDispatch includes. I admit I don't understand why, but the python_wrapper_setup warning is a standout.

What do?

renegart commented 4 years ago

just guess... the __python_wrappersetup is a script inside the package and it calls "python2" while the ebuild uses python3

rburcham commented 4 years ago

Aha yes, from the readme I see python2 is a dependency. Ok this is going to take some work

shiznix commented 4 years ago

This looks to be a bug introduced in Gentoo's python-utils-r1.eclass that has since been fixed.

Can you please update your system and see if this enables anbox to build properly?

shiznix commented 4 years ago

Closing for now, feel free to re-open if it re-occurs thanks :)