--- Begin Message ---
Package: src:faiss
Version: 1.7.3-2
Severity: normal
Tags: sid trixie
User: debian-gcc@lists.debian.org
Usertags: ftbfs-gcc-13
[This bug is targeted to the upcoming trixie release]
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-13/g++-13, but succeeds to build with gcc-12/g++-12. The
severity of this report will be raised before the trixie release.
The full build log can be found at:
http://qa-logs.debian.net/2023/05/22/logs/faiss_1.7.3-2_unstable_gccexp.log
The last lines of the build log are at the end of this report.
To build with GCC 13, either set CC=gcc-13 CXX=g++-13 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-13/porting_to.html
[...]
| ^~~~~~~
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:309:11: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:327:11: error: ‘uint8_t’ does not name a type
327 | const uint8_t* get_codes(size_t list_no) const override;
| ^~~~~~~
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:327:11: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:330:46: error: ‘uint8_t’ does not name a type
330 | void release_codes(size_t list_no, const uint8_t* codes) const override;
| ^~~~~~~
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:330:46: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:335:11: error: ‘uint8_t’ does not name a type
335 | const uint8_t* get_single_code(size_t list_no, size_t offset)
| ^~~~~~~
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:335:11: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:350:11: error: ‘uint8_t’ does not name a type
350 | const uint8_t* get_codes(size_t list_no) const override;
| ^~~~~~~
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:350:11: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:353:46: error: ‘uint8_t’ does not name a type
353 | void release_codes(size_t list_no, const uint8_t* codes) const override;
| ^~~~~~~
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:353:46: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:358:11: error: ‘uint8_t’ does not name a type
358 | const uint8_t* get_single_code(size_t list_no, size_t offset)
| ^~~~~~~
/<<PKGBUILDDIR>>/faiss/python/../../faiss/invlists/InvertedLists.h:358:11: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
/<<PKGBUILDDIR>>/faiss/Clustering.cpp: In member function ‘virtual void faiss::Clustering::train(idx_t, const float*, faiss::Index&, const float*)’:
/<<PKGBUILDDIR>>/faiss/Clustering.cpp:83:13: error: cannot convert ‘const uint8_t*’ {aka ‘const unsigned char*’} to ‘const int*’
83 | reinterpret_cast<const uint8_t*>(x_in),
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| const uint8_t* {aka const unsigned char*}
/<<PKGBUILDDIR>>/faiss/Clustering.h:102:28: note: initializing argument 2 of ‘void faiss::Clustering::train_encoded(idx_t, const int*, const faiss::Index*, faiss::Index&, const float*)’
102 | const uint8_t* x_in,
| ~~~~~~~~~~~~~~~^~~~
/<<PKGBUILDDIR>>/faiss/Clustering.cpp: In function ‘void faiss::{anonymous}::compute_centroids(size_t, size_t, size_t, size_t, const uint8_t*, const faiss::Index*, const int64_t*, const float*, float*, float*)’:
/<<PKGBUILDDIR>>/faiss/Clustering.cpp:178:43: error: cannot convert ‘const uint8_t*’ {aka ‘const unsigned char*’} to ‘const int*’
178 | codec->sa_decode(1, x + i * line_size, xif);
| ~~^~~~~~~~~~~~~~~
| |
| const uint8_t* {aka const unsigned char*}
/<<PKGBUILDDIR>>/faiss/Index.h:269:52: note: initializing argument 2 of ‘virtual void faiss::Index::sa_decode(idx_t, const int*, float*) const’
269 | virtual void sa_decode(idx_t n, const uint8_t* bytes, float* x) const;
| ~~~~~~~~~~~~~~~^~~~~
/<<PKGBUILDDIR>>/faiss/Clustering.cpp: At global scope:
/<<PKGBUILDDIR>>/faiss/Clustering.cpp:271:6: error: no declaration matches ‘void faiss::Clustering::train_encoded(idx_t, const uint8_t*, const faiss::Index*, faiss::Index&, const float*)’
271 | void Clustering::train_encoded(
| ^~~~~~~~~~
/<<PKGBUILDDIR>>/faiss/Clustering.h:100:10: note: candidate is: ‘void faiss::Clustering::train_encoded(idx_t, const int*, const faiss::Index*, faiss::Index&, const float*)’
100 | void train_encoded(
| ^~~~~~~~~~~~~
/<<PKGBUILDDIR>>/faiss/Clustering.h:63:8: note: ‘struct faiss::Clustering’ defined here
63 | struct Clustering : ClusteringParameters {
| ^~~~~~~~~~
make[3]: *** [faiss/CMakeFiles/faiss.dir/build.make:135: faiss/CMakeFiles/faiss.dir/Index2Layer.cpp.o] Error 1
make[3]: *** [faiss/CMakeFiles/faiss.dir/build.make:93: faiss/CMakeFiles/faiss.dir/Clustering.cpp.o] Error 1
make[3]: *** [faiss/python/CMakeFiles/faiss_python_callbacks.dir/build.make:79: faiss/python/CMakeFiles/faiss_python_callbacks.dir/python_callbacks.cpp.o] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:1142: faiss/python/CMakeFiles/faiss_python_callbacks.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[2]: *** [CMakeFiles/Makefile2:982: faiss/CMakeFiles/faiss.dir/all] Error 2
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build'
[ 7%] Built target swigfaiss_swig_compilation
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build'
make[1]: *** [Makefile:149: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j8 "INSTALL=install --strip-program=true" VERBOSE=1 returned exit code 2
make: *** [debian/rules:7: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--- End Message ---
--- Begin Message ---
Source: faiss
Source-Version: 1.7.4-1
Done: Timo Röhling <roehling@debian.org>
We believe that the bug you reported is fixed in the latest version of
faiss, 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 1037643@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Timo Röhling <roehling@debian.org> (supplier of updated faiss 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)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Thu, 22 Jun 2023 22:13:41 +0200
Source: faiss
Architecture: source
Version: 1.7.4-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Deep Learning Team <debian-ai@lists.debian.org>
Changed-By: Timo Röhling <roehling@debian.org>
Closes: 1037643
Changes:
faiss (1.7.4-1) unstable; urgency=medium
.
* Team upload.
.
[ Debian Janitor ]
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository-Browse.
.
[ Timo Röhling ]
* Make package cross-buildable
* Fix build with gcc-13 (Closes: #1037643)
* New upstream version 1.7.4
* Refresh patches
* Bump Standards-Version to 4.6.2
Checksums-Sha1:
5a73dca9f57ee27f6240bf4824c08f514a555317 2064 faiss_1.7.4-1.dsc
747d7f6cfd2379b80a4aceee0d7662b0dea9eac0 909408 faiss_1.7.4.orig.tar.gz
385af76b5968dc22cfb833d4d3d174ca984f3e8f 6960 faiss_1.7.4-1.debian.tar.xz
96fd07736ae9428cbfb1366d51021156704b29f7 8225 faiss_1.7.4-1_amd64.buildinfo
Checksums-Sha256:
5366305cd78be75c6722fc10c7e9c57ca6d2f27053529d022f88c0b7b642b036 2064 faiss_1.7.4-1.dsc
d9a7b31bf7fd6eb32c10b7ea7ff918160eed5be04fe63bb7b4b4b5f2bbde01ad 909408 faiss_1.7.4.orig.tar.gz
a7c90e1d600a1665849a22c59bfcd14a77103cbcaa3aedd4523b1152ac892613 6960 faiss_1.7.4-1.debian.tar.xz
7499660845f0259d7a5c61b89e83573260ebf57e77e37ac21cb4164660b7628c 8225 faiss_1.7.4-1_amd64.buildinfo
Files:
0ec2bbdb4e1a0ed84886b803f5730498 2064 science optional faiss_1.7.4-1.dsc
e1f96b228ec6a0819bc65efb9d196ec6 909408 science optional faiss_1.7.4.orig.tar.gz
121617854a4c24c58b5ebf35ea76c91c 6960 science optional faiss_1.7.4-1.debian.tar.xz
11bd5a50627c90363a7cd89f268992f7 8225 science optional faiss_1.7.4-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHIBAEBCgAyFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmSUsEYUHHJvZWhsaW5n
QGRlYmlhbi5vcmcACgkQ+C8H+466LVmAqwwA44vVzU8kqn/+uLOri/zDPfCE5abk
EDFPwU0xeGYU1ER300uLzsq0VKppxS4tptkcNjErWrNtJWol+yV2ieG2zWLJnkNs
+gq8evJfN8EhACKQlmLqBt7Ej8iug/SYzvHcI71uAa6VS/YTF5vPAaqGiCICVi8W
Oqtpz8ZMInGkyEqQH/Ledi1RjjOZ2dpk31wMczKjpZStf0i2A1ZMZbDcT9HoBfup
7FXj5ld8v3cuZJNjNg+AONb8wCDOKJJfv9BqzJtxbQZPIX68ntDyTxQZxTiAZILx
hT79no/97krtjJmCqZhzc3PpEdnPsZytd96q0Oic7EGLW1jWi8WcwM+Sf1jnbJt0
vEMWcu8SvLhztuGDFPzHoyfuMefQOPIxefQxdLL4syHvU6EPPNY76+oXUjh6ewqx
95rYkmL5v4mDMgw6tILBdzNdwGQIp4qn/6W7QjJoaE4CsvIW3wLQZT3EQ9vF6vAX
u1YxoT0eBM5KEDePX3nZelJy1VJJ2RB9pzMf
=TiQ/
-----END PGP SIGNATURE-----
--- End Message ---