Build failure for media-gfx/freecad-0.19.4::gentoo [0.19.2-r6::gentoo] USE="addonmgr drawing%* fem idf image inspection material openscad part-design path points raytracing robot show surface techdraw tux -cloud -debug -headless -pcl -plot -ship -test" PYTHON_SINGLE_TARGET="python3_9* -python3_8*" 0 KiB FAILED: src/Mod/Material/Material_rc.py /var/tmp/portage/media-gfx/freecad-0.19.4/work/FreeCAD-0.19.4_build/src/Mod/Material/Material_rc.pycd /var/tmp/portage/media-gfx/freecad-0.19.4/work/FreeCAD-0.19.4_build/src/Mod/Material && PYSIDE2RCCBINARY-NOTFOUND --generator=python --compress-algo=zlib --compress=1 /var/tmp/portage/media-gfx/freecad-0.19.4/work/FreeCAD-0.19.4/src/Mod/Material/Resources/Material.qrc -o /var/tmp/portage/media-gfx/freecad-0.19.4/work/FreeCAD-0.19.4_build/src/Mod/Material/Material_rc.py && sed -i /^#\ /d /var/tmp/portage/media-gfx/freecad-0.19.4/work/FreeCAD-0.19.4_build/src/Mod/Material/Material_rc.py /bin/sh: line 1: PYSIDE2RCCBINARY-NOTFOUND: command not found I have dev-python/pyside2 and the rest of Qt at v5.15 (rcc is handled by qtcore since 5.15). Apparently the cMake/FindPySide2Tools.cmake has issues resulting in a successful src_configure but failing compilation. Configure says: [...] ======================= PySide2Tools not found. ======================= [...] -- PySide2Tools: not found [...] Resulting in a CMakeCache with: PYSIDE2RCCBINARY:FILEPATH=PYSIDE2RCCBINARY-NOTFOUND Most ebuilds patch the build system with an extra argument to use rcc at /usr/lib*/qt/bin: RCC=$(qt5_get_bindir)/rcc or: sed -i -e "s| rcc| \"$(qt5_get_bindir)\"/rcc|" themes/Makefile || die This should probably be done with FreeCAD too. Reproducible: Always
Hadn't noticed https://bugs.gentoo.org/836433 when posting this, sorry.
Thanks for the report. As you noted, seems like a dupe, but thanks nonetheless! *** This bug has been marked as a duplicate of bug 836433 ***