]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
chg: test: use --without-python for Debian "sid" builds
authorMichał Kępień <michal@isc.org>
Tue, 6 Aug 2024 07:34:53 +0000 (09:34 +0200)
committerMichał Kępień <michal@isc.org>
Tue, 6 Aug 2024 07:34:53 +0000 (09:34 +0200)
Debian "sid" images used in GitLab CI no longer contain the distutils
Python module, which prevents the ./configure script from succeeding on
that operating system.  Instead of explicitly installing optional
dependencies for a branch that is no longer actively maintained, add the
--without-python switch to the ./configure invocations on Debian "sid"
to work around the problem.

.gitlab-ci.yml

index 8136097a5accf5a498f22ac815d2ddd73f16553a..6ce547c43edd6730ddc51066db6b2c93ba82c85e 100644 (file)
@@ -855,7 +855,7 @@ gcc:sid:amd64:
   variables:
     CC: gcc
     CFLAGS: "${CFLAGS_COMMON} -O3"
-    EXTRA_CONFIGURE: "--with-libidn2 --without-lmdb"
+    EXTRA_CONFIGURE: "--with-libidn2 --without-lmdb --without-python"
     RUN_MAKE_INSTALL: 1
   <<: *debian_sid_amd64_image
   <<: *build_job
@@ -1251,7 +1251,7 @@ nolibtool:sid:amd64:
   variables:
     CC: gcc
     CFLAGS: "${CFLAGS_COMMON}"
-    EXTRA_CONFIGURE: "--with-libidn2 --without-libtool --with-dlopen"
+    EXTRA_CONFIGURE: "--with-libidn2 --without-libtool --with-dlopen --without-python"
   <<: *debian_sid_amd64_image
   <<: *build_job