Bug#1143657: golly: FTBFS: ../gui-wx/configure/../../cmdline/bgolly.cpp:155:58: error: reference to 'popcount' is ambiguous
Santiago Vila <[email protected]> Wed, 05 Aug 2026 11:23:51 +0000
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <E1wrZix-00GxhU-0l__20717.1591276833$1785929182$gmane$org@paradis.debian.org> |
Package: src:golly
Version: 3.3-1.1
Severity: serious
Tags: ftbfs forky sid
Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202608/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot 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 add an affects on src:golly, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"golly\" -DPACKAGE_TARN [too-long-redacted] configure/'`../../lua/lundump.c
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"golly\" -DPACKAGE_TARN [too-long-redacted] onfigure/'`../../lua/lutf8lib.c
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"golly\" -DPACKAGE_TARN [too-long-redacted] -wx/configure/'`../../lua/lvm.c
x86_64-linux-gnu-gcc -DPACKAGE_NAME=\"golly\" -DPACKAGE_TARN [too-long-redacted] wx/configure/'`../../lua/lzio.c
x86_64-linux-gnu-g++ -DPACKAGE_NAME=\"golly\" -DPACKAGE_TARN [too-long-redacted] gure/'`../../cmdline/bgolly.cpp
../gui-wx/configure/../../cmdline/bgolly.cpp:155:58: error: reference to ‘popcount’ is ambiguous
155 | { "", "--popcount", "Popcount (benchmarking)", 'b', &popcount },
| ^~~~~~~~
• there are 2 candidates
In file included from /usr/include/c++/16/bits/stl_algobase.h:75,
from /usr/include/c++/16/vector:64,
from ../gui-wx/configure/../../gollybase/lifealgo.h:22,
from ../gui-wx/configure/../../gollybase/qlifealgo.h:9,
from ../gui-wx/configure/../../cmdline/bgolly.cpp:4:
• candidate 1: ‘template<class _Tp> requires __unsigned_integer<_Tp> constexpr int std::popcount(_Tp)’
/usr/include/c++/16/bit:446:5:
446 | popcount(_Tp __x) noexcept
| ^~~~~~~~
• candidate 2: ‘int popcount’
../gui-wx/configure/../../cmdline/bgolly.cpp:125:29:
125 | int render, autofit, quiet, popcount, progress ;
| ^~~~~~~~
../gui-wx/configure/../../cmdline/bgolly.cpp: In function ‘int main(int, char**)’:
../gui-wx/configure/../../cmdline/bgolly.cpp:653:11: error: reference to ‘popcount’ is ambiguous
653 | if (popcount)
| ^~~~~~~~
• there are 2 candidates
• candidate 1: ‘template<class _Tp> requires __unsigned_integer<_Tp> constexpr int std::popcount(_Tp)’
/usr/include/c++/16/bit:446:5:
446 | popcount(_Tp __x) noexcept
| ^~~~~~~~
• candidate 2: ‘int popcount’
../gui-wx/configure/../../cmdline/bgolly.cpp:125:29:
125 | int render, autofit, quiet, popcount, progress ;
| ^~~~~~~~
make[1]: *** [Makefile:2216: bgolly.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/<<PKGBUILDDIR>>/build'
dh_auto_build: error: cd build && make -j2 returned exit code 2
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------