#1142657 gambas3: will FTBFS with poppler >= 26.02

Package:
src:gambas3
Source:
src:gambas3
Submitter:
Nadzeya Hutsko
Date:
2026-07-29 22:21:01 UTC
Severity:
normal
Tags:
#1142657#5
Date:
2026-07-23 18:39:31 UTC
From:
To:
Dear Maintainer,

gambas3 fails to build against poppler >= 26.02 (26.07.0 has been uploaded
to experimental and is currently in NEW). All failures are in the gb.pdf
component (gb.pdf/src/CPdfDocument.cpp):

* poppler 26.02 changed the PDFDoc stream constructor to take a
  std::unique_ptr<BaseStream>, and dropped the reverseVideo parameter
  from the SplashOutputDev constructor
* poppler 26.04 changed Object::getString() to return const std::string&
  instead of const GooString*
* Links::getLinks() returns shared_ptr<AnnotLink>, whose dereference now
  needs the complete AnnotLink type

```
CPdfDocument.cpp:182:42: error: cannot convert 'const std::string' to'const GooString*' in assignment
CPdfDocument.cpp:523:33: error: no matching function for call to 'PDFDoc::PDFDoc(MemStream*&)'
CPdfDocument.cpp:542:70: error: no matching function for call to 'SplashOutputDev::SplashOutputDev(SplashColorMode, int, bool, SplashColor)'
CPdfDocument.cpp:1124:50: error: invalid use of incomplete type 'class AnnotLink'
```

The attached patch adds poppler version probes to gb.pdf/configure.ac
following the existing POPPLER_VERSION_* convention, adapts the calls, and
includes Annot.h. All changes are version-guarded, so the patch is a no-op
with the current poppler (26.01) and is safe to apply now, ahead of the
transition

Thanks,
Nadzeya
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEuVOE/FJ0HcdfWSw//lAdKwFeZPsFAmpiX94ACgkQ/lAdKwFe
ZPtMfA//QeM20OYZp2igmccTyU1r9FgrVl6abuwS40XaeAQEm4k1h96HfnTwaMZD
xTJFPh/FJSC6Dls2aQhVxmw5xipzW5M/qSDUB1gDxNs/w51PDJpCevax2T79rsly
Pcu4pAGFIx2CHe51tz8W09tikZGWCnp5BHkyanQexwnet/WbFAz6NP43ZSwTzWq2
4ghwuU5j6KqQqS30E5k9HhyuABDi7YfQUACzadMsVpHSm8+xfwspZvBMGWCw9xYt
IB8KluRlKVMmtVk2kY6122Ze049VawDudpFpPcprOaiEnhbYg2lGQpi9nmDF35Zm
rT9GoM+3beODbPfns0mMtYBaAD7AZbu12RClc+fiCYaDXKM6X+yFDZd/HE/aHIOC
twxBN6uWA9q/i3wxok9+QdrBdEKkaZ4J8YLoZGelNwvz7CXRsI5Nyu+jFk91c6P2
bozI92lHS0eeLAQl9/0m1TRtAjvY7oavJwv2oWv4kWjP1pIJwVVEyGyU1mVcd2ta
8ykepSt6PgyoOLR3Cr/bXWJxuZ/95iWYWAvUOMMVlvl1Ze0reOLDtAsL9M5jiNsM
A4t8F/2spw/nwjCRGCPYLHo/KYQMvohWmWIW8T7XfTNBHiXVXtwTHjh0mQPfnSDC
3KZHOG32PN2PRdkKE63qp31G61D1GMqWpANlMtKFeV6dEbQuJM4=
=RcPR
-----END PGP SIGNATURE-----

#1142657#10
Date:
2026-07-29 22:19:05 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
gambas3, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1142657@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Bastian Germann <bage@debian.org> (supplier of updated gambas3 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 29 Jul 2026 22:47:56 +0200
Source: gambas3
Architecture: source
Version: 3.22.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Gambas Team <team+debian-gambas@tracker.debian.org>
Changed-By: Bastian Germann <bage@debian.org>
Closes: 1142657
Changes:
 gambas3 (3.22.0-1) unstable; urgency=medium
 .
   * Team upload
   * Drop gb.pdf component (Closes: #1142657)
   * New upstream version 3.22.0
Checksums-Sha1:
 6412b7859105380bf642f45d5f3ecf2f4c904dad 10445 gambas3_3.22.0-1.dsc
 7f8edd1a795fb6037f83b827b71d3366b5b412b3 22649485 gambas3_3.22.0.orig.tar.gz
 6f2e1297bfe0a2bde62812b3870b6d6eeb6218df 29604 gambas3_3.22.0-1.debian.tar.xz
 5c1dc696bb3d79031a781400e0fd35d4186fd04c 27928 gambas3_3.22.0-1_source.buildinfo
Checksums-Sha256:
 7ea0dd8d84dbb873d7f105fe6a6856cab878f4f0bed2c460796d5312e5b98f92 10445 gambas3_3.22.0-1.dsc
 1dde712a8c55c6ab2e0a9531c68f28e4a5977557d3f44511d333309b5fe5c7c5 22649485 gambas3_3.22.0.orig.tar.gz
 7a7b3a0b8b887c5a383cf79863293f14ea92d65f99b3c9e464dc4c66ca6fb7a7 29604 gambas3_3.22.0-1.debian.tar.xz
 55c6c210462d1e942c332721f888c66092cafa401aa12d86a37a2b054501d52e 27928 gambas3_3.22.0-1_source.buildinfo
Files:
 251c11548170cc3edc6c20a8d6edadb6 10445 devel optional gambas3_3.22.0-1.dsc
 59f3e2fbc982be4ce0938daaaf07d155 22649485 devel optional gambas3_3.22.0.orig.tar.gz
 c360cd368639e8848ae659417e7d3d7a 29604 devel optional gambas3_3.22.0-1.debian.tar.xz
 49345439192110908d73bd8bbe0d0740 27928 devel optional gambas3_3.22.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmpqd2gQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFIq3C/9g9eyhsJMkQzj+HhIM1b0svi1do9lnP9pr
EASd7tieb1ZRl9bWwwyK/TSlHU9MU/wsSQ/D2/14xnL12/Zsw/jkCc/OGOQmoict
+Ck7nPn/PD90diBj5gftZd5s3xgg/zntF13N5xm0PWOCENIl9gUIOJPCDCuhOrjP
0MhQX3sgNPJWd/k09ZrC1oyZxrJKawDOiaKWQLR1vZ0RNPJqIr25ulQPqYxMkdND
IWzf3EpM9BpLoE1gr8pEv+ZnhuRJj+jBfz1DkNOtGqUdFC1vcmEwtwd/kjR2K5vj
XU5lxjR+oqRkzX0D+zns6R9+pUYbMMDnDFwS5lwRsO6JHonw27yfR2mMPPMGi0Nq
4k0u92zH1WOeYyk+yIYxnHarNVL5li6Jo0vhgG7vvu5j2pnI6ORfxhy9QXVdkT3a
+Lj4Wyg9pHhiI2d9npMdq3/SMoHiRGs8S0OkrsFRWwSJjq78iZOaJJkuHTYMXsO9
RXbT3dB6PoaoEkjvfdDYY1AVr4aecPE=
=1u4D
-----END PGP SIGNATURE-----