• Bug#1105404: lablgl: FTBFS with make --shuffle=reverse: ml_shader.c:26:

    From Lucas Nussbaum@21:1/5 to All on Tue May 13 21:10:02 2025
    XPost: linux.debian.bugs.dist

    Source: lablgl
    Version: 1:1.07-2
    Severity: minor
    Tags: trixie sid ftbfs
    User: [email protected]
    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):
    make[4]: Entering directory '/build/reproducible-path/lablgl-1.07/src' ../Makefile.common:54: update target 'glShader.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glShader.mli
    ../Makefile.common:48: update target 'glShader.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glShader.ml
    ../Makefile.common:54: update target 'gl.cmi' due to: target does not exist ocamlc -c -w s -I +labltk gl.mli
    ../Makefile.common:54: update target 'raw.cmi' due to: target does not exist ocamlc -c -w s -I +labltk raw.mli
    ../Makefile.common:54: update target 'glPix.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glPix.mli
    ../Makefile.common:54: update target 'glDraw.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glDraw.mli
    ../Makefile.common:54: update target 'glArray.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glArray.mli
    ../Makefile.common:48: update target 'glArray.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glArray.ml
    ../Makefile.common:54: update target 'gluMat.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk gluMat.mli
    ../Makefile.common:48: update target 'gluMat.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk gluMat.ml
    ../Makefile.common:54: update target 'gluTess.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk gluTess.mli
    ../Makefile.common:48: update target 'gluTess.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk gluTess.ml
    ../Makefile.common:54: update target 'gluQuadric.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk gluQuadric.mli
    ../Makefile.common:48: update target 'gluQuadric.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk gluQuadric.ml
    ../Makefile.common:54: update target 'glMap.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glMap.mli
    ../Makefile.common:54: update target 'gluNurbs.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk gluNurbs.mli
    ../Makefile.common:48: update target 'gluNurbs.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk gluNurbs.ml
    ../Makefile.common:54: update target 'glTex.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glTex.mli
    ../Makefile.common:54: update target 'gluMisc.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk gluMisc.mli
    ../Makefile.common:48: update target 'gluMisc.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk gluMisc.ml
    ../Makefile.common:54: update target 'glFunc.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glFunc.mli
    ../Makefile.common:48: update target 'glFunc.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glFunc.ml
    ../Makefile.common:48: update target 'glDraw.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glDraw.ml
    ../Makefile.common:54: update target 'glMisc.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glMisc.mli
    ../Makefile.common:48: update target 'glTex.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glTex.ml
    File "glTex.ml", line 116, characters 23-35:
    116 | let gen_texture () = (gen_textures 1).(0)
    ^^^^^^^^^^^^
    Warning 6 [labels-omitted]: label len was omitted in the application of this function.
    ../Makefile.common:54: update target 'glClear.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glClear.mli
    ../Makefile.common:48: update target 'glClear.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glClear.ml
    ../Makefile.common:48: update target 'glPix.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glPix.ml
    ../Makefile.common:48: update target 'glMisc.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glMisc.ml
    ../Makefile.common:54: update target 'glMat.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glMat.mli
    ../Makefile.common:48: update target 'glMat.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glMat.ml
    ../Makefile.common:48: update target 'glMap.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glMap.ml
    ../Makefile.common:54: update target 'glList.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glList.mli
    ../Makefile.common:48: update target 'glList.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glList.ml
    ../Makefile.common:54: update target 'glLight.cmi' due to: target does not exist
    ocamlc -c -w s -I +labltk glLight.mli
    ../Makefile.common:48: update target 'glLight.cmo' due to: target does not exist
    ocamlc -c -w s -I +labltk glLight.ml
    ../Makefile.common:48: update target 'gl.cmo' due to: target does not exist ocamlc -c -w s -I +labltk gl.ml
    ../Makefile.common:48: update target 'raw.cmo' due to: target does not exist ocamlc -c -w s -I +labltk raw.ml
    ../Makefile.common:57: update target 'ml_shader.o' due to: target does not exist
    ocamlc -c -w s -ccopt "-c -O -I/usr/X11R6/include" ml_shader.c ml_shader.c:26:10: fatal error: gl_tags.h: No such file or directory
    26 | #include "gl_tags.h"
    | ^~~~~~~~~~~
    compilation terminated.
    make[4]: *** [../Makefile.common:57: ml_shader.o] Error 2 shuffle=reverse


    The full build log is available from: http://qa-logs.debian.net/2025/05/05/shuffle/reverse/lablgl_1.07-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)