From b95ed8ebf24853e665e24099bc150b5378fec460 Mon Sep 17 00:00:00 2001 From: "Enrico Weigelt, metux IT consult" Date: Tue, 30 Jun 2026 12:39:52 +0200 Subject: [PATCH] .github: re-enable -Dwerror for the RHEL build job The -Werror=format-truncation false positive that forced -Dwerror=false on the RHEL job is now fixed at the source (set_sun_path), so tighten the job back to -Dwerror=true to match the other Linux build jobs. Signed-off-by: Enrico Weigelt, metux IT consult --- .github/workflows/build-xserver.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build-xserver.yml b/.github/workflows/build-xserver.yml index 1229da8d56..3e24fd01be 100644 --- a/.github/workflows/build-xserver.yml +++ b/.github/workflows/build-xserver.yml @@ -698,10 +698,7 @@ jobs: # an entitlement on public runners. image: almalinux:${{ matrix.rhelver }} env: - # werror off for now: RHEL 10's newer GCC trips -Werror=format-truncation - # in os/Xtranssock.c. Freshly-added platform; tighten once it's clean - # (same as the gentoo/solaris/openbsd jobs). - MESON_ARGS: -Dprefix=/usr -Dwerror=false -Dxcsecurity=true -Dxorg=true -Dxephyr=true -Dxvfb=true -Dxnest=true -Dxfbdev=false -Dsystemd_logind=false + MESON_ARGS: -Dprefix=/usr -Dwerror=true -Dxcsecurity=true -Dxorg=true -Dxephyr=true -Dxvfb=true -Dxnest=true -Dxfbdev=false -Dsystemd_logind=false steps: - name: Check out repository code uses: actions/checkout@v6