From 646ab10d6dfa82fca301d6adc0b97d6b4bdcf889 Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Tue, 26 Nov 2024 15:49:15 +0100 Subject: [PATCH] Disable tracing for gcovr-enabled builds gcovr has issues with processing files produced as part of a BIND 9 build with tracing support enabled (--enable-tracing). Depending on the gcovr version used, these issues may result in either warnings or failures being reported by that tool. Disable tracing support for gcovr-enabled builds to work around these issues. (cherry picked from commit 7048b3ab0d5789014432daa650a17a7041be942d) --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d22d4307bf..c2cd736f8c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -897,7 +897,8 @@ gcc:bookworm:amd64: variables: CC: gcc CFLAGS: "${CFLAGS_COMMON} --coverage -O0" - EXTRA_CONFIGURE: "--with-libidn2 ${WITH_READLINE_LIBEDIT}" + # Tracing needs to be disabled otherwise gcovr fails + EXTRA_CONFIGURE: "--with-libidn2 ${WITH_READLINE_LIBEDIT} --disable-tracing" RUN_MAKE_INSTALL: 1 <<: *debian_bookworm_amd64_image <<: *build_job