[Debian-med-packaging] Bug#982516: mricron: FTBFS [arm64, mips64el]

Juhani Numminen juhaninumminen0 at gmail.com
Thu Feb 11 06:55:08 GMT 2021


Source: mricron
Version: 1.0.20190902+dfsg-1
Tags: ftbfs
Severity: serious

Hello,

mricron FTBFS on arm64 and mips64el. The error messages look like this:

(9009) Assembling cutout
/<<PKGBUILDDIR>>/RenderThds.pas(79,44) Error: (3069) Call by var for arg no. 1 has to match exactly: Got "LongWord" expected "TRTLCriticalSection"
/usr/lib/aarch64-linux-gnu/fpc/3.2.0/units/aarch64-linux/rtl/system.ppu:thread.inc(220,11) Hint: (5039) Found declaration: EnterCriticalSection(var TRTLCriticalSection);
/usr/lib/lazarus/2.0.10/lcl/units/aarch64-linux/lclintf.ppu:winapi.inc(243,11) Hint: (5039) Found declaration: EnterCriticalSection(var QWord);
/<<PKGBUILDDIR>>/RenderThds.pas(81,44) Error: (3069) Call by var for arg no. 1 has to match exactly: Got "LongWord" expected "TRTLCriticalSection"
/usr/lib/aarch64-linux-gnu/fpc/3.2.0/units/aarch64-linux/rtl/system.ppu:thread.inc(232,11) Hint: (5039) Found declaration: LeaveCriticalSection(var TRTLCriticalSection);
/usr/lib/lazarus/2.0.10/lcl/units/aarch64-linux/lclintf.ppu:winapi.inc(664,11) Hint: (5039) Found declaration: LeaveCriticalSection(var QWord);
/<<PKGBUILDDIR>>/RenderThds.pas(545,37) Error: (3069) Call by var for arg no. 1 has to match exactly: Got "LongWord" expected "QWord"
/usr/lib/lazarus/2.0.10/lcl/units/aarch64-linux/lclintf.ppu:winapi.inc(659,11) Hint: (5039) Found declaration: InitializeCriticalSection(var QWord);
/<<PKGBUILDDIR>>/RenderThds.pas(549,33) Error: (3069) Call by var for arg no. 1 has to match exactly: Got "LongWord" expected "QWord"
/usr/lib/lazarus/2.0.10/lcl/units/aarch64-linux/lclintf.ppu:winapi.inc(168,11) Hint: (5039) Found declaration: DeleteCriticalSection(var QWord);
RenderThds.pas(551) Fatal: (10026) There were 4 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppca64 returned an error exitcode
Error: (lazarus) Compile Project, Mode: Default, Target: MRIcron: stopped with exit code 1
Error: (lazbuild) failed compiling of project /<<PKGBUILDDIR>>/mricron.lpi


I am wondering if the related ifdef should be some sort of generic 64-bitness
check instead of x86_64 specifically.
https://sources.debian.org/src/mricron/1.0.20190902+dfsg-1/RenderThds.pas/#L68

Regards,
Juhani



More information about the Debian-med-packaging mailing list