[Pkg-pascal-devel] Bug#1003895: lazarus: undefined reference to QLCLOpenGLWidget

Stephan Lachnit stephanlachnit at debian.org
Mon Jan 17 19:50:13 GMT 2022


Source: lazarus
Version: 2.2.0+dfsg-2
Severity: important
X-Debbugs-Cc: stephanlachnit at debian.org, abou.almontacir at sfr.fr
Control: affects -1 src:goverlay

Dear maintainer,

it looks like the update to 2.2.0 broke the Qt OpenGL Widget. I tried to
compile goverlay [1] with the new version, but it fails with the following
error message:

(9015) Linking /<<PKGBUILDDIR>>/goverlay
/usr/bin/ld.bfd:
./debian/.debhelper/generated/_source/home/.lazarus/lib/LazOpenGLContext/lib/x86_64-linux/qt5/qlclopenglwidget.o:
in function `CREATEWIDGET':
/usr/lib/lazarus/2.2.0/components/opengl//qlclopenglwidget.pas:58: undefined
reference to `QLCLOpenGLWidget_Create'
/usr/bin/ld.bfd:
./debian/.debhelper/generated/_source/home/.lazarus/lib/LazOpenGLContext/lib/x86_64-linux/qt5/qlclopenglwidget.o:
in function `PAINTGL':
/usr/lib/lazarus/2.2.0/components/opengl//qlclopenglwidget.pas:65: undefined
reference to `QLCLOpenGLWidget_InheritedPaintGL'
/usr/bin/ld.bfd:
./debian/.debhelper/generated/_source/home/.lazarus/lib/LazOpenGLContext/lib/x86_64-linux/qt5/qlclopenglwidget.o:
in function `ATTACHEVENTS':
/usr/lib/lazarus/2.2.0/components/opengl//qlclopenglwidget.pas:75: undefined
reference to `QLCLOpenGLWidget_override_paintGL'
/usr/bin/ld.bfd:
./debian/.debhelper/generated/_source/home/.lazarus/lib/LazOpenGLContext/lib/x86_64-linux/qt5/qlclopenglwidget.o:
in function `DETACHEVENTS':
/usr/lib/lazarus/2.2.0/components/opengl//qlclopenglwidget.pas:83: undefined
reference to `QLCLOpenGLWidget_override_paintGL'
/<<PKGBUILDDIR>>/goverlay.lpr(27,1) Error: (9013) Error while linking


Maybe this is because libqtpas has not been updated for 2.2.0?
If so, maybe it makes sense to rethink the decision of #922296 again to prevent
this happening again in the future.


Regards,
Stephan


[1] https://salsa.debian.org/games-team/goverlay


-- System Information:
Debian Release: bookworm/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.15.0-2-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the Pkg-pascal-devel mailing list