Closed furgo16 closed 1 month ago
It seems it wasn't a one off. Daily builds continue to fail.
Running snapcraft locally gives:
snapcraft --debug
Installed package repositories
'override-build' in part 'freecad' failed with code 1. '/workspace/usr/bin/shiboken2': File exists
The only reference I've found to this error is https://forum.freecad.org/viewtopic.php?style=5&t=63033
The line that symlinks shiboken2
would seem relevant to the error in the previous comment:
This might do the trick, although I must admit I'm not sure why the symlinking is necessary in the first place.
- mkdir -p /workspace/usr/bin
- ln -s /usr/bin/shiboken2 /workspace/usr/bin/shiboken2
+ SHIBOKEN_BIN_PATH="/workspace/usr/bin/shiboken2"
+ if [ ! -e $SHIBOKEN_BIN_PATH ]
+ mkdir -p "$(dirname "${SHIBOKEN_BIN_PATH}")"
+ ln -s /usr/bin/shiboken2 $SHIBOKEN_BIN_PATH
+ fi
The latest daily build package failed to build: https://github.com/FreeCAD/FreeCAD-snap/actions/runs/11116512903
Extract from the logs: