Your message dated Tue, 02 Sep 2025 20:43:40 +0000
with message-id <[email protected]>
and subject line Bug#1113423: fixed in prometheus-cpp 1.0.2-3
has caused the Debian Bug report #1113423,
regarding prometheus-cpp: FTBFS with CMake 4
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1113423: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113423
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: prometheus-cpp
Version: 1.0.2-2
Severity: serious
User: [email protected]
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for CMake 4, prometheus-cpp failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
/usr/src/googletest/googletest/include/gtest/internal/gtest-port.h:273:2: 
error: #error C++ versions less than C++17 are not supported.
  273 | #error C++ versions less than C++17 are not supported.
      |  ^~~~~
In file included from /usr/src/googletest/googletest/include/gtest/gtest.h:67,
                 from 
/usr/src/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:51:
/usr/src/googletest/googletest/include/gtest/gtest-param-test.h:483:56: error: 
missing template arguments before ‘(’ token
  483 |           typename StdFunction = 
decltype(std::function(std::declval<Func>()))>
      |                                                        ^
/usr/src/googletest/googletest/include/gtest/gtest-param-test.h:493:56: error: 
missing template arguments before ‘(’ token
  493 |           typename StdFunction = 
decltype(std::function(std::declval<Func>()))>
      |                                                        ^
[22/56] /usr/bin/c++  -isystem /usr/src/googletest/googletest/include -isystem 
/usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googletest 
-isystem /usr/src/googletest/googlemock -g -O2 
-ffile-prefix-map=/build/reproducible-path/prometheus-cpp-1.0.2=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -DNDEBUG -std=c++14 -fvisibility=hidden 
-fvisibility-inlines-hidden -MD -MT 
CMakeFiles/gmock_main.dir/usr/src/googletest/googletest/src/gtest-all.cc.o -MF 
CMakeFiles/gmock_main.dir/usr/src/googletest/googletest/src/gtest-all.cc.o.d -o 
CMakeFiles/gmock_main.dir/usr/src/googletest/googletest/src/gtest-all.cc.o -c 
/usr/src/googletest/googletest/src/gtest-all.cc
FAILED: 
CMakeFiles/gmock_main.dir/usr/src/googletest/googletest/src/gtest-all.cc.o 
/usr/bin/c++  -isystem /usr/src/googletest/googletest/include -isystem 
/usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googletest 
-isystem /usr/src/googletest/googlemock -g -O2 
-ffile-prefix-map=/build/reproducible-path/prometheus-cpp-1.0.2=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -DNDEBUG -std=c++14 -fvisibility=hidden 
-fvisibility-inlines-hidden -MD -MT 
CMakeFiles/gmock_main.dir/usr/src/googletest/googletest/src/gtest-all.cc.o -MF 
CMakeFiles/gmock_main.dir/usr/src/googletest/googletest/src/gtest-all.cc.o.d -o 
CMakeFiles/gmock_main.dir/usr/src/googletest/googletest/src/gtest-all.cc.o -c 
/usr/src/googletest/googletest/src/gtest-all.cc
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:63,
                 from /usr/src/googletest/googletest/src/gtest-all.cc:38:
/usr/src/googletest/googletest/include/gtest/internal/gtest-port.h:273:2: 
error: #error C++ versions less than C++17 are not supported.
  273 | #error C++ versions less than C++17 are not supported.
      |  ^~~~~
In file included from /usr/src/googletest/googletest/include/gtest/gtest.h:67:
/usr/src/googletest/googletest/include/gtest/gtest-param-test.h:483:56: error: 
missing template arguments before ‘(’ token
  483 |           typename StdFunction = 
decltype(std::function(std::declval<Func>()))>
      |                                                        ^
/usr/src/googletest/googletest/include/gtest/gtest-param-test.h:493:56: error: 
missing template arguments before ‘(’ token
  493 |           typename StdFunction = 
decltype(std::function(std::declval<Func>()))>
      |                                                        ^
[23/56] /usr/bin/c++  
-I/build/reproducible-path/prometheus-cpp-1.0.2/core/include 
-I/build/reproducible-path/prometheus-cpp-1.0.2/obj-aarch64-linux-gnu/core/include
 -isystem /usr/src/googletest/googletest/include -isystem 
/usr/src/googletest/googlemock/include -g -O2 
-ffile-prefix-map=/build/reproducible-path/prometheus-cpp-1.0.2=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -DNDEBUG -std=c++14 -fvisibility=hidden 
-fvisibility-inlines-hidden -MD -MT 
core/tests/CMakeFiles/prometheus_core_test.dir/check_names_test.cc.o -MF 
core/tests/CMakeFiles/prometheus_core_test.dir/check_names_test.cc.o.d -o 
core/tests/CMakeFiles/prometheus_core_test.dir/check_names_test.cc.o -c 
/build/reproducible-path/prometheus-cpp-1.0.2/core/tests/check_names_test.cc
FAILED: core/tests/CMakeFiles/prometheus_core_test.dir/check_names_test.cc.o 
/usr/bin/c++  -I/build/reproducible-path/prometheus-cpp-1.0.2/core/include 
-I/build/reproducible-path/prometheus-cpp-1.0.2/obj-aarch64-linux-gnu/core/include
 -isystem /usr/src/googletest/googletest/include -isystem 
/usr/src/googletest/googlemock/include -g -O2 
-ffile-prefix-map=/build/reproducible-path/prometheus-cpp-1.0.2=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -DNDEBUG -std=c++14 -fvisibility=hidden 
-fvisibility-inlines-hidden -MD -MT 
core/tests/CMakeFiles/prometheus_core_test.dir/check_names_test.cc.o -MF 
core/tests/CMakeFiles/prometheus_core_test.dir/check_names_test.cc.o.d -o 
core/tests/CMakeFiles/prometheus_core_test.dir/check_names_test.cc.o -c 
/build/reproducible-path/prometheus-cpp-1.0.2/core/tests/check_names_test.cc
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:63,
                 from 
/build/reproducible-path/prometheus-cpp-1.0.2/core/tests/check_names_test.cc:3:
/usr/src/googletest/googletest/include/gtest/internal/gtest-port.h:273:2: 
error: #error C++ versions less than C++17 are not supported.
  273 | #error C++ versions less than C++17 are not supported.
      |  ^~~~~
In file included from /usr/src/googletest/googletest/include/gtest/gtest.h:67:
/usr/src/googletest/googletest/include/gtest/gtest-param-test.h:483:56: error: 
missing template arguments before ‘(’ token
  483 |           typename StdFunction = 
decltype(std::function(std::declval<Func>()))>
      |                                                        ^
/usr/src/googletest/googletest/include/gtest/gtest-param-test.h:493:56: error: 
missing template arguments before ‘(’ token
  493 |           typename StdFunction = 
decltype(std::function(std::declval<Func>()))>
      |                                                        ^
[24/56] /usr/bin/c++ -DPROMETHEUS_CPP_CORE_EXPORTS 
-I/build/reproducible-path/prometheus-cpp-1.0.2/core/include 
-I/build/reproducible-path/prometheus-cpp-1.0.2/obj-aarch64-linux-gnu/core/include
 -g -O2 -ffile-prefix-map=/build/reproducible-path/prometheus-cpp-1.0.2=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -DNDEBUG -std=c++11 -fPIC -fvisibility=hidden 
-fvisibility-inlines-hidden -MD -MT core/CMakeFiles/core.dir/src/family.cc.o 
-MF core/CMakeFiles/core.dir/src/family.cc.o.d -o 
core/CMakeFiles/core.dir/src/family.cc.o -c 
/build/reproducible-path/prometheus-cpp-1.0.2/core/src/family.cc
[25/56] /usr/bin/c++ -DPROMETHEUS_CPP_PUSH_EXPORTS 
-I/build/reproducible-path/prometheus-cpp-1.0.2/push/include 
-I/build/reproducible-path/prometheus-cpp-1.0.2/obj-aarch64-linux-gnu/push/include
 -I/build/reproducible-path/prometheus-cpp-1.0.2/core/include 
-I/build/reproducible-path/prometheus-cpp-1.0.2/obj-aarch64-linux-gnu/core/include
 -g -O2 -ffile-prefix-map=/build/reproducible-path/prometheus-cpp-1.0.2=. 
-fstack-protector-strong -fstack-clash-protection -Wformat 
-Werror=format-security -mbranch-protection=standard -Wdate-time 
-D_FORTIFY_SOURCE=2 -DNDEBUG -std=c++11 -fPIC -fvisibility=hidden 
-fvisibility-inlines-hidden -MD -MT push/CMakeFiles/push.dir/src/gateway.cc.o 
-MF push/CMakeFiles/push.dir/src/gateway.cc.o.d -o 
push/CMakeFiles/push.dir/src/gateway.cc.o -c 
/build/reproducible-path/prometheus-cpp-1.0.2/push/src/gateway.cc
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-aarch64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v 
returned exit code 1
make[1]: *** [debian/rules:17: override_dh_auto_build] Error 25
make[1]: Leaving directory '/build/reproducible-path/prometheus-cpp-1.0.2'
make: *** [debian/rules:9: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T14:52:15Z

-------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/2407980/

The most likely cause of build failures is the removed backwards compatibility 
for
CMake versions earlier than 3.5. You can find additional information in my
debian-devel announcement:

https://lists.debian.org/debian-devel/2025/04/msg00310.html

About the archive rebuild: The build was made on debusine.debian.net,
using sbuild.

You can find the build task here:
https://debusine.debian.net/work-request/154553/

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks,
Timo

--- End Message ---
--- Begin Message ---
Source: prometheus-cpp
Source-Version: 1.0.2-3
Done: Gregor Jasny <[email protected]>

We believe that the bug you reported is fixed in the latest version of
prometheus-cpp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Gregor Jasny <[email protected]> (supplier of updated prometheus-cpp 
package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 02 Sep 2025 21:58:09 +0200
Source: prometheus-cpp
Architecture: source
Version: 1.0.2-3
Distribution: unstable
Urgency: medium
Maintainer: Gregor Jasny <[email protected]>
Changed-By: Gregor Jasny <[email protected]>
Closes: 1113423
Changes:
 prometheus-cpp (1.0.2-3) unstable; urgency=medium
 .
   * fix: googletest 1.17.0 requires C++17 (Closes: #1113423)
Checksums-Sha1:
 59f1010ef73bbbd107d776b974a80d939997b59d 2347 prometheus-cpp_1.0.2-3.dsc
 3fd38ebcc5635d3939c88af2ca552ccc66daa7d2 4688 
prometheus-cpp_1.0.2-3.debian.tar.xz
 41cb3166d9fc5af0e92d1cad3dc9dfc0d45b3b1c 12179 
prometheus-cpp_1.0.2-3_arm64.buildinfo
Checksums-Sha256:
 2ba7507c34821468ecbcc3b9b70efae6df4c5dd5ecefade207b5f084364b9e50 2347 
prometheus-cpp_1.0.2-3.dsc
 662b816a6c815f7ef59bf6d18fb4398ac506be0d62a2d3a60ada16be60e92f1a 4688 
prometheus-cpp_1.0.2-3.debian.tar.xz
 5f95a1b522f75376eee05f60dbfea410655bfb0e3dcdb80a1602faa03dfa2f74 12179 
prometheus-cpp_1.0.2-3_arm64.buildinfo
Files:
 1d24151518e9ffb98f8e2f5bd684e132 2347 libs optional prometheus-cpp_1.0.2-3.dsc
 0e8d9c2a871d69a6f0e3187472690e06 4688 libs optional 
prometheus-cpp_1.0.2-3.debian.tar.xz
 a7f45bd12b97481c08e1fb3deb59b986 12179 libs optional 
prometheus-cpp_1.0.2-3_arm64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJKBAEBCgA0FiEEBdAWnCbkFZNBgSnfGZpk+t+1AP8FAmi3Te0WHGdqYXNueUBn
b29nbGVtYWlsLmNvbQAKCRAZmmT637UA/wNLEACmzhyg/wPDHv0/ZJkPW22mD02u
js0IPJKyIIlWUwTL1luOlr5xb7H7uB2ckov2xdPBImylHzIMAhmzxVYt4aMk7Zl/
8WB6IzHt/pUpR61XYL7+tgcK+I0hu4FN/FxU4KHW/aBcWAsyoA6G4Dqk5UGzQFti
eBPISRRuqdcWDEfNwVS4bVJ5oPpYi99I1K5Z8CtbeNvUyhd88hKrZkkZQF2xe1Hd
FWG1qcT3sDyQVjzdsk8Fq2xqMPmOcohB7LHQA7myq7qGcB44j2yV4y01GUp+0PbR
kuPSRKNB+BwS8VbCfK+5PmSkRvgCVwa+NtYepalhuF1C+uYbS8KzUMPm50Hw3ps/
8EEcNSelQjFvYMRh72+gqYu2ppYUTOvqITEYAkRZvyCO0ISA5OCUBTXLQHWExWMJ
2/FjmlSCXpLYZgK1RgJdWh595NFUznYOoDRJ70XPdecuzA69oDNwkbnf8wkJaFJI
bIHAO2Q/XYgguHA+yaRGJwk6g7Cwadw5JWOPNzsTG1+0SXRiIfnM4HDJSjN98ihv
gsZHMVfKeim8BQWsTlgYoTFEtSZfLtkJK+QO0NoOZsrNr59jEbf5xhFnXW4q5N1s
Rlhqg3r59fwuHHj4IOZnA7WTytT6HPCkDSM8ALiKr1mcO7tr6JU8wWJODu4Av2sR
QTj6p+uFLSncpYDiyg==
=Yl0C
-----END PGP SIGNATURE-----

Attachment: pgpradzCPSena.pgp
Description: PGP signature


--- End Message ---

Reply via email to