]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Drop gcc:sid:amd64 jobs
authorMichal Nowak <mnowak@isc.org>
Wed, 1 Oct 2025 08:36:49 +0000 (10:36 +0200)
committerMichal Nowak <mnowak@isc.org>
Fri, 3 Oct 2025 12:59:24 +0000 (14:59 +0200)
They fail to build with GCC 15.2.0:

    rdata/in_1/wks_11.c: In function 'totext_in_wks':
    rdata/in_1/wks_11.c:238:77: error: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size 6 [-Werror=format-truncation=]
      238 |                                                 snprintf(buf, sizeof(buf), "%u",
          |                                                                             ^~
    rdata/in_1/wks_11.c:238:76: note: directive argument in the range [1, 4294967295]
      238 |                                                 snprintf(buf, sizeof(buf), "%u",
          |                                                                            ^~~~
    rdata/in_1/wks_11.c:238:49: note: 'snprintf' output between 2 and 11 bytes into a destination of size 6
      238 |                                                 snprintf(buf, sizeof(buf), "%u",
          |                                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      239 |                                                          i * 8 + j);
          |                                                          ~~~~~~~~~~

nolibtool:sid:amd64 keeps building, so keep it.

Move -O3 and --without-lmdb to gcc:noble:amd64.

Move RUN_MAKE_INSTALL=1 to gcc:trixie:amd64 as Sphinx is needed to build
man pages that are checked for in util/check-make-install.

.gitlab-ci.yml

index 038521f2bf8e775b7888bde7f8da66b3a1a8d9c2..2230e44f74a21ead4c4ac13df611194ea04df983 100644 (file)
@@ -598,8 +598,8 @@ gcc:tarball:nosphinx:
 gcc:noble:amd64:
   variables:
     CC: gcc
-    CFLAGS: "${CFLAGS_COMMON}"
-    EXTRA_CONFIGURE: "--with-libidn2"
+    CFLAGS: "${CFLAGS_COMMON} -O3"
+    EXTRA_CONFIGURE: "--with-libidn2 --without-lmdb"
   <<: *ubuntu_noble_amd64_image
   <<: *build_job
 
@@ -648,6 +648,7 @@ gcc:trixie:amd64:
     CFLAGS: "${CFLAGS_COMMON} --coverage -O0"
     EXTRA_CONFIGURE: "--with-libidn2"
     LDFLAGS: "--coverage"
+    RUN_MAKE_INSTALL: 1
   <<: *debian_trixie_amd64_image
   <<: *build_job
 
@@ -682,32 +683,6 @@ gcc:trixie:amd64cross32:
   <<: *debian_trixie_amd64cross32_image
   <<: *build_job
 
-# Jobs for regular GCC builds on Debian "sid" (amd64)
-# Also tests configration option: --without-lmdb.
-
-gcc:sid:amd64:
-  variables:
-    CC: gcc
-    CFLAGS: "${CFLAGS_COMMON} -O3"
-    EXTRA_CONFIGURE: "--with-libidn2 --without-lmdb --without-python"
-    RUN_MAKE_INSTALL: 1
-  <<: *debian_sid_amd64_image
-  <<: *build_job
-
-system:gcc:sid:amd64:
-  <<: *debian_sid_amd64_image
-  <<: *system_test_job
-  needs:
-    - job: gcc:sid:amd64
-      artifacts: true
-
-unit:gcc:sid:amd64:
-  <<: *debian_sid_amd64_image
-  <<: *unit_test_job
-  needs:
-    - job: gcc:sid:amd64
-      artifacts: true
-
 # Job for out-of-tree GCC build on Debian 13 "trixie" (amd64)
 # Also tests configration option: --with-lmdb.