On 2026-04-13 Emanuele Rocca <[email protected]> wrote:
> Package: src:pinentry
> Version: 1.3.2-4
> Severity: important
> Tags: sid forky ftbfs
> User: [email protected]
> Usertags: ftbfs-gcc-16

> Hi,

> pinentry fails to build in a test rebuild on at least amd64 and arm64 with
> gcc-16/g++-16, but builds properly with gcc-15/g++-15. The severity of this
> report will be raised before the forky release.
[...]

Hello,

The interesting bit is:
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... -std=gnu++11

whereas gcc15:
checking whether g++ accepts -g... yes
checking for g++ option to enable C++11 features... none needed

which adds -std=gnu++11 to CXXFLAGS and later causes the Qt test to fail
with
/usr/include/aarch64-linux-gnu/qt6/QtCore/qcompilerdetection.h:1319:6: error: 
#error "Qt requires a C++17 compiler"

Afaict the C++11 test is one of the standard tests run by AC_PROG_CXX
and at first glance pinentry does not explicitly request C++11 so I
doubt this is a pinentry issue.

cu Andreas
-- 
"You people are noisy," Nia said.
I made the gesture of agreement.

Reply via email to