Source: gauche
Version: 0.9.15-p2+20241205-4
Severity: minor
Tags: trixie sid ftbfs
User: lu...@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):
> make[4]: Entering directory 
> '/build/reproducible-path/gauche-0.9.15-p2+20241205/ext/text'
> Makefile:88: update target 'text--tr.c' due to: target does not exist
> "../../src/gosh" -ftest "../../lib/tools/precomp" -e -P -o text--tr 
> ../../libsrc/text/tr.scm
> ../Makefile.ext:75: update target 'text--tr.o' due to: target does not exist
> gcc -DHAVE_CONFIG_H -I. -I. -I../../src -I../../src -I../../gc/include   
> -Wdate-time -D_FORTIFY_SOURCE=2   -g -O2 
> -Werror=implicit-function-declaration 
> -ffile-prefix-map=/build/reproducible-path/gauche-0.9.15-p2+20241205=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wall -Wextra -Wno-unused-label -fPIC 
>  -fomit-frame-pointer  -o text--tr.o -c text--tr.c
> Makefile:85: update target 'text--tr.so' due to: target does not exist
> gcc -g -O2 -Werror=implicit-function-declaration 
> -ffile-prefix-map=/build/reproducible-path/gauche-0.9.15-p2+20241205=. 
> -fstack-protector-strong -fstack-clash-protection -Wformat 
> -Werror=format-security -fcf-protection -Wall -Wextra -Wno-unused-label -fPIC 
>  -Wl,-z,relro     -shared -o text--tr.so text--tr.o -L"../../src"   
> -lgauche-0.98
> Makefile:76: update target 'text--line-edit.c' due to: target does not exist
> "../../src/gosh" -ftest "../../lib/tools/precomp" -e -P -o text--line-edit 
> ../../libsrc/text/line-edit.scm
> Error in compiling (use text.console)
> Error in compiling (use text.console)
> Error in compiling (define-module text.line-edit (use gauche.generator) (use 
> gauche.threads) (use gauche.sequence) (use gauche.unicode) (use 
> data.ring-buffer) (use data.queue) (use file.util) (use util.match) (use 
> text.console) (use text.console.wide-char-setting) (use text.gap-buffer) (use 
> text.pager) (export <line-edit-context> read-line/edit save-line-edit-history 
> load-line-edit-history default-keymap command-name->keystrokes 
> command-name->keystroke-string))
> Error in compiling (define-module text.line-edit (use gauche.generator) (use 
> gauche.threads) (use gauche.sequence) (use gauche.unicode) (use 
> data.ring-buffer) (use data.queue) (use file.util) (use util.match) (use 
> text.console) (use text.console.wide-char-setting) (use text.gap-buffer) (use 
> text.pager) (export <line-edit-context> read-line/edit save-line-edit-history 
> load-line-edit-history default-keymap command-name->keystrokes 
> command-name->keystroke-string))
> *** ERROR: cannot find "gauche/termios" in 
> ("/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib" 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../libsrc" 
> "/build/reproducible-path/gauche"...
>     While compiling 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../libsrc/text/console.scm"
>  at line 34: (define-module text.console (use gauche.generator) (use 
> gauche.sequence) (use gauche.termios) (use da ...
>     While loading 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../libsrc/text/console.scm"
>  at line 52
>     While compiling "../../libsrc/text/line-edit.scm" at line 43: (use 
> text.console)
> Stack Trace:
> _______________________________________
>   0  (report-error e)
>   1  (find-load-file file paths suffixes :error-if-not-found error ...
>   2  (%require feature)
>   3  (%map1c pass1 (cdr form) cenv)
>   4  (%map1c pass1 body newenv)
>   5  (pass1 program cenv)
>   6  (eval s #f)
>   7  (with-exception-handler (^e (let1 e2 (if (condition? e) ($ ma ...
>   8  (load-from-port (if ignore-coding port (open-coding-aware-por ...
>   9  (%require feature)
>  10  (%map1c pass1 (cdr form) cenv)
>  11  (pass1 program cenv)
>  12  (eval-in-current-tmodule form)
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/cgen/precomp.scm":591
>  13  (kons (car lis) knil)
>  14  (%parameterize (list %current-tmodule) (list new-tm) (^ () (f ...
>         expanded from (parameterize ((%current-tmodule new-tm)) (fold compi 
> ...
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/cgen/tmodule.scm":118
>         expanded from (with-tmodule mod (fold compile-toplevel-form seed 
> body))
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/cgen/precomp.scm":574
>  15  (%parameterize (list ext-module-forms) (list '()) (^ () (let1 ...
>         expanded from (parameterize ((ext-module-forms '())) (let1 seed (wi 
> ...
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/cgen/precomp.scm":573
>  16  (fn item r)
>  17  (generator-fold compile-toplevel-form '() read)
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/cgen/precomp.scm":260
>  18  thunk
>  19  thunk
>  20  thunk
>  21  (with-input-from-file src (^ () (define load-path-save *load- ...
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/cgen/precomp.scm":251
>  22  (do-it)
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/cgen/precomp.scm":291
>  23  thunk
>  24  (thunk)
>  25  (%parameterize (list cgen-current-unit dso-name vm-eval-situa ...
>         expanded from (parameterize ((cgen-current-unit (get-unit src out.c 
> ...
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/cgen/precomp.scm":272
>  26  (%parameterize (list current-option-parser) (list (build-opti ...
>         expanded from (parameterize ((current-option-parser (build-option-p 
> ...
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/parseopt.scm":448
>         expanded from (quasirename r `(let ,(map (match-lambda ((_ optspec- 
> ...
>         at 
> "/build/reproducible-path/gauche-0.9.15-p2+20241205/src/../lib/gauche/parseopt.scm":443
>  27  (main args)
> make[4]: *** [Makefile:76: text--line-edit.c] Error 70 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/gauche_0.9.15-p2+20241205-4_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

Reply via email to