[Pkg-pascal-devel] Lazarus/FPC now failing to build cqrlog package

Graham Inggs graham at nerve.org.za
Tue Jul 28 17:57:58 UTC 2015


Hi Colin

On 28 July 2015 at 16:46, Colin Tuckley <colint at debian.org> wrote:
> Package cqrlog 1.9.0-1 has been in the archive for a few months.
>
> Now it has bug #791731 filed against it saying it FTBFS.
>
> I've checked and it does indeed fail in a Pbuilder sid chroot but the
> package has not changed. I assume that something in the tool chain has
> changed to cause the failure but I'm not very familiar with lazarus/fpc
> and so would appreciate some help please.
>
> The tail of the build log is:
>
> (9015) Linking cqrlog
> /usr/bin/ld.bfd: warning: link.res contains output sections; did you
> forget -T?
>
> /usr/bin/ld.bfd: cannot find -lX11
> /usr/bin/ld.bfd: cannot find -lgdk_pixbuf-2.0
> /usr/bin/ld.bfd: cannot find -lgtk-x11-2.0
> /usr/bin/ld.bfd: cannot find -lgdk-x11-2.0
> /usr/bin/ld.bfd: cannot find -lgobject-2.0
> /usr/bin/ld.bfd: cannot find -lglib-2.0
> /usr/bin/ld.bfd: cannot find -lgthread-2.0
> /usr/bin/ld.bfd: cannot find -lgmodule-2.0
> /usr/bin/ld.bfd: cannot find -lpango-1.0
> /usr/bin/ld.bfd: cannot find -lcairo
> /usr/bin/ld.bfd: cannot find -latk-1.0
> /tmp/buildd/cqrlog-1.9.0/src/cqrlog.lpr(63,1) Error: (9013) Error while
> linking
> /tmp/buildd/cqrlog-1.9.0/src/cqrlog.lpr(63,1) Fatal: (10026) There were
> 1 errors compiling module, stopping
> Fatal: (1018) Compilation aborted
> Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not
> specify a source file to be compiled)
>
>
> Is this a known problem or has the upstream developer for cqrlog done
> something weird that is causing this?
>
> I'm not subscribed to pkg-pascal-dev so please CC me.

As Chris West wrote in bug #791731, this appears similar to bug #791407.
I believe the cause of this is the following change in fpc:

fpc (2.6.4+dfsg-6) unstable; urgency=medium

  ...
  * Move -dev packages from Depends to Recommends in our unit packages

To fix, you will need to add the build-dependencies for the -dev
packages which cqrlog links against.  You can see how bug #791407 was
fixed in transgui here [1].

Don't worry about the missing debuggerintf.lpk reported by Mattia
Rizzolo, that has already been fixed in bug #792437.

Regards
Graham


[1] http://anonscm.debian.org/cgit/collab-maint/transmission-remote-gui.git/commit/?id=068dcae2a1e5a6fe78198a859bf0159be480cc66



More information about the Pkg-pascal-devel mailing list