[Pkg-pascal-devel] Bug#868288: doublecmd: FTBFS due to use of obsoleted Lazarus functions

Paul Gevers elbrus at debian.org
Fri Jul 14 08:35:14 UTC 2017


Source: doublecmd
Version: 0.7.7-1
Severity: serious
Justification: FTBFS

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Hi Graham,

You are already aware, but to show the world: doublecmd in unstable FTBFS due
to the use of obsoleted Lazarus functions.

I rebuild the package on debomatic¹, but logs disappear from there, so therefor
the end of the log:

Copyright (c) 1993-2017 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling cmdbox.pas
(3104) Compiling ucmdbox.pas
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(98,17) Note: (3250) Virtual method "EraseBackground(HDC);" has a lower visibility (protected) than parent class TWinControl (public)
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(460,41) Warning: (5036) Local variable "SameForeColor" does not seem to be initialized
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(461,41) Warning: (5036) Local variable "SameBackColor" does not seem to be initialized
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(462,37) Warning: (5036) Local variable "SameColorX" does not seem to be initialized
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(462,48) Warning: (5036) Local variable "SameColorWidth" does not seem to be initialized
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(926,12) Error: (5000) Identifier not found "UTF8Length"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(935,6) Error: (5000) Identifier not found "UTF8CharacterLength"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1045,20) Error: (5000) Identifier not found "UTF8Length"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1047,14) Error: (5000) Identifier not found "UTF8Length"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1049,6) Error: (5000) Identifier not found "UTF8CharacterLength"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1212,16) Hint: (5091) Local variable "c" of a managed type does not seem to be initialized
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1213,10) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1286,18) Warning: (4104) Implicit string type conversion from "AnsiString" to "WideString"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1290,9) Error: (5000) Identifier not found "UTF8CharacterLength"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1293,33) Warning: (4105) Implicit string type conversion with potential data loss from "WideString" to "AnsiString"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1294,26) Error: (5000) Identifier not found "UTF8Length"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1452,22) Hint: (5057) Local variable "ScrollInfo" does not seem to be initialized
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1478,22) Hint: (5057) Local variable "ScrollInfo" does not seem to be initialized
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1513,28) Hint: (5057) Local variable "Metrics" does not seem to be initialized
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1837,14) Error: (5000) Identifier not found "UTF8Length"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1837,2) Error: (4001) Incompatible types: got "untyped" expected "LongInt"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1866,15) Error: (5000) Identifier not found "UTF8CharacterLength"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1885,32) Error: (5000) Identifier not found "UTF8Length"
/<<PKGBUILDDIR>>/components/CmdLine/ucmdbox.pas(1972,9) Error: (5000) Identifier not found "UTF8CharacterLength"
ucmdbox.pas(2389) Fatal: (10026) There were 12 errors compiling module, stopping
Fatal: (1018) Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode
Error: (lazarus) Compile package cmdbox 0.0: stopped with exit code 256
Error: (lazbuild) cmdbox 0.0 compilation failed
debian/rules:12: recipe for target 'override_dh_install' failed


Intial patch (not complete) already sent privately.

Paul

¹ http://debomatic-amd64.debian.net/distribution#unstable/doublecmd/0.7.7-2/buildlog

- -- System Information:
Debian Release: 9.0
  APT prefers stable-debug
  APT policy: (500, 'stable-debug'), (500, 'stable'), (200, 'stable'), (50, 'stable')


Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-3-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEEWLZtSHNr6TsFLeZynFyZ6wW9dQoFAllogkIACgkQnFyZ6wW9
dQpcNwgApwoIg7sEmHNseaP9AZty0FWrGRBB+qhSiEnFztaorN/qgL8eQzV7knrD
28Dc6SpT5mcRC3EeVswQj4dZO4ve6gfrRC5nLQtSYYhamVo46Oro2VfbAMd32NO7
Ql0IyTuk5eK8Fq0KESMErWmI8nI0zoB0zMOU8PVyFNx6O8wh3IngAklt9pwbuCgu
l0Ee1Wa05Ye5p5nBU2zX155DPgKd6I9dsvwJLaakCZUXKT6x7eFotNQ4xyxxIBMV
+99fD0nBMNCY0q+Q3Y+jW3y/KVVCHaXZWNZGffTFZGaBVBOW7bL11aZm4/MbOnmd
Np+HVCvewjRbTu1chba/5v1d8gK5vw==
=3JYq
-----END PGP SIGNATURE-----


More information about the Pkg-pascal-devel mailing list