From b7a93a7ddb3fcb9f123516062669ef8775d59f93 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Mon, 10 Jun 2024 11:00:31 +0100 Subject: [PATCH] ci: Disable dtrace/systemtap on FreeBSD CI MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It seems to have been accidentally enabled by the switch to making dtrace a Meson feature. This has only just been caught because the FreeBSD CI runner has been offline for several weeks (see https://gitlab.gnome.org/Infrastructure/Infrastructure/-/issues/1503). With dtrace enabled, the FreeBSD CI build fails with: ``` [8/1601] Generating 'gobject/libgobject-2.0.so.0.8100.0.p/gobject_probes.o' FAILED: gobject/libgobject-2.0.so.0.8100.0.p/gobject_probes.o /usr/sbin/dtrace -G -s ../gobject/gobject_probes.d -o gobject/libgobject-2.0.so.0.8100.0.p/gobject_probes.o dtrace: failed to link script ../gobject/gobject_probes.d: No probe sites found for declared provider [9/1601] Generating 'glib/libglib-2.0.so.0.8100.0.p/glib_probes.h' (wrapped by meson because command contains newlines) [10/1601] Generating 'glib/libglib-2.0.so.0.8100.0.p/glib_probes.o' FAILED: glib/libglib-2.0.so.0.8100.0.p/glib_probes.o /usr/sbin/dtrace -G -s ../glib/glib_probes.d -o glib/libglib-2.0.so.0.8100.0.p/glib_probes.o dtrace: failed to link script ../glib/glib_probes.d: No probe sites found for declared provider ``` (see https://gitlab.gnome.org/GNOME/glib/-/jobs/3961782) I have no idea how to fix that, and it’s presumably not been working for a long time. Signed-off-by: Philip Withnall --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d804269a9..8180003cd 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -636,7 +636,13 @@ freebsd-13-x86_64: # --fatal-meson-warnings. This should be fixed in Meson 1.4. It’s also fine # with Meson 1.2.3 (which is what we use on all the other CI runners). # See https://github.com/GNOME/glib/commit/71061fdcb33b8c26f5f8467cb3ac10704d65c87d - - meson setup --buildtype debug --wrap-mode=nodownload --localstatedir=/var -Db_lundef=false -Dxattr=false _build + - meson setup --buildtype debug --wrap-mode=nodownload + --localstatedir=/var + -Db_lundef=false + -Dxattr=false + -Dsystemtap=disabled + -Ddtrace=disabled + _build - meson compile -C _build - bash -x ./.gitlab-ci/run-tests.sh artifacts: