[Pkg-ayatana-devel] Bug#1041087: libqtdbusmock FTBFS with googletest 1.13.0

Adrian Bunk bunk at debian.org
Fri Jul 14 18:59:33 BST 2023


Source: libqtdbusmock
Version: 0.7+bzr49+repack1-5
Severity: serious
Tags: ftbfs trixie sid

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

...
In file included from /usr/src/googletest/googletest/include/gtest/gtest-message.h:57,
                 from /usr/src/googletest/googletest/include/gtest/gtest-assertion-result.h:46,
                 from /usr/src/googletest/googletest/include/gtest/gtest.h:64,
                 from /build/1st/libqtdbusmock-0.7+bzr49+repack1/tests/main.cpp:21:
/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