[Debian-med-packaging] Bug#1034369: libcereal: autopkgtest regression on non x86: cc1plus: all warnings being treated as errors

Paul Gevers elbrus at debian.org
Thu Apr 13 19:00:27 BST 2023


Source: libcereal
Version: 1.3.2+dfsg-4
Severity: serious
Control: tags -1 bookworm-ignore
User: debian-ci at lists.debian.org
Usertags: regression

Dear maintainer(s),

Your package has an autopkgtest, great. However, it fails on all 
architectures except amd64 and i386 since August 2022. Can you please 
investigate the situation and fix it? I copied some of the output at the 
bottom of this report. (src:gcc-defaults switching to gcc-12 migrated on 
2022-08-10 to testing)

The release team has announced [1] that failing autopkgtest on amd64 and 
arm64 are considered RC in testing. [Release Team member hat on] Because 
we're currently in the hard freeze for bookworm, I have marked this bug 
as bookworm-ignore. Targeted fixes are still welcome.

More information about this bug and the reason for filing it can be 
found on 
https://wiki.debian.org/ContinuousIntegration/RegressionEmailInformation

Paul

[1] https://lists.debian.org/debian-devel-announce/2019/07/msg00002.html

https://ci.debian.net/data/autopkgtest/testing/arm64/libc/libcereal/32116422/log.gz

[ 25%] Building CXX object unittests/CMakeFiles/test_map.dir/map.cpp.o
In file included from 
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.cpp:28:
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.hpp: 
In instantiation of ‘void test_map() [with IArchive = 
cereal::BinaryInputArchive; OArchive = cereal::BinaryOutputArchive]’:
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.cpp:34:68: 
   required from here
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.hpp:65:43: 
error: narrowing conversion of ‘random_value<char>(gen)’ from 
‘std::enable_if<true, char>::type’ {aka ‘char’} to ‘signed char’ 
[-Werror=narrowing]
    65 |       o_esplmap.insert({random_value<char>(gen),  { 
random_value<int>(gen), random_value<int>(gen) }});
       |                         ~~~~~~~~~~~~~~~~~~^~~~~
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.hpp: 
In instantiation of ‘void test_map() [with IArchive = 
cereal::PortableBinaryInputArchive; OArchive = 
cereal::PortableBinaryOutputArchive]’:
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.cpp:39:84: 
   required from here
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.hpp:65:43: 
error: narrowing conversion of ‘random_value<char>(gen)’ from 
‘std::enable_if<true, char>::type’ {aka ‘char’} to ‘signed char’ 
[-Werror=narrowing]
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.hpp: 
In instantiation of ‘void test_map() [with IArchive = 
cereal::XMLInputArchive; OArchive = cereal::XMLOutputArchive]’:
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.cpp:44:62: 
   required from here
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.hpp:65:43: 
error: narrowing conversion of ‘random_value<char>(gen)’ from 
‘std::enable_if<true, char>::type’ {aka ‘char’} to ‘signed char’ 
[-Werror=narrowing]
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.hpp: 
In instantiation of ‘void test_map() [with IArchive = 
cereal::JSONInputArchive; OArchive = cereal::JSONOutputArchive]’:
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.cpp:49:64: 
   required from here
/tmp/autopkgtest-lxc.nn60praz/downtmp/autopkgtest_tmp/unittests/map.hpp:65:43: 
error: narrowing conversion of ‘random_value<char>(gen)’ from 
‘std::enable_if<true, char>::type’ {aka ‘char’} to ‘signed char’ 
[-Werror=narrowing]
cc1plus: all warnings being treated as errors
make[2]: *** [unittests/CMakeFiles/test_map.dir/build.make:76: 
unittests/CMakeFiles/test_map.dir/map.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:556: 
unittests/CMakeFiles/test_map.dir/all] Error 2
make: *** [Makefile:146: all] Error 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 495 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20230413/d102af76/attachment.sig>


More information about the Debian-med-packaging mailing list