Package: src:snappy-tools
Version: 1-1
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_auto_build
make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
g++ -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -pthread -O3 -g -Wall
-Wextra -fno-exceptions -fno-rtti -std=c++20 -Wdate-time -D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64
-DTEXTDOMAIN_DIRNAME='"/usr/share/locale"' -Wl,-z,relro -Wl,-z,now snappy.cpp -lsnappy -o
snappy
msgfmt --statistics --check-format --check-domain -o
loc/fr/LC_MESSAGES/snappy-tools.mo fr.po
11 translated messages.
msgfmt --statistics --check-format --check-domain -o
loc/pl/LC_MESSAGES/snappy-tools.mo pl.po
11 translated messages.
snappy.cpp: In function ‘int {anonymous}::uncompress_framed(FILE*, const char*,
bool)’:
snappy.cpp:357:49: warning: suggest braces around empty body in an ‘else’
statement [-Wempty-body]
357 | ;
| ^
snappy.cpp: In function ‘int main(int, char* const*)’:
snappy.cpp:575:51: error: call of overloaded ‘Compress({anonymous}::fd_source*,
{anonymous}::FILE_sink*)’ is ambiguous
575 | written = Compress(&source, &sink);
| ~~~~~~~~^~~~~~~~~~~~~~~~
In file included from snappy.cpp:14:
/usr/include/snappy.h:81:10: note: candidate: ‘size_t snappy::Compress(Source*,
Sink*)’
81 | size_t Compress(Source* reader, Sink* writer);
| ^~~~~~~~
/usr/include/snappy.h:82:10: note: candidate: ‘size_t snappy::Compress(Source*,
Sink*, CompressionOptions)’
82 | size_t Compress(Source* reader, Sink* writer,
| ^~~~~~~~
snappy.cpp:581:51: error: call of overloaded
‘Compress(snappy::ByteArraySource*, {anonymous}::FILE_sink*)’ is ambiguous
581 | written = Compress(&src, &sink);
| ~~~~~~~~^~~~~~~~~~~~~
/usr/include/snappy.h:81:10: note: candidate: ‘size_t snappy::Compress(Source*,
Sink*)’
81 | size_t Compress(Source* reader, Sink* writer);
| ^~~~~~~~
/usr/include/snappy.h:82:10: note: candidate: ‘size_t snappy::Compress(Source*,
Sink*, CompressionOptions)’
82 | size_t Compress(Source* reader, Sink* writer,
| ^~~~~~~~
make[1]: *** [<builtin>: snappy] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned
exit code 2
make: *** [debian/rules:23: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202405/
About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.
If you could not 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 affects, so that this is still visible in the BTS web
page for this package.
Thanks.