From 7048b3ab0d5789014432daa650a17a7041be942d 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. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8d74a38c68..ac63df4c2d 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -902,7 +902,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