#1144072 libqpdf30: CUPS unable to print due to undefined symbol in libqpdf

Package:
libqpdf30
Source:
libqpdf30
Description:
runtime library for PDF transformation/inspection software
Submitter:
Antonin Kral
Date:
2026-08-17 16:27:03 UTC
Severity:
normal
#1144072#5
Date:
2026-08-10 15:51:04 UTC
From:
To:
CUPS stopped working after update. Downgrading to 12.3.2-1+b1 solves the
issue. Relevant message in the CUPS log seems to be:

D [10/Aug/2026:17:36:35 +0200] [Job 2761] samsung: symbol lookup error: samsung: undefined symbol: _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceEmmPKcm, version LIBQPDF_30

#1144072#10
Date:
2026-08-10 17:44:18 UTC
From:
To:
I wonder if this needs a higher severity than important or whether it just needs a rebuild of cups.

That's just std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char>>::_M_replace(unsigned long, unsigned long, char const*, unsigned long), which is basically std::string::replace. Oh, wait -- that particular variant of std::string::replace was added in C++-20, which qpdf now uses internally. Could it be that cups is linking with too old of a C++ library? Why would that be? I'm think we just need a rebuild of cups. Maybe that happens automatically because of the binary dependency.

#1144072#15
Date:
2026-08-10 18:09:09 UTC
From:
To:

#1144072#20
Date:
2026-08-12 12:45:59 UTC
From:
To:
The version of qpdf in testing exported some symbols that it shouldn't have as a result of a toolchain issue that was in effect at the time of upload. It doesn't affect stable, so the release team is rebuilding the broken packages. I'll keep an eye on it and close these bugs once the transition completes.
#1144072#25
Date:
2026-08-17 16:23:47 UTC
From:
To:
The issue with qpdf 12.4.0 breaking printing in Debian unstable was
caused by an unrelated problem, which has now been resolved by
rebuilding the packages, like cups, that were breaking. For
details, see
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1144127. You should
be able to unblock qpdf from updating on your system, and as long as
you also get an updated cups, you should be good to go.