• Bug#1103213: foot: FTBFS: ../wayland.c:878:9: error: enumeration value

    From Santiago Vila@21:1/5 to All on Tue Apr 15 02:30:01 2025
    Package: src:foot
    Version: 1.21.0-1
    Severity: serious
    Tags: ftbfs trixie sid

    Dear maintainer:

    During a rebuild of all packages in unstable, your package failed to build:

    --------------------------------------------------------------------------------
    [...]
    [148/161] cc -Iutils/xtgettcap.p -Iutils -I../utils -flto=au [too-long-redacted] cap.c.o -c ../utils/xtgettcap.c
    [149/161] cc -Ifoot.p -I. -I.. -I/usr/include/pixman-1 -I/us [too-long-redacted] t.p/wayland.c.o -c ../wayland.c
    FAILED: foot.p/wayland.c.o
    cc -Ifoot.p -I. -I.. -I/usr/include/pixman-1 -I/usr/include/ [too-long-redacted] t.p/wayland.c.o -c ../wayland.c
    ../wayland.c: In function ‘xdg_toplevel_configure’:
    ../wayland.c:878:9: error: enumeration value ‘XDG_TOPLEVEL_STATE_CONSTRAINED_LEFT’ not handled in switch [-Werror=switch]
    878 | switch (*state) {
    | ^~~~~~
    ../wayland.c:878:9: error: enumeration value ‘XDG_TOPLEVEL_STATE_CONSTRAINED_RIGHT’ not handled in switch [-Werror=switch]
    ../wayland.c:878:9: error: enumeration value ‘XDG_TOPLEVEL_STATE_CONSTRAINED_TOP’ not handled in switch [-Werror=switch]
    ../wayland.c:878:9: error: enumeration value ‘XDG_TOPLEVEL_STATE_CONSTRAINED_BOTTOM’ not handled in switch [-Werror=switch]
    cc1: all warnings being treated as errors
    [150/161] cc -Itests/test-config.p -Itests -I../tests -I. -I [too-long-redacted] g.c.o -c ../tests/test-config.c
    [151/161] cc -o pgo pgo.p/meson-generated_.._xdg-shell.c.o [too-long-redacted] -gnu/libfcft.so -Wl,--end-group
    ninja: build stopped: subcommand failed.
    make[1]: *** [debian/rules:26: override_dh_auto_build] Error 1
    make[1]: Leaving directory '/<<PKGBUILDDIR>>'
    make: *** [debian/rules:6: binary] Error 2
    dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 --------------------------------------------------------------------------------

    The above is just how the build ends and not necessarily the most relevant part.
    If required, the full build log is available here:

    https://people.debian.org/~sanvila/build-logs/202504/

    About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages.

    If you could not reproduce the bug please contact me privately, as I
    am willing to provide ssh access to a virtual machine where the bug is
    fully reproducible.

    If this is really a bug in one of the build-depends, please use
    reassign and add an affects on src:foot, so that this is still
    visible in the BTS web page for this package.

    Thanks.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Thu Apr 17 17:10:01 2025
    This is a multi-part message in MIME format...

    Your message dated Thu, 17 Apr 2025 15:04:48 +0000
    with message-id <E1u5QnI-001SRG-0Z@fasolo.debian.org>
    and subject line Bug#1103213: fixed in foot 1.21.0-2
    has caused the Debian Bug report #1103213,
    regarding foot: FTBFS: ../wayland.c:878:9: error: enumeration value 'XDG_TOPLEVEL_STATE_CONSTRAINED_LEFT' not handled in switch [-Werror=switch]
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1103213: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1103213
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 15 Apr 2025 00:24:21 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-117.9 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,LONGWORD,
    PP_MIME_FAKE_ASCII_TEXT,RCVD_IN_DNSWL_MED,SPF_HELO_PASS,SPF_NONE,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,X_DEBBUGS_CC
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 54; hammy, 150; neutral, 100; spammy,
    0. spammytokens: hammytokens:0.000-+--trixie, 0.000-+--pkgbuilddir,
    0.000-+--PKGBUILDDIR, 0.000-+--H*F:U*sanvila, 0.000-+--H*rp:U*sanvila Return-path: <sanvila@debian.org>
    Received: from mitropoulo