Is this due to the Qt6 change?
/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Gui/Application.cpp: In member function ‘QStringList Gui::Application::workbenches() const’:
/var/tmp/pamac-build-mac/freecad-git/src/FreeCAD/src/Gui/Application.cpp:1677:30: error: ‘PyUnicode_AsUTF8’ was not declared in this scope; did you mean ‘PyUnicode_AsUCS4’?
1677 | const char* wbName = PyUnicode_AsUTF8(key);
| ^~~~~~~~~~~~~~~~
| PyUnicode_AsUCS4
[3854/5575] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/DocumentModel.cpp.o
[3855/5575] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/DocumentObserver.cpp.o
[3856/5575] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/AutoSaver.cpp.o
[3857/5575] Building CXX object src/Gui/CMakeFiles/FreeCADGui.dir/DocumentObserverPython.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
adrianinsaval commented on 2023-03-12 14:50 (UTC)
If the check fails there is little I can do about it as it most likely needs to be fixed upstream, in such cases report those upstream (maybe wait a day or two as sometimes it's quickly solved upstream) or skip the check with
makepkg --nocheck
if you don't care about the functionality that is being reported as failing in the check.