Bug#1105538: nbc: FTBFS with make --shuffle=reverse: make[2]: *** [nbcunix.mak:32: nbc] Error 1 shuffle=reverse

2025-05-14 Thread Nicolas Schodet
Control: tags -1 + upstream pending

Hi,

* Lucas Nussbaum  [250514 22:10]:
> This package fails to build with make --shuffle=reverse.

Thanks, this will be fixed in next upload after trixie release.

https://salsa.debian.org/debian-lego-team/nbc/-/commit/150c93ae64f9a9899debe65264dd9997ec60899f

Kind regards,

Nicolas.



Bug#1105538: nbc: FTBFS with make --shuffle=reverse: make[2]: *** [nbcunix.mak:32: nbc] Error 1 shuffle=reverse

2025-05-13 Thread Lucas Nussbaum
Source: nbc
Version: 1.2.1.r4+dfsg-14
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/nbc-1.2.1.r4+dfsg/NXT'
> nbcunix.mak:40: update target 'nbc_preproc.inc' due to: target does not exist
> echo '// 'nbc_preproc.inc > nbc_preproc.inc
> echo 'const' >> nbc_preproc.inc
> echo '  DEFAULT_INCLUDE_DIR = '\'/usr/local/include/nbc\'';' >> 
> nbc_preproc.inc
> echo '  COMPILATION_TIMESTAMP = '\'Sun Apr  6 15:43:28 UTC 2025\'';' >> 
> nbc_preproc.inc
> nbcunix.mak:32: update target 'nbc' due to: target does not exist
> /usr/bin/fpc -S2cdghi -dRELEASE -vewnhi -l -Fu../ -Fu. -Fu../bricktools 
> -dCAN_DOWNLOAD -g nbc.dpr -onbc
> Hint: Start of reading config file /etc/fpc.cfg
> Compiling Release Version
> Hint: End of reading config file /etc/fpc.cfg
> Free Pascal Compiler version 3.2.2+dfsg-46 [2025/02/08] for x86_64
> Copyright (c) 1993-2021 by Florian Klaempfl and others
> Target OS: Linux for x86-64
> Compiling nbc.dpr
> nbc.dpr(19,2) Note: APPTYPE is not supported by the target OS
> Compiling ../uGlobals.pas
> Compiling ../bricktools/FantomSpirit.pas
> Compiling /build/reproducible-path/nbc-1.2.1.r4+dfsg/bricktools/rcx_cmd.pas
> Compiling 
> /build/reproducible-path/nbc-1.2.1.r4+dfsg/bricktools/rcx_constants.pas
> Compiling ../uCommonUtils.pas
> uCommonUtils.pas(79,25) Hint: Parameter "ms" not used
> uCommonUtils.pas(80,29) Hint: Parameter "aHwnd" not used
> uCommonUtils.pas(80,43) Hint: Parameter "aMsg" not used
> uCommonUtils.pas(80,60) Hint: Parameter "wParam" not used
> uCommonUtils.pas(80,68) Hint: Parameter "lParam" not used
> Compiling /build/reproducible-path/nbc-1.2.1.r4+dfsg/bricktools/uSpirit.pas
> Compiling /build/reproducible-path/nbc-1.2.1.r4+dfsg/bricktools/FantomDefs.pas
> Compiling /build/reproducible-path/nbc-1.2.1.r4+dfsg/bricktools/fantomfpc.pas
> Compiling /build/reproducible-path/nbc-1.2.1.r4+dfsg/bricktools/libusb.pas
> fantomfpc.pas(252,3) Note: Call to subroutine "function 
> FpWrite(fd:LongInt;const buf:;nbytes:QWord):Int64;" marked as 
> inline is not inlined
> fantomfpc.pas(253,13) Note: Call to subroutine "function 
> FpWrite(fd:LongInt;const buf:;nbytes:QWord):Int64;" marked as 
> inline is not inlined
> fantomfpc.pas(315,13) Note: Call to subroutine "function FpOpen(const 
> path:RawByteString;flags:LongInt):LongInt;" marked as inline is not inlined
> fantomfpc.pas(1542,13) Note: Call to subroutine "function 
> AnsiCompareText(const S1:AnsiString;const S2:AnsiString):LongInt;" marked as 
> inline is not inlined
> fantomfpc.pas(1970,6) Note: Call to subroutine "function 
> AnsiCompareText(const S1:AnsiString;const S2:AnsiString):LongInt;" marked as 
> inline is not inlined
> uSpirit.pas(772,45) Hint: Local variable "fmaj" does not seem to be 
> initialized
> uSpirit.pas(772,39) Hint: Local variable "fmin" does not seem to be 
> initialized
> uSpirit.pas(772,33) Hint: Local variable "pmaj" does not seem to be 
> initialized
> uSpirit.pas(772,27) Hint: Local variable "pmin" does not seem to be 
> initialized
> uSpirit.pas(788,35) Hint: Local variable "pc" does not seem to be initialized
> uSpirit.pas(788,31) Hint: Local variable "clump" does not seem to be 
> initialized
> uSpirit.pas(788,24) Hint: Local variable "state" does not seem to be 
> initialized
> Compiling uNXTConstants.pas
> Compiling /build/reproducible-path/nbc-1.2.1.r4+dfsg/uDebugLogging.pas
> uDebugLogging.pas(32,28) Hint: Parameter "aMsg" not used
> FantomSpirit.pas(404,54) Hint: Parameter "bEnhanced" not used
> FantomSpirit.pas(1008,15) Note: Call to subroutine "operator :=(const 
> source:Variant):LongInt;" marked as inline is not inlined
> FantomSpirit.pas(2070,3) Note: Local variable "tmpFilename" is assigned but 
> never used
> FantomSpirit.pas(2862,13) Note: Call to subroutine "operator :=(const 
> source:Variant):LongInt;" marked as inline is not inlined
> FantomSpirit.pas(2867,13) Note: Call to subroutine "operator :=(const 
> source:Variant):LongInt;" marked as inline is not inlined
> FantomSpirit.pas(2915,13) Note: Call to subroutine "operator :=(const 
> source:Variant):LongInt;" marked as inline is not inlined
> FantomSpirit.pas(2990,13) Note: Call to subroutine "operator :=(const 
> source:ShortInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(2996,17) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline i