Control: close -1
Control: fixed -1 0.3.2-1
Control: notfixed #1113242 lomiri-polkit-agent/0.3.2-1

On  Mo 01 Sep 2025 00:59:47 CEST, roehling wrote:

Source: lomiri-polkit-agent
Version: 0.3-1
Severity: serious
User: [email protected]
Usertags: cmake-4
Tags: ftbfs, forky, sid

Dear maintainer,

During a test rebuild for CMake 4, lomiri-polkit-agent failed to rebuild.

Log Summary:
-------------------------------------------------------------------------------
[...]
cd /build/reproducible-path/lomiri-polkit-agent-0.3/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -DGTEST_VERSION_MAJOR=1 -DGTEST_VERSION_MINOR=17 -DGTEST_VERSION_PATCH=0 -DLIBNOTIFY_HAS_SET_APP_ICON -DPOLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE -I/build/reproducible-path/lomiri-polkit-agent-0.3/service -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/polkit-1 -I/usr/include/gio-unix-2.0 -I/usr/src/gtest/src/.. -I/usr/include/libdbustest-1 -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googletest/include -g -O2 -ffile-prefix-map=/build/reproducible-path/lomiri-polkit-agent-0.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Werror -Wno-deprecated-declarations -std=c++14 -pthread -MD -MT tests/CMakeFiles/agent-test.dir/polkit-lib-mock.cpp.o -MF CMakeFiles/agent-test.dir/polkit-lib-mock.cpp.o.d -o CMakeFiles/agent-test.dir/polkit-lib-mock.cpp.o -c /build/reproducible-path/lomiri-polkit-agent-0.3/tests/polkit-lib-mock.cpp [ 88%] Building CXX object tests/CMakeFiles/authentication-test.dir/authentication-test.cpp.o cd /build/reproducible-path/lomiri-polkit-agent-0.3/obj-aarch64-linux-gnu/tests && /usr/bin/c++ -DGTEST_VERSION_MAJOR=1 -DGTEST_VERSION_MINOR=17 -DGTEST_VERSION_PATCH=0 -DLIBNOTIFY_HAS_SET_APP_ICON -DPOLKIT_AGENT_I_KNOW_API_IS_SUBJECT_TO_CHANGE -I/build/reproducible-path/lomiri-polkit-agent-0.3/service -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/sysprof-6 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/webp -I/usr/include/polkit-1 -I/usr/include/gio-unix-2.0 -I/usr/src/gtest/src/.. -I/usr/include/libdbustest-1 -isystem /usr/src/googletest/googlemock/include -isystem /usr/src/googletest/googletest/include -g -O2 -ffile-prefix-map=/build/reproducible-path/lomiri-polkit-agent-0.3=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wdate-time -D_FORTIFY_SOURCE=2 -g -Wall -Werror -Wno-deprecated-declarations -std=c++14 -pthread -MD -MT tests/CMakeFiles/authentication-test.dir/authentication-test.cpp.o -MF CMakeFiles/authentication-test.dir/authentication-test.cpp.o.d -o CMakeFiles/authentication-test.dir/authentication-test.cpp.o -c /build/reproducible-path/lomiri-polkit-agent-0.3/tests/authentication-test.cpp In file included from /usr/src/googletest/googlemock/include/gmock/internal/gmock-port.h:58, from /usr/src/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:50, from /usr/src/googletest/googlemock/include/gmock/gmock-actions.h:146, from /usr/src/googletest/googlemock/include/gmock/gmock.h:56, from /build/reproducible-path/lomiri-polkit-agent-0.3/tests/agent-test.cpp:22: /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/googlemock/include/gmock/internal/gmock-port.h:58, from /usr/src/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:50, from /usr/src/googletest/googlemock/include/gmock/gmock-actions.h:146, from /usr/src/googletest/googlemock/include/gmock/gmock.h:56, from /build/reproducible-path/lomiri-polkit-agent-0.3/tests/auth-manager-test.cpp:22: /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/googlemock/include/gmock/internal/gmock-port.h:58, from /usr/src/googletest/googlemock/include/gmock/internal/gmock-internal-utils.h:50, from /usr/src/googletest/googlemock/include/gmock/gmock-actions.h:146, from /usr/src/googletest/googlemock/include/gmock/gmock.h:56, from /build/reproducible-path/lomiri-polkit-agent-0.3/tests/authentication-test.cpp:22: /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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
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>()))>
      |                                                        ^
make[3]: *** [tests/CMakeFiles/auth-manager-test.dir/build.make:82: tests/CMakeFiles/auth-manager-test.dir/auth-manager-test.cpp.o] Error 1 make[3]: Leaving directory '/build/reproducible-path/lomiri-polkit-agent-0.3/obj-aarch64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:1342: tests/CMakeFiles/auth-manager-test.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: *** [tests/CMakeFiles/authentication-test.dir/build.make:82: tests/CMakeFiles/authentication-test.dir/authentication-test.cpp.o] Error 1 make[3]: Leaving directory '/build/reproducible-path/lomiri-polkit-agent-0.3/obj-aarch64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:1375: tests/CMakeFiles/authentication-test.dir/all] Error 2 make[3]: *** [tests/CMakeFiles/agent-test.dir/build.make:82: tests/CMakeFiles/agent-test.dir/agent-test.cpp.o] Error 1 make[3]: Leaving directory '/build/reproducible-path/lomiri-polkit-agent-0.3/obj-aarch64-linux-gnu' make[2]: *** [CMakeFiles/Makefile2:1309: tests/CMakeFiles/agent-test.dir/all] Error 2 make[2]: Leaving directory '/build/reproducible-path/lomiri-polkit-agent-0.3/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/build/reproducible-path/lomiri-polkit-agent-0.3/obj-aarch64-linux-gnu' dh_auto_build: error: cd obj-aarch64-linux-gnu && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T05:53:04Z

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

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/2403412/

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/154009/

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

This issue is now resolved, unfortunately I had a typo in d/changelog of lomiri-polkit-agent (#1113243 vs. #1113242).

Mike
--

mike gabriel aka sunweaver (Debian Developer)
mobile: +49 (1520) 1976 148
landline: +49 (4351) 486 14 27

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: [email protected], http://sunweavers.net

Attachment: pgpPKh6UgdwrL.pgp
Description: Digitale PGP-Signatur

Reply via email to