On Tue, 13 May 2025 at 21:06:15 +0200, Lucas Nussbaum wrote:
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.

I'm not intending to resolve this in trixie given the current stage in the release cycle: if our official buildds and "most" developers can successfully build libsdl2 in the obvious order, then that's good enough.

For forky, it is probably not worthwhile to put a large amount of effort into fixing this, because I'm hoping to replace libsdl2 with sdl2-compat during the forky cycle anyway, similar to how we replaced libsdl1.2 with sdl12-compat in trixie. sdl2-compat has a CMake-based build system, similar to libsdl3, without the artificial separation between the main build and the tests.

gcc -o testviewport ../../test/testviewport.c ../../test/testutils.c 
-Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/build/reproducible-path/libsdl2-2.32.4+dfsg=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -fcf-protection -Wl,-z,relro -Wl,-z,now 
-I/build/reproducible-path/libsdl2-2.32.4+dfsg/include -DHAVE_OPENGLES2 
-DHAVE_OPENGL -DHAVE_WFORMAT -DHAVE_WFORMAT_OVERFLOW -DHAVE_WFORMAT_EXTRA_ARGS 
-g -lSDL2_test -L/build/reproducible-path/libsdl2-2.32.4+dfsg/build/.libs -lSDL2
/usr/bin/ld: cannot find -lSDL2_test: No such file or directory
/usr/bin/ld: cannot find -lSDL2: No such file or directory

This might be as simple as a missing dependency of build-library on build-tests in debian/rules, in which case it should be a straightforward fix. But there might also be missing dependencies in the upstream build system (which is an artisanal hand-crafted Makefile.in - they use Autoconf but not Automake) which would be less straightforward!

    smcv

Reply via email to