[Pkg-ayatana-devel] Bug#1041083: libqtdbustest FTBFS with googletest 1.13.0

Adrian Bunk bunk at debian.org
Fri Jul 14 18:50:19 BST 2023


Source: libqtdbustest
Version: 0.2+bzr42+repack1-14
Severity: serious
Tags: ftbfs trixie sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libqtdbustest.html

...
In file included from /usr/src/googletest/googlemock/include/gmock/internal/gmock-port.h:57,
                 from /usr/src/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:49,
                 from /usr/src/googletest/googlemock/include/gmock/gmock-actions.h:145,
                 from /usr/src/googletest/googlemock/include/gmock/gmock.h:56,
                 from /build/1st/libqtdbustest-0.2+bzr42+repack1/tests/libqtdbustest/TestQProcessDBusService.cpp:22:
/usr/src/googletest/googletest/include/gtest/internal/gtest-port.h:270:2: error: #error C++ versions less than C++14 are not supported.
  270 | #error C++ versions less than C++14 are not supported.
      |  ^~~~~
...



This can be fixed by changing -std=c++11 to -std=c++14
in CMakeLists.txt



More information about the Pkg-ayatana-devel mailing list