Source: nbc
Version: 1.2.1.r4+dfsg-14
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[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:<Formal type>;nbytes:QWord):Int64;" marked as 
> inline is not inlined
> fantomfpc.pas(253,13) Note: Call to subroutine "function 
> FpWrite(fd:LongInt;const buf:<Formal type>;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 is not inlined
> FantomSpirit.pas(2999,17) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3002,17) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3017,19) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3027,19) Note: Call to subroutine "operator :=(const 
> source:LongWord):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3031,17) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3041,35) Note: Call to subroutine "operator :=(const 
> source:Int64):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3063,21) Note: Call to subroutine "operator :=(const 
> source:Byte):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3068,21) Note: Call to subroutine "operator :=(const 
> source:Byte):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3072,21) Note: Call to subroutine "operator :=(const 
> source:SmallInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3076,21) Note: Call to subroutine "operator :=(const 
> source:Word):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3080,21) Note: Call to subroutine "operator :=(const 
> source:SmallInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3282,19) Hint: Local variable "data" of a managed type does 
> not seem to be initialized
> FantomSpirit.pas(140,44) Hint: Parameter "bRetry" not used
> FantomSpirit.pas(3387,14) Warning: Comparison might be always false due to 
> range of constant and expression
> FantomSpirit.pas(3393,14) Warning: Comparison might be always false due to 
> range of constant and expression
> FantomSpirit.pas(3404,33) Warning: Comparison might be always false due to 
> range of constant and expression
> FantomSpirit.pas(3428,14) Warning: Comparison might be always false due to 
> range of constant and expression
> FantomSpirit.pas(3871,49) Hint: Local variable "vartype" does not seem to be 
> initialized
> FantomSpirit.pas(3871,40) Hint: Local variable "size" does not seem to be 
> initialized
> FantomSpirit.pas(3871,34) Hint: Local variable "offset" does not seem to be 
> initialized
> FantomSpirit.pas(3897,68) Hint: Local variable "tmpvartype" does not seem to 
> be initialized
> FantomSpirit.pas(3897,56) Hint: Local variable "tmpsize" does not seem to be 
> initialized
> FantomSpirit.pas(3897,47) Hint: Local variable "tmpoffset" does not seem to 
> be initialized
> FantomSpirit.pas(3933,28) Hint: Local variable "buf" of a managed type does 
> not seem to be initialized
> FantomSpirit.pas(67,55) Hint: Parameter "aDigits" not used
> FantomSpirit.pas(3866,13) Note: Call to subroutine "operator :=(const 
> source:ShortInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3946,25) Note: Call to subroutine "operator :=(const 
> source:ShortString):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3954,31) Note: Call to subroutine "operator :=(const 
> source:Variant):LongInt;" marked as inline is not inlined
> FantomSpirit.pas(3955,40) Note: Call to subroutine "operator +(const 
> op1:Variant;const op2:Variant):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3955,40) Note: Call to subroutine "operator :=(const 
> source:AnsiString):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3958,31) Note: Call to subroutine "operator :=(const 
> source:Variant):DWord;" marked as inline is not inlined
> FantomSpirit.pas(3959,40) Note: Call to subroutine "operator +(const 
> op1:Variant;const op2:Variant):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3959,40) Note: Call to subroutine "operator :=(const 
> source:AnsiString):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3963,29) Note: Call to subroutine "operator :=(const 
> source:Variant):Single;" marked as inline is not inlined
> FantomSpirit.pas(3964,38) Note: Call to subroutine "operator +(const 
> op1:Variant;const op2:Variant):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3964,38) Note: Call to subroutine "operator :=(const 
> source:AnsiString):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3976,21) Note: Call to subroutine "operator :=(const 
> source:ShortInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3990,17) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3992,17) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3994,17) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3996,17) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(3998,17) Note: Call to subroutine "operator :=(const 
> source:LongWord):Variant;" marked as inline is not inlined
> FantomSpirit.pas(4000,17) Note: Call to subroutine "operator :=(const 
> source:LongInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(4002,17) Note: Call to subroutine "operator :=(const 
> source:Single):Variant;" marked as inline is not inlined
> FantomSpirit.pas(4004,15) Note: Call to subroutine "operator :=(const 
> source:ShortInt):Variant;" marked as inline is not inlined
> FantomSpirit.pas(4009) Warning: Implicit uses of Variants unit
> Compiling ../uCmdLineUtils.pas
> Compiling ../ParamUtils.pas
> Compiling ../uVersionInfo.pas
> Compiling ../uLocalizedStrings.pas
> Writing Resource String Table file: uLocalizedStrings.rsj
> Compiling ../mwGenericLex.pas
> mwGenericLex.pas(30,2) Warning: The switch "$E" is not supported by the 
> currently selected target
> mwGenericLex.pas(979,19) Hint: Function result variable of a managed type 
> does not seem to be initialized
> Compiling ../uGenLexer.pas
> Compiling ../uNBCLexer.pas
> Compiling ../uNXCLexer.pas
> Compiling uNBCInterface.pas
> Compiling uNXTClasses.pas
> Compiling uPreprocess.pas
> Compiling uNBCCommon.pas
> Compiling Parser10.pas
> Parser10.pas(22,10) Warning: Unsupported switch "$L"
> Compiling P10Build.pas
> P10Build.pas(22,10) Warning: Unsupported switch "$L"
> Compiling uNBCCommon.pas
> uNBCCommon.pas(1456,45) Warning: Symbol "ThousandSeparator" is deprecated
> uNBCCommon.pas(1457,42) Warning: Symbol "CurrencyFormat" is deprecated
> uNBCCommon.pas(1458,41) Warning: Symbol "NegCurrFormat" is deprecated
> uNBCCommon.pas(1459,44) Warning: Symbol "CurrencyDecimals" is deprecated
> uNBCCommon.pas(1460,42) Warning: Symbol "CurrencyString" is deprecated
> uNBCCommon.pas(1472,42) Warning: Symbol "DecimalSeparator" is deprecated
> uNBCCommon.pas(1481,42) Warning: Symbol "DecimalSeparator" is deprecated
> uNBCCommon.pas(1491,42) Warning: Symbol "DecimalSeparator" is deprecated
> uNBCCommon.pas(1191,44) Hint: Parameter "Value" not used
> uNBCCommon.pas(1191,51) Hint: Parameter "ValueType" not used
> uNBCCommon.pas(1500,42) Warning: Symbol "DecimalSeparator" is deprecated
> Writing Resource String Table file: P10Build.rsj
> Compiling uRICComp.pas
> Compiling uRIC.pas
> uRICComp.pas(713,43) Warning: lo/hi(dword/qword) returns the upper/lower 
> word/dword
> uRICComp.pas(713,52) Warning: lo/hi(dword/qword) returns the upper/lower 
> word/dword
> uPreprocess.pas(1442,15) Note: Call to subroutine "function 
> AnsiCompareStr(const S1:AnsiString;const S2:AnsiString):LongInt;" marked as 
> inline is not inlined
> uPreprocess.pas(1444,15) Note: Call to subroutine "function 
> AnsiCompareText(const S1:AnsiString;const S2:AnsiString):LongInt;" marked as 
> inline is not inlined
> uNXTClasses.pas(1136,3) Fatal: Can't find unit NBCCommonData used by 
> uNXTClasses
> Fatal: Compilation aborted
> Error: /usr/bin/ppcx64 returned an error exitcode
> make[2]: *** [nbcunix.mak:32: nbc] Error 1 shuffle=reverse


The full build log is available from:
http://qa-logs.debian.net/2025/05/05/shuffle/reverse/nbc_1.2.1.r4+dfsg-14_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