[Debian-med-packaging] Bug#1041116: orthanc-postgresql FTBFS with googletest 1.13.0

Adrian Bunk bunk at debian.org
Fri Jul 14 23:15:39 BST 2023


Source: orthanc-postgresql
Version: 4.0-7
Severity: serious
Tags: ftbfs trixie sid

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/orthanc-postgresql.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-postgresql-4.0/PostgreSQL/UnitTests/PostgreSQLTests.cpp:22:
/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