[Pkg-pascal-devel] Bug#1105326: fpc: FTBFS with make --shuffle=reverse: make[2]: *** [Makefile:3852: system.ppu] Error 1 shuffle=reverse

Lucas Nussbaum lucas at debian.org
Tue May 13 19:57:34 BST 2025


Source: fpc
Version: 3.2.2+dfsg-46
Severity: minor
Tags: trixie sid ftbfs
User: lucas at 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/fpc-3.2.2+dfsg/fpcsrc/rtl/linux'
> Makefile:3852: update target 'system.ppu' due to: target does not exist
> /usr/bin/ppcx64 -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU../../rtl/units/x86_64-linux -Cg @/build/reproducible-path/fpc-3.2.2+dfsg/debian/deb-build-fpc.cfg -dx86_64  -Us -Sg system.pp
> Enabled Hardening for Dynamically Linked Executable
> 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 system.pp
> astrings.inc(268,9) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> astrings.inc(270,9) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> astrings.inc(275,7) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> astrings.inc(276,7) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> astrings.inc(281,7) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> astrings.inc(282,7) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> astrings.inc(655,3) Note: Local variable "r1" not used
> astrings.inc(655,6) Note: Local variable "r2" not used
> astrings.inc(915,49) Warning: function result variable of a managed type does not seem to be initialized
> astrings.inc(1371,7) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> astrings.inc(1398,5) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> astrings.inc(1399,3) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> astrings.inc(1401,5) Note: Call to subroutine "procedure fpc_pchar_ansistr_intern_charmove(const src:PChar;const srcindex:Int64;var dst:RawByteString;const dstindex:Int64;const len:Int64);" marked as inline is not inlined
> ustrings.inc(577,73) Warning: function result variable of a managed type does not seem to be initialized
> ustrings.inc(643,66) Warning: function result variable of a managed type does not seem to be initialized
> ustrings.inc(764,100) Warning: function result variable of a managed type does not seem to be initialized
> ustrings.inc(1157,54) Warning: function result variable of a managed type does not seem to be initialized
> ustrings.inc(1839,23) Warning: unreachable code
> ustrings.inc(1982,23) Warning: unreachable code
> ustrings.inc(2245,46) Warning: Comparison might be always true due to range of constant and expression
> ustrings.inc(2258,46) Warning: Comparison might be always true due to range of constant and expression
> ustrings.inc(2364,66) Warning: function result variable of a managed type does not seem to be initialized
> ustrings.inc(2374,56) Warning: function result variable of a managed type does not seem to be initialized
> dynarr.inc(313,39) Warning: function result variable of a managed type does not seem to be initialized
> dynarr.inc(481,5) Note: Local variable "eletype" is assigned but never used
> dynarr.inc(611,5) Note: Local variable "realp" not used
> dynarr.inc(686,5) Note: Local variable "realp" not used
> dynarr.inc(796,21) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(110,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(117,42) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(123,36) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(129,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(135,36) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(141,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(161,33) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(167,33) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(173,33) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(179,33) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(185,33) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(191,33) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(197,36) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(203,35) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(210,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(216,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(222,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(230,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(239,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(246,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(252,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(258,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(264,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(270,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(286,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(294,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(302,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(310,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(318,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(326,36) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(333,41) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(340,35) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(451,32) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(457,32) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(548,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(806,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(812,34) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(896,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(902,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(908,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(914,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(920,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(926,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(932,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(938,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(944,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(950,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(956,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(963,39) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(969,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(976,39) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(982,39) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(988,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1004,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1012,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1020,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1028,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1036,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1044,53) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1051,58) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1058,38) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1064,31) Warning: function result variable of a managed type does not seem to be initialized
> variant.inc(1071,33) Warning: function result variable of a managed type does not seem to be initialized
> system.inc(721,40) Warning: Comparison might be always false due to range of constant and expression
> system.inc(722,5) Warning: unreachable code
> system.inc(906,8) Note: Call to subroutine "function SPtr:^untyped;" marked as inline is not inlined
> thread.inc(70,22) Note: Call to subroutine "function SPtr:^untyped;" marked as inline is not inlined
> genmath.inc(95,7) Note: Local variable "one" not used
> genmath.inc(96,7) Note: Local variable "zero" not used
> system.pp(490,1) Error: Can't create object file: ../../rtl/units/x86_64-linux/system.o (error code: 2)
> system.pp(490,1) Fatal: Can't create object ../../rtl/units/x86_64-linux/system.o
> Fatal: Compilation aborted
> make[2]: *** [Makefile:3852: system.ppu] Error 1 shuffle=reverse


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



More information about the Pkg-pascal-devel mailing list