[neon/backports-noble/wireplumber-noble/Neon/unstable] debian: workaround python-setuptools/gir mscv compiler error
Carlos De Maine
null at kde.org
Sun Sep 27 07:49:39 BST 2026
Git commit b2c2243c92fc07298c583f9608026d330f88a72e by Carlos De Maine.
Committed on 27/09/2026 at 06:37.
Pushed by carlosdem into branch 'Neon/unstable'.
workaround python-setuptools/gir mscv compiler error
M +6 -0 debian/rules
https://invent.kde.org/neon/backports-noble/wireplumber-noble/-/commit/b2c2243c92fc07298c583f9608026d330f88a72e
diff --git a/debian/rules b/debian/rules
index a8123ae..09176df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,12 @@ endif
dh $@ --buildsystem=meson
override_dh_auto_configure:
+ @SETUPTOOLS_DISTUTILS=$$(python3 -c "import os, setuptools; print(os.path.join(os.path.dirname(setuptools.__file__), '_distutils'))" 2>/dev/null); \
+ if [ -d "$$SETUPTOOLS_DISTUTILS" ]; then \
+ echo "Injecting shim into setuptools vendored path: $$SETUPTOOLS_DISTUTILS"; \
+ echo "class MSVCCompiler: pass" > "$$SETUPTOOLS_DISTUTILS/msvccompiler.py"; \
+ fi
+
dh_auto_configure -- \
-Dmodules=true \
-Ddaemon=true \
More information about the Neon-commits
mailing list