Bug#1094803: freecad: Clean target does not allow a rebuild
Wookey
wookey at debian.org
Fri Jan 31 11:25:37 GMT 2025
Source: freecad
Version: 1.0.0+dfsg-5
Severity: normal
Tags: patch
If you build the package, then try to build it again you get an error about unrepresentable changes to source.
The issue is that the pycache files are left behind, so the
src/Tools/generateBase/__pycache__ and
src/Tools/generateTemplates/__pycache__ directories needs to be
cleaned up.
Sadly this stuff is no longer considered a proper FTBFS, but it is very annoying when doing development/backporting.
It's a simple patch:
--- /tmp/clean 2025-01-31 11:23:00.586082769 +0000
+++ debian/clean 2025-01-31 11:13:51.939879110 +0000
@@ -1,2 +1,4 @@
src/Tools/generateBase/*.pyc
+src/Tools/generateBase/__pycache__/
src/Tools/generateTemplates/*.pyc
+src/Tools/generateTemplates/__pycache__/
\ No newline at end of file
More information about the debian-science-maintainers
mailing list