Debian Bug report logs - #1096359
bbhash: ftbfs with GCC-15

version graph

Package: src:bbhash; Maintainer for src:bbhash is Debian Med Packaging Team <[email protected]>;

Reported by: Matthias Klose <[email protected]>

Date: Mon, 17 Feb 2025 17:06:36 UTC

Severity: important

Tags: forky, sid

Found in version bbhash/1.0.0-6

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to Debian Med Packaging Team <[email protected]>:
Bug#1096359; Package src:bbhash. (Mon, 17 Feb 2025 17:06:37 GMT) (full text, mbox, link).


Acknowledgement sent to Matthias Klose <[email protected]>:
New Bug report received and forwarded. Copy sent to Debian Med Packaging Team <[email protected]>. (Mon, 17 Feb 2025 17:06:37 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: Matthias Klose <[email protected]>
To: [email protected]
Subject: bbhash: ftbfs with GCC-15
Date: Mon, 17 Feb 2025 17:04:44 +0000
Package: src:bbhash
Version: 1.0.0-6
Severity: important
Tags: sid forky
User: [email protected]
Usertags: ftbfs-gcc-15

[This bug is NOT 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-15/g++-15, but succeeds to build with gcc-14/g++-14. The
severity of this report will be raised before the forky release.

The full build log can be found at:
http://qa-logs.debian.net/2025/02/16/amd64exp/bbhash_1.0.0-6_unstable_gccexp.log.gz
The last lines of the build log are at the end of this report.

To build with GCC 15, either set CC=gcc-15 CXX=g++-15 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

GCC 15 now defaults to the C23/C++23 standards, exposing many FTBFS.
Other 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-15/porting_to.html

[...]
      |                                                                                                                                                     ^
BooPHF.h:1071:57: error: ‘getLevel’ was not declared in this scope
 1071 |                                                 getLevel(bbhash,val,&level, i,i-1);
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
BooPHF.h:1073:57: error: ‘getLevel’ was not declared in this scope
 1073 |                                                 getLevel(bbhash,val,&level, i);
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
BooPHF.h: In instantiation of ‘void boomphf::mphf<elem_t, Hasher_t>::pthread_processLevel(std::vector<elem_t>&, std::shared_ptr<_Yp>, std::shared_ptr<_Yp>, int) [with Iterator = const long unsigned int*; elem_t = long unsigned int; Hasher_t = boomphf::SingleHashFunctor<long unsigned int>]’:
BooPHF.h:1561:28:   required from ‘void* boomphf::thread_processLevel(void*) [with elem_t = long unsigned int; Hasher_t = SingleHashFunctor<long unsigned int>; Range = iter_range<const long unsigned int*>; it_type = const long unsigned int*]’
 1561 |                 obw->pthread_processLevel(buffer, startit, until_p, level);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BooPHF.h:1463:22:   required from ‘void boomphf::mphf<elem_t, Hasher_t>::processLevel(const Range&, int) [with Range = boomphf::iter_range<const long unsigned int*>; elem_t = long unsigned int; Hasher_t = boomphf::SingleHashFunctor<long unsigned int>]’
 1463 |                                                 pthread_create (&tab_threads[ii], NULL,  thread_processLevel<elem_t, Hasher_t, Range, decltype(input_range.begin())>, &t_arg); //&t_arg[ii]
      |                                                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BooPHF.h:944:17:   required from ‘boomphf::mphf<elem_t, Hasher_t>::mphf(size_t, const Range&, int, double, bool, bool, float) [with Range = boomphf::iter_range<const long unsigned int*>; elem_t = long unsigned int; Hasher_t = boomphf::SingleHashFunctor<long unsigned int>; size_t = long unsigned int]’
  944 |                                 processLevel(input_range,ii);
      |                                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
bootest.cpp:322:135:   required from here
  322 |                 MPHFs[bucketNum*nMphfByBucket+ii]=  boomphf::mphf<u_int64_t,hasher_t>(datas[ii].size(),data_iterator2,1,gammaFactor,write_each,false);
      |                                                                                                                                                     ^
BooPHF.h:1071:57: error: ‘getLevel’ was not declared in this scope
 1071 |                                                 getLevel(bbhash,val,&level, i,i-1);
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [makefile:25: example_custom_hash] Error 1
BooPHF.h:1073:57: error: ‘getLevel’ was not declared in this scope
 1073 |                                                 getLevel(bbhash,val,&level, i);
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
BooPHF.h: In instantiation of ‘void boomphf::mphf<elem_t, Hasher_t>::pthread_processLevel(std::vector<elem_t>&, std::shared_ptr<_Yp>, std::shared_ptr<_Yp>, int) [with Iterator = uint64_iterator; elem_t = long unsigned int; Hasher_t = boomphf::SingleHashFunctor<long unsigned int>]’:
BooPHF.h:1561:28:   required from ‘void* boomphf::thread_processLevel(void*) [with elem_t = long unsigned int; Hasher_t = SingleHashFunctor<long unsigned int>; Range = uint64_range; it_type = uint64_iterator]’
 1561 |                 obw->pthread_processLevel(buffer, startit, until_p, level);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BooPHF.h:1463:22:   required from ‘void boomphf::mphf<elem_t, Hasher_t>::processLevel(const Range&, int) [with Range = uint64_range; elem_t = long unsigned int; Hasher_t = boomphf::SingleHashFunctor<long unsigned int>]’
 1463 |                                                 pthread_create (&tab_threads[ii], NULL,  thread_processLevel<elem_t, Hasher_t, Range, decltype(input_range.begin())>, &t_arg); //&t_arg[ii]
      |                                                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BooPHF.h:944:17:   required from ‘boomphf::mphf<elem_t, Hasher_t>::mphf(size_t, const Range&, int, double, bool, bool, float) [with Range = uint64_range; elem_t = long unsigned int; Hasher_t = boomphf::SingleHashFunctor<long unsigned int>; size_t = long unsigned int]’
  944 |                                 processLevel(input_range,ii);
      |                                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
bootest.cpp:763:100:   required from here
  763 |                         bphf = new boomphf::mphf<u_int64_t,hasher_t>(nelem,data_iterator,nthreads,gammaFactor,write_each);
      |                                                                                                                         ^
BooPHF.h:1071:57: error: ‘getLevel’ was not declared in this scope
 1071 |                                                 getLevel(bbhash,val,&level, i,i-1);
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
BooPHF.h:1073:57: error: ‘getLevel’ was not declared in this scope
 1073 |                                                 getLevel(bbhash,val,&level, i);
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
BooPHF.h: In instantiation of ‘void boomphf::mphf<elem_t, Hasher_t>::pthread_processLevel(std::vector<elem_t>&, std::shared_ptr<_Yp>, std::shared_ptr<_Yp>, int) [with Iterator = bfile_iterator; elem_t = long unsigned int; Hasher_t = boomphf::SingleHashFunctor<long unsigned int>]’:
BooPHF.h:1561:28:   required from ‘void* boomphf::thread_processLevel(void*) [with elem_t = long unsigned int; Hasher_t = SingleHashFunctor<long unsigned int>; Range = file_binary; it_type = bfile_iterator]’
 1561 |                 obw->pthread_processLevel(buffer, startit, until_p, level);
      |                 ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BooPHF.h:1463:22:   required from ‘void boomphf::mphf<elem_t, Hasher_t>::processLevel(const Range&, int) [with Range = file_binary; elem_t = long unsigned int; Hasher_t = boomphf::SingleHashFunctor<long unsigned int>]’
 1463 |                                                 pthread_create (&tab_threads[ii], NULL,  thread_processLevel<elem_t, Hasher_t, Range, decltype(input_range.begin())>, &t_arg); //&t_arg[ii]
      |                                                 ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
BooPHF.h:944:17:   required from ‘boomphf::mphf<elem_t, Hasher_t>::mphf(size_t, const Range&, int, double, bool, bool, float) [with Range = file_binary; elem_t = long unsigned int; Hasher_t = boomphf::SingleHashFunctor<long unsigned int>; size_t = long unsigned int]’
  944 |                                 processLevel(input_range,ii);
      |                                 ~~~~~~~~~~~~^~~~~~~~~~~~~~~~
bootest.cpp:768:100:   required from here
  768 |                         bphf = new boomphf::mphf<u_int64_t,hasher_t>(nelem,data_iterator,nthreads,gammaFactor,write_each);
      |                                                                                                                         ^
BooPHF.h:1071:57: error: ‘getLevel’ was not declared in this scope
 1071 |                                                 getLevel(bbhash,val,&level, i,i-1);
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
BooPHF.h:1073:57: error: ‘getLevel’ was not declared in this scope
 1073 |                                                 getLevel(bbhash,val,&level, i);
      |                                                 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [makefile:29: Bootest] Error 1
make[1]: Leaving directory '/build/reproducible-path/bbhash-1.0.0'
dh_auto_build: error: make -j8 "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:21: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 12:49:09 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.