• Bug#1105635: torcs: FTBFS with make --shuffle=reverse: openglconfig.cpp

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:30:18 2025
    Source: torcs
    Version: 1.3.7+dfsg-5
    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):
    g++ -I/build/reproducible-path/torcs-1.3.7+dfsg/export/include -I/build/reproducible-path/torcs-1.3.7+dfsg -g -O2 -ffile-prefix-map=/build/reproducible-path/torcs-1.3.7+dfsg=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-
    security -fcf-protection -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wall -fPIC -fno-strict-aliasing -O2 -DUSE_RANDR_EXT -DGL_GLEXT_PROTOTYPES -Wdate-time -D_FORTIFY_SOURCE=2 -D_DEFAULT_SOURCE -DSHM -DHAVE_CONFIG_H -c
    openglconfig.cpp
    openglconfig.cpp:27:10: fatal error: tgfclient.h: No such file or directory
    27 | #include <tgfclient.h>
    | ^~~~~~~~~~~~~
    compilation terminated.
    make[5]: *** [/build/reproducible-path/torcs-1.3.7+dfsg/Make-default.mk:240: openglconfig.o] Error 1 shuffle=reverse


    The full build log is available from: http://qa-logs.debian.net/2025/05/05/shuffle/reverse/torcs_1.3.7+dfsg-5_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)