• Bug#1061003: lazpaint: FTBFS: make[2]: *** [Makefile:169: lazpaint] Err

    From Juliette ELSASS@21:1/5 to Lucas Nussbaum on Sat Jan 20 13:40:01 2024
    Hi Lucas and Gürkan,

    Indeed, Lucas, the new version of Lazarus breaks existing code. There are some adjustments to do.

    Gürkan, I have made the following adjustments in my upstream repository. Location: https://github.com/bgrabitmap/lazpaint-upstream

    Here are the changes:
    - runtime fix for Qt (and in particular NixOS)
    - compilation fix for Lazarus 3.0
    - removed the debian folder (it was lagging behind the Debian repository)

    I presume the Debian repository is the one used to build.
    Location: https://sources.debian.org/src/lazpaint/7.2.2-2/

    I've noted that the copyright file has my old e-mail circular@operamail.com. I suggest to update it to circular@fastmail.com. There are three occurrences:
    Upstream-Contact: Johann ELSASS <circular@fastmail.com>
    Copyright: 2011-2022 Johann ELSASS <circular@fastmail.com>
    Copyright: 2011-2022 Johann ELSASS <circular@fastmail.com>

    Regards,

    --
    Johann ELSASS aka Juliette
    circular@fastmail.com

    On Tue, Jan 16, 2024, at 8:44 PM, Lucas Nussbaum wrote:
    Source: lazpaint
    Version: 7.2.2-2
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20240115 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    make[2]: Entering directory '/<<PKGBUILDDIR>>'
    #lazbuild or fpc will determine what to recompile
    lazbuild -B -r --build-mode=Release bgrabitmap/bgrabitmappack.lpk bgracontrols/bgracontrols.lpk lazpaintcontrols/lazpaintcontrols.lpk lazpaint/lazpaint.lpi
    CopySecondaryConfigFile /etc/lazarus/environmentoptions.xml -> /<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.lazarus/environmentoptions.xml
    Info: (lazarus) [CompilePackage]: CheckIfPackageNeedsCompilation returned mrNo for package FCL 1.0.1
    Info: (lazarus) [CompilePackage]: CheckIfPackageNeedsCompilati