• Bug#1105339: genometools: FTBFS with make --shuffle=reverse: ./obj/gt_c

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:10:10 2025
    Source: genometools
    Version: 1.6.5+ds-2.2
    Severity: minor
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-shuffle

    Hi,

    GNU Make now has a --shuffle option that simulates non-deterministic ordering of target prerequisites. See https://trofi.github.io/posts/238-new-make-shuffle-mode.html and also previous work in Debian by Santiago Vila: https://people.debian.org/~sanvila/make-shuffle/

    This package fails to build with make --shuffle=reverse.
    This is likely to be caused by a missing dependency in
    debian/rules or an upstream Makefile.

    More information about this mass bug filing is available at https://wiki.debian.org/qa.debian.org/FTBFS/Shuffle

    Relevant part (hopefully):
    cc -c src/core/translator.c -o obj/src/core/translator.o -Wdate-time -D_FORTIFY_SOURCE=2 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_MEMMOVE -D_LARGEFILE64_SOURCE=1 -DHAVE_HIDDEN -DLUA_DL_DLOPEN -DLUA_USE_MKSTEMP -DGT_THREADS_ENABLED -DHAVE_
    SQLITE -I./src -I./obj -I/usr/include/lua5.1 -I/usr/include/lua5.1 -I/usr/include/lua5.1 -I/usr/include/lua5.1 -I/usr/include/lua5.1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/
    sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/cairo -I/usr/include/libpng16 -I/usr/
    include/freetype2 -I/usr/include/pixman-1 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/
    libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -g -O2 -Werror=implicit-function-declaration -ffile-prefix-
    map=/build/reproducible-path/genometools-1.6.5+ds=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -g -Wall -Wunused-parameter -pipe -fPIC -Wpointer-arith -Wno-unknown-pragmas -O3
    In file included from src/core/version.c:19:
    ./obj/gt_config.h:1: error: unterminated #ifndef
    1 | #ifndef GT_CONFIG_H
    src/core/version.c: In function ‘gt_version_check’: src/core/version.c:30:24: error: ‘GT_MINOR_VERSION’ undeclared (first use in this function); did you mean ‘GT_MAJOR_VERSION’?
    30 | if (required_minor > GT_MINOR_VERSION)
    | ^~~~~~~~~~~~~~~~
    | GT_MAJOR_VERSION
    src/core/version.c:30:24: note: each undeclared identifier is reported only once for each function it appears in
    src/core/version.c:32:24: error: ‘GT_MICRO_VERSION’ undeclared (first use in this function); did you mean ‘GT_MAJOR_VERSION’?
    32 | if (required_micro > GT_MICRO_VERSION)
    | ^~~~~~~~~~~~~~~~
    | GT_MAJOR_VERSION
    make[2]: *** [Makefile:841: obj/src/core/version.o] Error 1 shuffle=reverse


    The full build log is available from: http://qa-logs.debian.net/2025/05/05/shuffle/reverse/genometools_1.6.5+ds-2.2_unstable_reverse.log

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)