• Bug#1105598: perl4caml: FTBFS with make --shuffle=reverse: make[2]: ***

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

    Source: perl4caml
    Version: 0.9.5-8
    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[2]: Entering directory '/build/reproducible-path/perl4caml-0.9.5' Makefile:240: update target 'html/index.html' due to: target does not exist rm -rf html
    mkdir html
    ocamldoc -html -stars -sort -I wrappers -d html perl.ml perl.mli wrappers/pl_Data_Dumper.ml wrappers/pl_Date_Calc.ml wrappers/pl_Date_Format.ml wrappers/pl_Date_Parse.ml wrappers/pl_HTML_Element.ml wrappers/pl_HTML_Form.ml wrappers/pl_HTML_Parser.ml
    wrappers/pl_HTML_TreeBuilder.ml wrappers/pl_HTTP_Cookies.ml wrappers/pl_HTTP_Headers.ml wrappers/pl_HTTP_Message.ml wrappers/pl_HTTP_Request.ml wrappers/pl_HTTP_Request_Common.ml wrappers/pl_HTTP_Response.ml wrappers/pl_LWP_UserAgent.ml wrappers/pl_
    Template.ml wrappers/pl_URI.ml wrappers/pl_WWW_Mechanize.ml
    File "perl.ml", line 1:
    Error: Could not find the .cmi file for interface "perl.mli".

    File "wrappers/pl_Data_Dumper.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_Date_Calc.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_Date_Format.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_Date_Parse.ml", line 8, characters 5-9:
    8 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTML_Element.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTML_Form.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTML_Parser.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTML_TreeBuilder.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTTP_Cookies.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTTP_Headers.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTTP_Message.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTTP_Request.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTTP_Request_Common.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_HTTP_Response.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_LWP_UserAgent.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_Template.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_URI.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"

    File "wrappers/pl_WWW_Mechanize.ml", line 22, characters 5-9:
    22 | open Perl
    ^^^^
    Error: Unbound module "Perl"
    19 error(s) encountered
    make[2]: [Makefile:242: html/index.html] Error 1 (ignored) shuffle=reverse Makefile:130: update target 'perl.cmi' due to: target does not exist
    ocamlc -w s -g -I wrappers -c perl.mli
    Makefile:136: update target 'perl.cmx' due to: target does not exist
    ocamlopt -w s -I wrappers -c perl.ml
    Makefile:136: update target 'wrappers/pl_Date_Format.cmx' due to: target does not exist
    ocamlopt -w s -I wrappers -c wrappers/pl_Date_Format.ml
    Makefile:136: update target 'wrappers/pl_Date_Parse.cmx' due to: target does not exist
    ocamlopt -w s -I wrappers -c wrappers/pl_Date_Parse.ml
    Makefile:136: update target 'examples/parsedate.cmx' due to: target does not exist
    ocamlopt -w s -I wrappers -c examples/parsedate.ml
    Makefile:126: update target 'examples/parsedate.opt' due to: target does not exist
    ocamlopt -w s -I wrappers -cclib -L. perl4caml.cmxa \
    examples/parsedate.cmx -o examples/parsedate.opt
    File "_none_", line 1:
    Error: Cannot find file "perl4caml.cmxa"
    make[2]: *** [Makefile:126: examples/parsedate.opt] Error 2 shuffle=reverse


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