Your message dated Sat, 12 Apr 2025 15:39:07 +0000
with message-id <[email protected]>
and subject line Bug#1102676: fixed in reflect-cpp 0.18.0+ds-2
has caused the Debian Bug report #1102676,
regarding reflect-cpp: FTBFS on armel, armhf, i386: error: ‘void*
__builtin_memcpy(void*, const void*, unsigned int)’ forming offset [24, 42] is
out of the bounds [0, 24] of object ‘<anonymous>’ with type
‘std::__cxx11::basic_string<char>’ [-Werror=array-bounds=]
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.)
--
1102676: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102676
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: reflect-cpp
Version: 0.18.0+ds-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
X-Debbugs-Cc: [email protected]
Dear maintainer,
reflect-cpp fails to build on armel, armhf, and i386:
https://buildd.debian.org/status/fetch.php?pkg=reflect-cpp&arch=i386&ver=0.18.0%2Bds-1&stamp=1744354989&raw=0
[69/544] /usr/bin/c++ -I/build/reproducible-path/reflect-cpp-0.18.0+ds/include
-I/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/thirdparty
-I/build/reproducible-path/reflect-cpp-0.18.0+ds/obj-i686-linux-gnu/include
-isystem //include -isystem /usr/include/libbson-1.0 -g -O2
-ffile-prefix-map=/build/reproducible-path/reflect-cpp-0.18.0+ds=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -O3 -Wall -Werror -ggdb -ftemplate-backtrace-limit=0
-std=gnu++20 -DGTEST_HAS_PTHREAD=1 -Winvalid-pch -include
/build/reproducible-path/reflect-cpp-0.18.0+ds/obj-i686-linux-gnu/tests/json/CMakeFiles/reflect-cpp-json-tests.dir/cmake_pch.hxx
-MD -MT tests/json/CMakeFiles/reflect-cpp-json-tests.dir/test_array.cpp.o -MF
tests/json/CMakeFiles/reflect-cpp-json-tests.dir/test_array.cpp.o.d -o
tests/json/CMakeFiles/reflect-cpp-json-tests.dir/test_array.cpp.o -c
/build/reproducible-path/reflect-cpp-0.18.0+ds/tests/json/test_array.cpp
FAILED: tests/json/CMakeFiles/reflect-cpp-json-tests.dir/test_array.cpp.o
/usr/bin/c++ -I/build/reproducible-path/reflect-cpp-0.18.0+ds/include
-I/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/thirdparty
-I/build/reproducible-path/reflect-cpp-0.18.0+ds/obj-i686-linux-gnu/include
-isystem //include -isystem /usr/include/libbson-1.0 -g -O2
-ffile-prefix-map=/build/reproducible-path/reflect-cpp-0.18.0+ds=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -O3 -Wall -Werror -ggdb -ftemplate-backtrace-limit=0
-std=gnu++20 -DGTEST_HAS_PTHREAD=1 -Winvalid-pch -include
/build/reproducible-path/reflect-cpp-0.18.0+ds/obj-i686-linux-gnu/tests/json/CMakeFiles/reflect-cpp-json-tests.dir/cmake_pch.hxx
-MD -MT tests/json/CMakeFiles/reflect-cpp-json-tests.dir/test_array.cpp.o -MF
tests/json/CMakeFiles/reflect-cpp-json-tests.dir/test_array.cpp.o.d -o
tests/json/CMakeFiles/reflect-cpp-json-tests.dir/test_array.cpp.o -c
/build/reproducible-path/reflect-cpp-0.18.0+ds/tests/json/test_array.cpp
In file included from /usr/include/c++/14/string_view:48,
from
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/Field.hpp:5,
from
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/AddStructName.hpp:6,
from
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl.hpp:10,
from
/build/reproducible-path/reflect-cpp-0.18.0+ds/obj-i686-linux-gnu/tests/json/CMakeFiles/reflect-cpp-json-tests.dir/cmake_pch.hxx:5,
from <command-line>:
In static member function ‘static constexpr std::char_traits<char>::char_type*
std::char_traits<char>::copy(char_type*, const char_type*, std::size_t)’,
inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
[with _CharT = char; _Traits = std::char_traits<char>; _Alloc =
std::allocator<char>]’ at /usr/include/c++/14/bits/basic_string.h:688:23,
inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits,
_Allocator> std::operator+(__cxx11::basic_string<_CharT, _Traits,
_Allocator>&&, const _CharT*) [with _CharT = char; _Traits = char_traits<char>;
_Alloc = allocator<char>]’ at /usr/include/c++/14/bits/basic_string.h:3735:43,
inlined from ‘std::optional<rfl::Error> rfl::parsing::ArrayReader<R, W,
ProcessorsType, T, _size>::read(const InputVarType&) const [with R =
rfl::json::Reader; W = rfl::json::Writer; ProcessorsType = rfl::Processors<>; T
= test_array::Person; unsigned int _size = 3]’ at
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/parsing/ArrayReader.hpp:40:56:
/usr/include/c++/14/bits/char_traits.h:427:56: error: ‘void*
__builtin_memcpy(void*, const void*, unsigned int)’ forming offset [24, 42] is
out of the bounds [0, 24] of object ‘<anonymous>’ with type
‘std::__cxx11::basic_string<char>’ [-Werror=array-bounds=]
427 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2,
__n));
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/parsing/Parser_array.hpp:14,
from
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/parsing/Parser.hpp:4,
from
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/generic/Parser.hpp:4,
from
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/generic/read.hpp:10,
from
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/from_generic.hpp:5,
from
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl.hpp:61:
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/parsing/ArrayReader.hpp:
In member function ‘std::optional<rfl::Error> rfl::parsing::ArrayReader<R, W,
ProcessorsType, T, _size>::read(const InputVarType&) const [with R =
rfl::json::Reader; W = rfl::json::Writer; ProcessorsType = rfl::Processors<>; T
= test_array::Person; unsigned int _size = 3]’:
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/parsing/ArrayReader.hpp:40:56:
note: ‘<anonymous>’ declared here
40 | return Error("Expected " + std::to_string(size_) +
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
41 | " elements, got at least " + std::to_string(size_ +
1) +
| ~~~~~~~~~~~~~~~~~~~~~~~~~~
In static member function ‘static constexpr std::char_traits<char>::char_type*
std::char_traits<char>::copy(char_type*, const char_type*, std::size_t)’,
inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits,
_Alloc>::basic_string(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&)
[with _CharT = char; _Traits = std::char_traits<char>; _Alloc =
std::allocator<char>]’ at /usr/include/c++/14/bits/basic_string.h:688:23,
inlined from ‘constexpr std::__cxx11::basic_string<_CharT, _Traits,
_Allocator> std::operator+(__cxx11::basic_string<_CharT, _Traits,
_Allocator>&&, const _CharT*) [with _CharT = char; _Traits = char_traits<char>;
_Alloc = allocator<char>]’ at /usr/include/c++/14/bits/basic_string.h:3735:43,
inlined from ‘std::optional<rfl::Error> rfl::parsing::ArrayReader<R, W,
ProcessorsType, T, _size>::check_size() const [with R = rfl::json::Reader; W =
rfl::json::Writer; ProcessorsType = rfl::Processors<>; T = test_array::Person;
unsigned int _size = 3]’ at
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/parsing/ArrayReader.hpp:30:56,
inlined from ‘rfl::parsing::Parser<rfl::json::Reader, rfl::json::Writer,
std::array<test_array::Person, 3>, rfl::Processors<> >::read(const
rfl::json::Reader&, const InputVarType&)::<lambda(const
rfl::parsing::Parser<rfl::json::Reader, rfl::json::Writer,
std::array<test_array::Person, 3>, rfl::Processors<> >::InputArrayType&)>’ at
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/parsing/Parser_array.hpp:45:36:
/usr/include/c++/14/bits/char_traits.h:427:56: error: ‘void*
__builtin_memcpy(void*, const void*, unsigned int)’ forming offset [24, 33] is
out of the bounds [0, 24] of object ‘<anonymous>’ with type
‘std::__cxx11::basic_string<char>’ [-Werror=array-bounds=]
427 | return static_cast<char_type*>(__builtin_memcpy(__s1, __s2,
__n));
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/parsing/ArrayReader.hpp:
In function ‘rfl::parsing::Parser<rfl::json::Reader, rfl::json::Writer,
std::array<test_array::Person, 3>, rfl::Processors<> >::read(const
rfl::json::Reader&, const InputVarType&)::<lambda(const
rfl::parsing::Parser<rfl::json::Reader, rfl::json::Writer,
std::array<test_array::Person, 3>, rfl::Processors<> >::InputArrayType&)>’:
/build/reproducible-path/reflect-cpp-0.18.0+ds/include/rfl/parsing/ArrayReader.hpp:30:56:
note: ‘<anonymous>’ declared here
30 | return Error("Expected " + std::to_string(size_) + " elements,
got " +
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
Cheers
--
Sebastian Ramacher
--- End Message ---
--- Begin Message ---
Source: reflect-cpp
Source-Version: 0.18.0+ds-2
Done: Shengqi Chen <[email protected]>
We believe that the bug you reported is fixed in the latest version of
reflect-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.
Shengqi Chen <[email protected]> (supplier of updated reflect-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: Sat, 12 Apr 2025 21:45:02 +0800
Source: reflect-cpp
Architecture: source
Version: 0.18.0+ds-2
Distribution: unstable
Urgency: medium
Maintainer: Shengqi Chen <[email protected]>
Changed-By: Shengqi Chen <[email protected]>
Closes: 1102676
Changes:
reflect-cpp (0.18.0+ds-2) unstable; urgency=medium
.
* d/rules: pass -Wno-error=array-bounds to fix FTBFS (closes: #1102676).
Checksums-Sha1:
c15006a35b92ff65afdf930789cd09ab83b369cf 2310 reflect-cpp_0.18.0+ds-2.dsc
1cc2c854e8f4e3d68b331f1a2b497ed6c6ed26de 4824
reflect-cpp_0.18.0+ds-2.debian.tar.xz
8baa74eef471c980cee7a8d04102be8d2de1282c 8179
reflect-cpp_0.18.0+ds-2_amd64.buildinfo
Checksums-Sha256:
04f88a454e9c84299db9ec6de821da9577733e5cbcc5bfef76b1a8d469af7e35 2310
reflect-cpp_0.18.0+ds-2.dsc
26c7c1121bf580ca4c9c04e19e36ba838a33d1d8173bd7bcbeb7d0943c584c29 4824
reflect-cpp_0.18.0+ds-2.debian.tar.xz
8b4681201be8d5cd17499225412a146987919740d236bef385894ff1d4d6da9a 8179
reflect-cpp_0.18.0+ds-2_amd64.buildinfo
Files:
0db9e91bbe22b1a09f929a51b9800bef 2310 utils optional
reflect-cpp_0.18.0+ds-2.dsc
3f748e2fd5c8af978185d61372a3fb79 4824 utils optional
reflect-cpp_0.18.0+ds-2.debian.tar.xz
fb3a70989f9bf14ebf04858771876b63 8179 utils optional
reflect-cpp_0.18.0+ds-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEE+Fg++qmpHzqjSzySzhGnsHs6uUYFAmf6cm0ACgkQzhGnsHs6
uUbCYQ/7BqXBTGU+z8DUFhxxpiyJoxkM9rEZ+aSW+FzCGpay2la8mqrIJWFGPjxc
lFoT2PQ7vQHgzpV173r3hXGCfAwBrEyDWvd8W6N7Zf9CzLyBxZJZ6ZOA2b+Ek2TK
d3N4lGTegcLVXUaa/1s3joHeXzcXMjI9WDWZ/xyfXDsCOXciTGhSFh4y6gENr/28
hCdA2lg6qOkc6A0bsQVXWi7dW7l0wqSa35LwKbYblO1meVqR1yHBSNrEhXbIWLTr
/dF4VxcNMuaVDNGB4G20/zQ9ZAMh+QSd/erTHAn5Oe9v5TytA12bMWIzOwvQPNFZ
iCFj37ZQ0j/ZRJqImHbYWuKlABfkGt5e10zTcyR/dc1QIRMacHJThYMLIXpauMqA
vExLYJKloIU384ZObo2jI51sLPYEvUH1ASALXfSfLd3SwStJVuMo0CWZI5MI1aJC
KtBZhrOM6MYiZ6+3lGfeRVd5a7p5Fq2noIaBBxkZWxmncnPdOCs9K10scH4wEbQn
xWb9IptdV8ZzA5TFh7KU5wUSHbg1jeNBJFJSh1msT3WebDO0PUDmBc6Y0kBE8WFg
90J2hO+NoSWdPRXD8Qbt+jVA1qbIeoIAqBxSaPFyrYEviJujhoqdUNKUiLiBzXEK
P6g+CnsYCVUJ2ep6C6F/VExWrVmzz2N7Ucc/6nXDB0gUMzpPTzE=
=Z84y
-----END PGP SIGNATURE-----
pgp7CF8lnkr73.pgp
Description: PGP signature
--- End Message ---