Your message dated Tue, 02 Sep 2025 12:36:08 +0000
with message-id <[email protected]>
and subject line Bug#1113198: fixed in libserial 1.0.0+git20250424-1
has caused the Debian Bug report #1113198,
regarding libserial: 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.)
--
1113198: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113198
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libserial
Version: 1.0.0+git20250423-6
Severity: serious
User: [email protected]
Usertags: cmake-4
Tags: ftbfs, forky, sid
Dear maintainer,
During a test rebuild for CMake 4, libserial failed to rebuild.
Log Summary:
-------------------------------------------------------------------------------
[...]
make[3]: Entering directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
[ 58%] Building CXX object
test/CMakeFiles/UnitTests.dir/SerialPortUnitTests.cpp.o
cd
/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu/test
&& /usr/bin/c++ -I/build/reproducible-path/libserial-1.0.0+git20250423/src -g
-O2 -ffile-prefix-map=/build/reproducible-path/libserial-1.0.0+git20250423=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -std=gnu++14 -Wall -Wcast-align -Wchar-subscripts
-Wdouble-promotion -Wextra -Wfatal-errors -Wformat -Wformat-security
-Wlogical-op -Wno-format-extra-args -Wno-long-long -Wno-parentheses -Wno-psabi
-Wno-variadic-macros -Woverlength-strings -Wpacked -Wpointer-arith
-Wunused-local-typedefs -Wwrite-strings -fstrict-aliasing -fno-check-new
-fno-common -fvisibility=default -pedantic -pthread -MD -MT
test/CMakeFiles/UnitTests.dir/SerialPortUnitTests.cpp.o -MF
CMakeFiles/UnitTests.dir/SerialPortUnitTests.cpp.o.d -o
CMakeFiles/UnitTests.dir/SerialPortUnitTests.cpp.o -c
/build/reproducible-path/libserial-1.0.0+git20250423/test/SerialPortUnitTests.cpp
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:63,
from
/build/reproducible-path/libserial-1.0.0+git20250423/test/UnitTests.h:40,
from
/build/reproducible-path/libserial-1.0.0+git20250423/test/SerialPortUnitTests.h:36,
from
/build/reproducible-path/libserial-1.0.0+git20250423/test/SerialPortUnitTests.cpp:34:
/usr/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.
| ^~~~~
compilation terminated due to -Wfatal-errors.
make[3]: *** [test/CMakeFiles/UnitTests.dir/build.make:82:
test/CMakeFiles/UnitTests.dir/SerialPortUnitTests.cpp.o] Error 1
make[3]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
make[2]: *** [CMakeFiles/Makefile2:580: test/CMakeFiles/UnitTests.dir/all]
Error 2
make[2]: *** Waiting for unfinished jobs....
[ 61%] Linking CXX executable ../bin/MainPageExample
cd
/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu/examples
&& /usr/bin/cmake -E cmake_link_script CMakeFiles/MainPageExample.dir/link.txt
--verbose=1
[ 64%] Linking CXX executable ../bin/SerialStreamReadExample
cd
/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu/examples
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/SerialStreamReadExample.dir/link.txt --verbose=1
[ 67%] Linking CXX executable ../bin/SerialPortWriteExample
cd
/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu/examples
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/SerialPortWriteExample.dir/link.txt --verbose=1
[ 70%] Linking CXX executable ../bin/SerialPortReadExample
cd
/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu/examples
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/SerialPortReadExample.dir/link.txt --verbose=1
[ 74%] Linking CXX executable ../bin/SerialStreamWriteExample
cd
/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu/examples
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/SerialStreamWriteExample.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2
-ffile-prefix-map=/build/reproducible-path/libserial-1.0.0+git20250423=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro
-Wl,--dependency-file=CMakeFiles/MainPageExample.dir/link.d
CMakeFiles/MainPageExample.dir/main_page_example.cpp.o -o
../bin/MainPageExample ../lib/libserial.a
make[3]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
[ 74%] Built target MainPageExample
/usr/bin/c++ -g -O2
-ffile-prefix-map=/build/reproducible-path/libserial-1.0.0+git20250423=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro
-Wl,--dependency-file=CMakeFiles/SerialStreamReadExample.dir/link.d
CMakeFiles/SerialStreamReadExample.dir/serial_stream_read.cpp.o -o
../bin/SerialStreamReadExample ../lib/libserial.a
make[3]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
/usr/bin/c++ -g -O2
-ffile-prefix-map=/build/reproducible-path/libserial-1.0.0+git20250423=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro
-Wl,--dependency-file=CMakeFiles/SerialPortWriteExample.dir/link.d
CMakeFiles/SerialPortWriteExample.dir/serial_port_write.cpp.o -o
../bin/SerialPortWriteExample ../lib/libserial.a
make[3]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
[ 74%] Built target SerialStreamReadExample
[ 74%] Built target SerialPortWriteExample
[ 80%] Linking CXX executable ../bin/SerialStreamReadWriteExample
[ 80%] Linking CXX executable ../bin/SerialPortReadWriteExample
cd
/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu/examples
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/SerialStreamReadWriteExample.dir/link.txt --verbose=1
cd
/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu/examples
&& /usr/bin/cmake -E cmake_link_script
CMakeFiles/SerialPortReadWriteExample.dir/link.txt --verbose=1
/usr/bin/c++ -g -O2
-ffile-prefix-map=/build/reproducible-path/libserial-1.0.0+git20250423=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro
-Wl,--dependency-file=CMakeFiles/SerialStreamWriteExample.dir/link.d
CMakeFiles/SerialStreamWriteExample.dir/serial_stream_write.cpp.o -o
../bin/SerialStreamWriteExample ../lib/libserial.a
make[3]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
/usr/bin/c++ -g -O2
-ffile-prefix-map=/build/reproducible-path/libserial-1.0.0+git20250423=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro
-Wl,--dependency-file=CMakeFiles/SerialPortReadExample.dir/link.d
CMakeFiles/SerialPortReadExample.dir/serial_port_read.cpp.o -o
../bin/SerialPortReadExample ../lib/libserial.a
make[3]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
[ 80%] Built target SerialStreamWriteExample
[ 80%] Built target SerialPortReadExample
/usr/bin/c++ -g -O2
-ffile-prefix-map=/build/reproducible-path/libserial-1.0.0+git20250423=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro
-Wl,--dependency-file=CMakeFiles/SerialPortReadWriteExample.dir/link.d
CMakeFiles/SerialPortReadWriteExample.dir/serial_port_read_write.cpp.o -o
../bin/SerialPortReadWriteExample ../lib/libserial.a
/usr/bin/c++ -g -O2
-ffile-prefix-map=/build/reproducible-path/libserial-1.0.0+git20250423=.
-fstack-protector-strong -fstack-clash-protection -Wformat
-Werror=format-security -mbranch-protection=standard -Wdate-time
-D_FORTIFY_SOURCE=2 -Wl,-z,relro
-Wl,--dependency-file=CMakeFiles/SerialStreamReadWriteExample.dir/link.d
CMakeFiles/SerialStreamReadWriteExample.dir/serial_stream_read_write.cpp.o -o
../bin/SerialStreamReadWriteExample ../lib/libserial.a
make[3]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
make[3]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
[ 80%] Built target SerialPortReadWriteExample
[ 80%] Built target SerialStreamReadWriteExample
make[2]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/obj-aarch64-linux-gnu'
make[1]: *** [Makefile:169: all] Error 2
make[1]: Leaving directory
'/build/reproducible-path/libserial-1.0.0+git20250423/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:4: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2025-08-30T04:36:31Z
-------------------------------------------------------------------------------
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/2402405/
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/153889/
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: libserial
Source-Version: 1.0.0+git20250424-1
Done: Gianfranco Costamagna <[email protected]>
We believe that the bug you reported is fixed in the latest version of
libserial, 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.
Gianfranco Costamagna <[email protected]> (supplier of updated libserial
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: SHA256
Format: 1.8
Date: Tue, 02 Sep 2025 14:10:26 +0200
Source: libserial
Built-For-Profiles: noudeb
Architecture: source
Version: 1.0.0+git20250424-1
Distribution: unstable
Urgency: medium
Maintainer: Gianfranco Costamagna <[email protected]>
Changed-By: Gianfranco Costamagna <[email protected]>
Closes: 1113198
Changes:
libserial (1.0.0+git20250424-1) unstable; urgency=medium
.
* New upstream snapshot (fixing doxygen warnings)
* Refresh patches for new release
* Add patch proposed upstream to fix build failure with new cmake and
googletest
(Closes: #1113198)
Checksums-Sha1:
2fc067241299601a67abb18d3f7aac4e93d12159 2339 libserial_1.0.0+git20250424-1.dsc
586a6aaea3187c15dd75550a198590ceb8b02b71 125213
libserial_1.0.0+git20250424.orig.tar.gz
d7ec8957284bcb9d8bf8c035d30b9943a124666f 8640
libserial_1.0.0+git20250424-1.debian.tar.xz
df15a91ae278b0e8c51486bd0a1807661599376e 11630
libserial_1.0.0+git20250424-1_source.buildinfo
Checksums-Sha256:
f6b75d981192f7b1015bfa411cdfdc80ba9368c1bbc988e395f7c471a75ec9cf 2339
libserial_1.0.0+git20250424-1.dsc
6daf6ed1d003426b5fcbc1aa91617da5656ac3efd51ceac02c73d66e81e96063 125213
libserial_1.0.0+git20250424.orig.tar.gz
abd7e3e444d246b66159693df14bacdcabffd480b168bc9a340a741656f6a866 8640
libserial_1.0.0+git20250424-1.debian.tar.xz
64a1257d0bbfb8ccbc78ece7abf7a10a57680ec8da8bb34fc284b72f3ae955cf 11630
libserial_1.0.0+git20250424-1_source.buildinfo
Files:
85dbfa7ccc98166ce00c569639118d2a 2339 devel optional
libserial_1.0.0+git20250424-1.dsc
2cb0ac363faec95e554226f974d954dc 125213 devel optional
libserial_1.0.0+git20250424.orig.tar.gz
7d4b4a29fec879b571fd4358efcf2241 8640 devel optional
libserial_1.0.0+git20250424-1.debian.tar.xz
5c3c5b66b6a25dddc15184d206450b6f 11630 devel optional
libserial_1.0.0+git20250424-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkpeKbhleSSGCX3/w808JdE6fXdkFAmi23vEACgkQ808JdE6f
XdnylQ//ZwB6wo/AljzzJ6k3fqMjPQh4Zvu9VwTQDarFCiNinitiYTnhHg+C7o2j
JG5tLNu8khY+MUGha4UK9HPrK+cIvNTiI/cy8TcAs7muISwGZLJ85b5+CQGJ+aV3
8ZhlFvZmcjo4kHhZwSKn5zlBN34eKtDggS2GUGMP/WVLsh+ge/3jiRFsghmvRvW2
tDyF30h1VwJGpGOiizQhF7m0jotJnk3AkkPeInebJ4emnRxJ5JGjOqtmy2ct+ztV
w83iK2xt+T2XMkA2ayaiGSXBqUumW/tVehJwEIOOFxL5cK/tOXq59AM7s0qd7TLy
iqXxujEKp6oFGlPXGZ7iKVt9n8qwfL7LMUlGGqESsZSi9PMHcruW+5L8Q/Br0BFB
+wcORit3Ef17/VHexWVEp8TD65Gq7SbIABkvWV0KEt7cY91q4cGY3/TEjRA0bZPz
qTxRWSvyqwYxeCaCxqdxZTjmJOhRCwZgdKNmX7t0w/9SMNYDF9MkUwo424el/zSj
sp9LPQ2ChLv5AAeVyeC89X6kxODxavzyMnRZoWBUu8oh5X1RjXVhLZHyMQ6c/F0X
9NhxHsj7XiO2tnPakjXlSG82vOi3cfXknsC6O2p2USED69XQodJlnsX9syN5Tbqo
lDnZ1BTS0Eup2w5ovdW4W0azoTpWbRGa7QYnq5CPtBZCCF6FFc8=
=h2PE
-----END PGP SIGNATURE-----
pgpBmPzBsuA40.pgp
Description: PGP signature
--- End Message ---