[Debian-med-packaging] Bug#1041082: orthanc-mysql FTBFS with googletest 1.13.0
Adrian Bunk
bunk at debian.org
Fri Jul 14 18:42:47 BST 2023
Source: orthanc-mysql
Version: 4.3-3
Severity: serious
Tags: ftbfs trixie sid
https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/orthanc-mysql.html
...
In file included from /usr/include/gtest/gtest-message.h:57,
from /usr/include/gtest/gtest-assertion-result.h:46,
from /usr/include/gtest/gtest.h:64,
from /build/1st/orthanc-mysql-4.3/MySQL/UnitTests/../../Framework/Plugins/IndexUnitTests.h:32,
from /build/1st/orthanc-mysql-4.3/MySQL/UnitTests/UnitTestsMain.cpp:32:
/usr/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=gnu++11 to -std=gnu++14
in Resources/Orthanc/CMake/DownloadOrthancFramework.cmake
More information about the Debian-med-packaging
mailing list