#1143650 etlcpp: FTBFS: /<<PKGBUILDDIR>>/test/../include/etl/const_map.h:518:58: error: '<unknown>' may be used uninitialized [-Werror=maybe-uninitialized]

Package:
src:etlcpp
Source:
src:etlcpp
Submitter:
Santiago Vila
Date:
2026-09-07 17:35:13 UTC
Severity:
normal
Tags:
#1143650#5
Date:
2026-08-05 11:23:36 UTC
From:
To:
Dear maintainer:

During a rebuild of all packages in unstable, this package failed to build.

Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:

https://people.debian.org/~sanvila/build-logs/202608/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

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

Thanks.
--------------------------------------------------------------------------------
[...]
[ 26%] Building CXX object test/CMakeFiles/etl_tests.dir/test_const_map.cpp.o
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/x86_64-linux-gnu-g++ -DETL_DEBUG -I/<<PKGBUILDDIR>>/test/../include -isystem /<<PKGBUILDDIR>>/test/UnitTest++/.. -Wno-aggressive-loop-optimizations -Wno-pessimizing-move -std=gnu++17 -fno-omit-frame-pointer -fno-common -pedantic-errors -Wall -Wextra -Werror -Wfloat-equal -Wshadow -Wnull-dereference -Wsign-conversion -Wextra-semi -g -MD -MT test/CMakeFiles/etl_tests.dir/test_const_map.cpp.o -MF CMakeFiles/etl_tests.dir/test_const_map.cpp.o.d -o CMakeFiles/etl_tests.dir/test_const_map.cpp.o -c /<<PKGBUILDDIR>>/test/test_const_map.cpp
cd /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/test && /usr/bin/x86_64-linux-gnu-g++ -DETL_DEBUG -I/<<PKGBUILDDIR>>/test/../include -isystem /<<PKGBUILDDIR>>/test/UnitTest++/.. -Wno-aggressive-loop-optimizations -Wno-pessimizing-move -std=gnu++17 -fno-omit-frame-pointer -fno-common -pedantic-errors -Wall -Wextra -Werror -Wfloat-equal -Wshadow -Wnull-dereference -Wsign-conversion -Wextra-semi -g -MD -MT test/CMakeFiles/etl_tests.dir/test_const_map_constexpr.cpp.o -MF CMakeFiles/etl_tests.dir/test_const_map_constexpr.cpp.o.d -o CMakeFiles/etl_tests.dir/test_const_map_constexpr.cpp.o -c /<<PKGBUILDDIR>>/test/test_const_map_constexpr.cpp
In file included from /<<PKGBUILDDIR>>/test/test_const_map.cpp:39:
/<<PKGBUILDDIR>>/test/../include/etl/const_map.h: In constructor ‘constexpr etl::const_map<TKey, TMapped, Size, TKeyCompare>::const_map(TElements&& ...) [with TElements = {std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>}; TKey = {anonymous}::Key; TMapped = int; long unsigned int Size = 10; TKeyCompare = etl::less<{anonymous}::Key>]’:
/<<PKGBUILDDIR>>/test/../include/etl/const_map.h:518:58: error: ‘<unknown>’ may be used uninitialized [-Werror=maybe-uninitialized]
  518 |       , element_list{etl::forward<TElements>(elements)...}
      |                                                          ^
/<<PKGBUILDDIR>>/test/../include/etl/const_map.h:453:30: note: by argument 2 of type ‘const etl::iconst_map<{anonymous}::Key, int, etl::less<{anonymous}::Key> >::value_type*’ {aka ‘const std::pair<const {anonymous}::Key, int>*’} to ‘constexpr etl::iconst_map<TKey, TMapped, TKeyCompare>::iconst_map(const value_type*, size_type, size_type) [with TElements = {}; TKey = {anonymous}::Key; TMapped = int; TKeyCompare = etl::less<{anonymous}::Key>]’ declared here
  453 |     ETL_CONSTEXPR14 explicit iconst_map(const value_type* element_list_, size_type size_, size_type max_elements_) ETL_NOEXCEPT
      |                              ^~~~~~~~~~
In file included from /<<PKGBUILDDIR>>/test/test_const_map_constexpr.cpp:39:
/<<PKGBUILDDIR>>/test/../include/etl/const_map.h: In constructor ‘constexpr etl::const_map<TKey, TMapped, Size, TKeyCompare>::const_map(TElements&& ...) [with TElements = {std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>, std::pair<const {anonymous}::Key, int>}; TKey = {anonymous}::Key; TMapped = int; long unsigned int Size = 10; TKeyCompare = etl::less<{anonymous}::Key>]’:
/<<PKGBUILDDIR>>/test/../include/etl/const_map.h:518:58: error: ‘<unknown>’ may be used uninitialized [-Werror=maybe-uninitialized]
  518 |       , element_list{etl::forward<TElements>(elements)...}
      |                                                          ^
/<<PKGBUILDDIR>>/test/../include/etl/const_map.h:453:30: note: by argument 2 of type ‘const etl::iconst_map<{anonymous}::Key, int, etl::less<{anonymous}::Key> >::value_type*’ {aka ‘const std::pair<const {anonymous}::Key, int>*’} to ‘constexpr etl::iconst_map<TKey, TMapped, TKeyCompare>::iconst_map(const value_type*, size_type, size_type) [with TElements = {}; TKey = {anonymous}::Key; TMapped = int; TKeyCompare = etl::less<{anonymous}::Key>]’ declared here
  453 |     ETL_CONSTEXPR14 explicit iconst_map(const value_type* element_list_, size_type size_, size_type max_elements_) ETL_NOEXCEPT
      |                              ^~~~~~~~~~
cc1plus: all warnings being treated as errors
make[4]: *** [test/CMakeFiles/etl_tests.dir/build.make:1188: test/CMakeFiles/etl_tests.dir/test_const_map.cpp.o] Error 1
make[4]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make[4]: *** [test/CMakeFiles/etl_tests.dir/build.make:1202: test/CMakeFiles/etl_tests.dir/test_const_map_constexpr.cpp.o] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[3]: *** [CMakeFiles/Makefile2:132: test/CMakeFiles/etl_tests.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
make[2]: *** [Makefile:149: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu'
dh_auto_build: error: cd obj-x86_64-linux-gnu && make -j2 INSTALL="install --strip-program=true" VERBOSE=1 returned exit code 2
make[1]: *** [debian/rules:14: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------

#1143650#12
Date:
2026-09-07 17:34:07 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
etlcpp, 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 1143650@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dima Kogan <dkogan@debian.org> (supplier of updated etlcpp 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Mon, 07 Sep 2026 10:12:23 -0700
Source: etlcpp
Architecture: source
Version: 20.48.1+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Dima Kogan <dkogan@debian.org>
Changed-By: Dima Kogan <dkogan@debian.org>
Closes: 1143650
Changes:
 etlcpp (20.48.1+dfsg-2) unstable; urgency=medium
 .
   * Fixed FTBFS (Closes: #1143650)
Checksums-Sha1:
 ee93d399ea9c34a5ac9a98fd8c03a944338f9b8e 2213 etlcpp_20.48.1+dfsg-2.dsc
 bf172bee6a2f3643928c4582331737e62c37d926 6728 etlcpp_20.48.1+dfsg-2.debian.tar.xz
 b9691688d68445bffee6c88ffbbecd02a00d8299 5516788 etlcpp_20.48.1+dfsg-2.git.tar.xz
 4d5231f2553ecbd5c806efe3932c3ed8303cbcd1 17692 etlcpp_20.48.1+dfsg-2_source.buildinfo
Checksums-Sha256:
 1b5dbf0dd83328facb0ff02cbb1b15c9ee14b491bf068f88f89580e64cb4d57e 2213 etlcpp_20.48.1+dfsg-2.dsc
 d17c192dac5c3e99ca8bb2f998c3b6d7187ba3215b5d63be0b89d38ea10d664d 6728 etlcpp_20.48.1+dfsg-2.debian.tar.xz
 4dfd799e1489aec1194a9f3fcf7c8255ad4aa36a200ca134959358e111873fa2 5516788 etlcpp_20.48.1+dfsg-2.git.tar.xz
 926ceefe60bd4dc8d5830ccf3c0c2427040db680c2561f247dcd51d66fe1bd73 17692 etlcpp_20.48.1+dfsg-2_source.buildinfo
Files:
 1835492d899c884426b9c632db3823af 2213 devel optional etlcpp_20.48.1+dfsg-2.dsc
 299e8c5165c1a2bac1fb329da5e52210 6728 devel optional etlcpp_20.48.1+dfsg-2.debian.tar.xz
 bf8463099cd105df35ebc41ec4d1471d 5516788 devel optional etlcpp_20.48.1+dfsg-2.git.tar.xz
 89170f69df054bf761827a0ee95cd83b 17692 devel optional etlcpp_20.48.1+dfsg-2_source.buildinfo
Git-Tag-Info: tag=62289bc0fe54f8da04f2e11b594277b077532c7e fp=b5e2fa190fdf9afe218889cfacc7c2cf30941188
Git-Tag-Tagger: Dima Kogan <dkogan@debian.org>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmqe8gkACgkQYG0ITkaD
wHl5wg/+KFwyLernCcU1DyS0P/dRBItrDVDsPPXVZ9dh63Xn5dVtjbbFy8igEMnI
OtyHMcz9D1weXBrxWuLagOKnhohJq0z0yFN3rofagk+n+V/66A92Ephag7vu2UtZ
SGHCbUxQKm5OWJeX4ul8lBEHk2IwLJmEzrpKdFIQ8UYhCj1/HgplpcvjHrk5jcGW
uXPb+JjuEIWDdlXMtepV1XmBfMW3kcOCa2HCw/fcC9tTW1+/SIEpxm/vF9Gy59NV
9BFPtvG799Yq6jusbboiHDSfWnt0g/Yq3ZnSXiHR1l6kSR5uJCU0ye/wwG9x29gk
6HemJ+iw74GdcQyR+NvA/HsUT+A1A4JUBkdE3oWvpdZGysg2nWNLR1YkM35bSkag
rQ1QPZNQaOkAhduoEvzL0nNF4HY1HEEEA7PylMkFERo6vluaKcO8a+YJ8d12N47p
d7j7qRhX/JIuZrfW5W9GWa5HJc7WVKvUHC57wd2OKDXCBjnedQnT0HTYPFr2fKB3
xOjlswizrc97ehWLhibMhTDJR1RcKhrvTbkNGZERALSZUbshsWM3nMTm1lrFPtXl
AHDn2qvOYRTw0Pf0lXglWh49EHbnqAjnfIKsDtN1+olOST+7tdLwm3WJCulk3XE1
Cmcf7CF6IdFkzSrLXST1e2uBoU6TdFtbE38m+l8JasGJ9ZQFYxo=
=znG5
-----END PGP SIGNATURE-----