Bug#1143656: fs-uae: FTBFS: src/statusline.cpp:70:18: error: reference to 'numbers' is ambiguous
Santiago Vila <[email protected]> Wed, 05 Aug 2026 11:23:46 +0000
| Newsgroups | gmane.linux.debian.devel.bugs.rc |
|---|---|
| Message-ID | <[email protected]> |
Package: src:fs-uae
Version: 3.2.35-2
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:fs-uae, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean
dh_clean
debian/rules binary
dh binary
dh_update_autotools_config
dh_autoreconf
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: no obvious need to run autopoint
autoreconf: running: aclocal --force
autoreconf: configure.ac: tracing
autoreconf: configure.ac: adding subdirectory libmpeg2 to autoreconf
autoreconf: Entering directory 'libmpeg2'
autoreconf: configure.ac: no obvious need to run autopoint
[... snipped ...]
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] n -c -o src/qemu.o src/qemu.cpp
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/qemu.cpp:1:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] -o src/random.o src/random.cpp
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] -o src/rommgr.o src/rommgr.cpp
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/random.cpp:1:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/rommgr.cpp:8:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] -c -o src/sana2.o src/sana2.cpp
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/sana2.cpp:12:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
src/sana2.cpp: In function ‘uae_u32 dev_open_2(TrapContext*)’:
src/sana2.cpp:391:20: warning: the address of ‘td’ will never be NULL [-Waddress]
391 | pdev->td = td ? td[unit] : NULL;
| ^~
src/sana2.cpp:237:30: note: ‘td’ declared here
237 | static struct netdriverdata *td[MAX_TOTAL_NET_DEVICES + 1];
| ^~
src/sana2.cpp: In function ‘int dev_do_io_2(s2devstruct*, uaecptr, int)’:
src/sana2.cpp:1060:17: warning: ‘++’ expression of ‘volatile’-qualified type is deprecated [-Wvolatile]
1060 | uaenet_vsync_requested++;
| ^~~~~~~~~~~~~~~~~~~~~~
src/sana2.cpp:1158:25: warning: ‘++’ expression of ‘volatile’-qualified type is deprecated [-Wvolatile]
1158 | uaenet_vsync_requested++;
| ^~~~~~~~~~~~~~~~~~~~~~
src/sana2.cpp: In function ‘uae_u32 uaenet_int_handler(TrapContext*)’:
src/sana2.cpp:1536:41: warning: ‘--’ expression of ‘volatile’-qualified type is deprecated [-Wvolatile]
1536 | uaenet_vsync_requested--;
| ^~~~~~~~~~~~~~~~~~~~~~
src/sana2.cpp:1544:49: warning: ‘--’ expression of ‘volatile’-qualified type is deprecated [-Wvolatile]
1544 | uaenet_vsync_requested--;
| ^~~~~~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] c/savestate.o src/savestate.cpp
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] ion -c -o src/scp.o src/scp.cpp
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/savestate.cpp:49:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/scp.cpp:11:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] n -c -o src/scsi.o src/scsi.cpp
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/scsi.cpp:10:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] src/scsiemul.o src/scsiemul.cpp
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/scsiemul.cpp:13:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] src/scsitape.o src/scsitape.cpp
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] segtracker.o src/segtracker.cpp
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/scsitape.cpp:10:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
In file included from ./src/include/uae/log.h:17,
from ./src/od-fs/defines.h:18:
src/scsitape.cpp: In function ‘void erase(scsi_data_tape*)’:
src/scsitape.cpp:147:53: warning: ‘%s’ directive writing up to 999 bytes into a region of size between 0 and 999 [-Wformat-overflow=]
147 | _stprintf (path, _T("%s%s%s"), tape->tape_dir, FSDB_DIR_SEPARATOR_S, filename);
| ^~~~~~~~
./src/include/uae/types.h:79:15: note: in definition of macro ‘_T’
79 | #define _T(x) x
| ^
src/scsitape.cpp:147:58: note: format string is defined here
147 | _stprintf (path, _T("%s%s%s"), tape->tape_dir, FSDB_DIR_SEPARATOR_S, filename);
| ^~
In file included from /usr/include/stdio.h:970,
from ./src/od-fs/defines.h:44:
In function ‘int sprintf(char*, const char*, ...)’,
inlined from ‘void erase(scsi_data_tape*)’ at src/scsitape.cpp:147:15:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 2 and 2000 bytes into a destination of size 1000
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
src/scsitape.cpp: In function ‘int tape_write(scsi_data_tape*, uae_u8*, int)’:
src/scsitape.cpp:245:29: warning: ‘%s’ directive writing up to 29 bytes into a region of size between 0 and 999 [-Wformat-overflow=]
245 | _stprintf (path, _T("%s%s%s"), tape->tape_dir, FSDB_DIR_SEPARATOR_S, numname);
| ^~~~~~~~
./src/include/uae/types.h:79:15: note: in definition of macro ‘_T’
79 | #define _T(x) x
| ^
src/scsitape.cpp:245:34: note: format string is defined here
245 | _stprintf (path, _T("%s%s%s"), tape->tape_dir, FSDB_DIR_SEPARATOR_S, numname);
| ^~
In function ‘int sprintf(char*, const char*, ...)’,
inlined from ‘int tape_write(scsi_data_tape*, uae_u8*, int)’ at src/scsitape.cpp:245:12:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 2 and 1030 bytes into a destination of size 1000
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
src/scsitape.cpp: In function ‘int tape_write(scsi_data_tape*, uae_u8*, int)’:
src/scsitape.cpp:254:37: warning: ‘%s’ directive writing 10 bytes into a region of size between 0 and 999 [-Wformat-overflow=]
254 | _stprintf (path, _T("%s%s%s"), tape->tape_dir, FSDB_DIR_SEPARATOR_S, TAPE_INDEX);
| ^~~~~~~~
./src/include/uae/types.h:79:15: note: in definition of macro ‘_T’
79 | #define _T(x) x
| ^
src/scsitape.cpp:254:42: note: format string is defined here
254 | _stprintf (path, _T("%s%s%s"), tape->tape_dir, FSDB_DIR_SEPARATOR_S, TAPE_INDEX);
| ^~
In function ‘int sprintf(char*, const char*, ...)’,
inlined from ‘int tape_write(scsi_data_tape*, uae_u8*, int)’ at src/scsitape.cpp:254:13:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 12 and 1011 bytes into a destination of size 1000
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/segtracker.cpp:9:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
src/scsitape.cpp: In function ‘bool next_file(scsi_data_tape*)’:
src/scsitape.cpp:187:45: warning: ‘%s’ directive writing up to 999 bytes into a region of size between 0 and 999 [-Wformat-overflow=]
187 | _stprintf (path, _T("%s%s%s"), tape->tape_dir, FSDB_DIR_SEPARATOR_S, filename);
| ^~~~~~~~
./src/include/uae/types.h:79:15: note: in definition of macro ‘_T’
79 | #define _T(x) x
| ^
src/scsitape.cpp:187:50: note: format string is defined here
187 | _stprintf (path, _T("%s%s%s"), tape->tape_dir, FSDB_DIR_SEPARATOR_S, filename);
| ^~
In function ‘int sprintf(char*, const char*, ...)’,
inlined from ‘bool next_file(scsi_data_tape*)’ at src/scsitape.cpp:187:14:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:30:34: note: ‘__builtin___sprintf_chk’ output between 2 and 2000 bytes into a destination of size 1000
30 | return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
31 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
32 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] c/slirp_uae.o src/slirp_uae.cpp
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] itors.o src/specialmonitors.cpp
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/slirp_uae.cpp:4:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/specialmonitors.cpp:1:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -DLINUX -DUAE -DFS [too-long-redacted] statusline.o src/statusline.cpp
In file included from ./src/od-fs/threaddep/thread.h:9,
from ./src/od-fs/defines.h:129,
from ./src/od-fs/sysconfig.h:279,
from src/statusline.cpp:1:
./src/include/commpipe.h: In function ‘void init_comm_pipe(smp_comm_pipe*, int, int)’:
./src/include/commpipe.h:49:21: warning: using value of assignment with ‘volatile’-qualified left operand is deprecated [-Wvolatile]
49 | p->rdp = p->wrp = 0;
| ~~~~~~~^~~
src/statusline.cpp: In function ‘void write_tdnumber(uae_u8*, int, int, int, int, uae_u32, uae_u32)’:
src/statusline.cpp:70:18: error: reference to ‘numbers’ is ambiguous
70 | numptr = numbers + num * TD_NUM_WIDTH + NUMBERS_NUM * TD_NUM_WIDTH * y;
| ^~~~~~~
• there are 2 candidates
In file included from /usr/include/c++/16/bits/max_size_type.h:40,
from /usr/include/c++/16/bits/ranges_base.h:41,
from /usr/include/c++/16/string_view:62,
from /usr/include/c++/16/bits/basic_string.h:51,
from /usr/include/c++/16/string:58,
from ./src/od-fs/../include/sysdeps.h:27,
from ./src/od-fs/defines.h:117:
• candidate 1: ‘namespace std::numbers { }’
/usr/include/c++/16/numbers:56:11:
56 | namespace numbers
| ^~~~~~~
• candidate 2: ‘const char* numbers’
src/statusline.cpp:47:20:
47 | static const char *numbers = { /* ugly 0123456789CHD%+-P */
| ^~~~~~~
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
make[3]: *** [Makefile:4658: src/statusline.o] Error 1
make[3]: *** Waiting for unfinished jobs....
At global scope:
cc1plus: note: unrecognized command-line option ‘-Wno-c++11-narrowing’ may have been intended to silence earlier diagnostics
make[3]: Leaving directory '/<<PKGBUILDDIR>>'
make[2]: *** [Makefile:4696: all-recursive] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>'
make[1]: *** [Makefile:2766: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 returned exit code 2
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------