Package: src:dosbox
Version: 0.74-3-4
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
configure.ac:12: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:12: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:12: the top level
configure.ac:31: warning: The macro `AC_TRY_RUN' is obsolete.
configure.ac:31: You should run autoupdate.
./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from...
acinclude.m4:4: AM_PATH_SDL is expanded from...
configure.ac:31: the top level
configure.ac:31: warning: The macro `AC_TRY_LINK' is obsolete.

[... snipped ...]

../../../src/cpu/core_dynrec/dyn_fpu.h:354:86: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  354 |                         LOG(LOG_FPU,LOG_WARN)("ESC 2:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
            ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
             |                                |
      |                                                                         
             int                              Bitu {aka long unsigned int}
      |                                                                         
            %ld
../../../src/cpu/core_dynrec/dyn_fpu.h: In function ‘void dyn_fpu_esc3()’:
../../../src/cpu/core_dynrec/dyn_fpu.h:373:110: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  373 |                                 LOG(LOG_FPU,LOG_ERROR)("8087 only fpu code 
used esc 3: group 4: subfuntion: %d",decode.modrm.rm);
      |                                                                         
                                    ~^  ~~~~~~~~~~~~~~~
      |                                                                         
                                     |               |
      |                                                                         
                                     int             Bitu {aka long unsigned 
int}
      |                                                                         
                                    %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:386:69: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 2 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  386 |                                 E_Exit("ESC 3:ILLEGAL OPCODE group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                    ~^   
              ~~~~~~~~~~~~~~~~
      |                                                                     |   
                           |
      |                                                                     int 
                           Bitu {aka long unsigned int}
      |                                                                    %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:386:84: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  386 |                                 E_Exit("ESC 3:ILLEGAL OPCODE group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
          ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
           |                                |
      |                                                                         
           int                              Bitu {aka long unsigned int}
      |                                                                         
          %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:390:71: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  390 |                         LOG(LOG_FPU,LOG_WARN)("ESC 3:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                      ~^ 
                ~~~~~~~~~~~~~~~~
      |                                                                       | 
                             |
      |                                                                       
int                            Bitu {aka long unsigned int}
      |                                                                      %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:390:86: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  390 |                         LOG(LOG_FPU,LOG_WARN)("ESC 3:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
            ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
             |                                |
      |                                                                         
             int                              Bitu {aka long unsigned int}
      |                                                                         
            %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:402:74: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  402 |                         LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
~^                 ~~~~~~~~~~~~~~~~
      |                                                                         
 |                              |
      |                                                                         
 int                            Bitu {aka long unsigned int}
      |                                                                         
%ld
../../../src/cpu/core_dynrec/dyn_fpu.h:402:89: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  402 |                         LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
               ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
                |                                |
      |                                                                         
                int                              Bitu {aka long unsigned int}
      |                                                                         
               %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:424:74: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  424 |                         LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
~^                 ~~~~~~~~~~~~~~~~
      |                                                                         
 |                              |
      |                                                                         
 int                            Bitu {aka long unsigned int}
      |                                                                         
%ld
../../../src/cpu/core_dynrec/dyn_fpu.h:424:89: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  424 |                         LOG(LOG_FPU,LOG_WARN)("ESC 3 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
               ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
                |                                |
      |                                                                         
                int                              Bitu {aka long unsigned int}
      |                                                                         
               %ld
../../../src/cpu/core_dynrec/dyn_fpu.h: In function ‘void dyn_fpu_esc5()’:
../../../src/cpu/core_dynrec/dyn_fpu.h:503:71: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  503 |                         LOG(LOG_FPU,LOG_WARN)("ESC 5:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                      ~^ 
                ~~~~~~~~~~~~~~~~
      |                                                                       | 
                             |
      |                                                                       
int                            Bitu {aka long unsigned int}
      |                                                                      %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:503:86: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  503 |                         LOG(LOG_FPU,LOG_WARN)("ESC 5:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
            ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
             |                                |
      |                                                                         
             int                              Bitu {aka long unsigned int}
      |                                                                         
            %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:515:74: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  515 |                         LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
~^                 ~~~~~~~~~~~~~~~~
      |                                                                         
 |                              |
      |                                                                         
 int                            Bitu {aka long unsigned int}
      |                                                                         
%ld
../../../src/cpu/core_dynrec/dyn_fpu.h:515:89: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  515 |                         LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
               ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
                |                                |
      |                                                                         
                int                              Bitu {aka long unsigned int}
      |                                                                         
               %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:542:74: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  542 |                         LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
~^                 ~~~~~~~~~~~~~~~~
      |                                                                         
 |                              |
      |                                                                         
 int                            Bitu {aka long unsigned int}
      |                                                                         
%ld
../../../src/cpu/core_dynrec/dyn_fpu.h:542:89: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  542 |                         LOG(LOG_FPU,LOG_WARN)("ESC 5 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
               ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
                |                                |
      |                                                                         
                int                              Bitu {aka long unsigned int}
      |                                                                         
               %ld
../../../src/cpu/core_dynrec/dyn_fpu.h: In function ‘void dyn_fpu_esc6()’:
../../../src/cpu/core_dynrec/dyn_fpu.h:565:79: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  565 |                                 LOG(LOG_FPU,LOG_WARN)("ESC 6:Unhandled group 
%d subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
     ~^                 ~~~~~~~~~~~~~~~~
      |                                                                         
      |                              |
      |                                                                         
      int                            Bitu {aka long unsigned int}
      |                                                                         
     %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:565:94: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  565 |                                 LOG(LOG_FPU,LOG_WARN)("ESC 6:Unhandled group 
%d subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
                    ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
                     |                                |
      |                                                                         
                     int                              Bitu {aka long unsigned 
int}
      |                                                                         
                    %ld
../../../src/cpu/core_dynrec/dyn_fpu.h: In function ‘void dyn_fpu_esc7()’:
../../../src/cpu/core_dynrec/dyn_fpu.h:631:87: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  631 |                                         LOG(LOG_FPU,LOG_WARN)("ESC 
7:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
             ~^                 ~~~~~~~~~~~~~~~~
      |                                                                         
              |                              |
      |                                                                         
              int                            Bitu {aka long unsigned int}
      |                                                                         
             %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:631:102: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  631 |                                         LOG(LOG_FPU,LOG_WARN)("ESC 
7:Unhandled group %d subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
                            ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
                             |                                |
      |                                                                         
                             int                              Bitu {aka long 
unsigned int}
      |                                                                         
                            %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:636:71: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  636 |                         LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                      ~^ 
                ~~~~~~~~~~~~~~~~
      |                                                                       | 
                             |
      |                                                                       
int                            Bitu {aka long unsigned int}
      |                                                                      %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:636:86: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  636 |                         LOG(LOG_FPU,LOG_WARN)("ESC 7:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
            ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
             |                                |
      |                                                                         
             int                              Bitu {aka long unsigned int}
      |                                                                         
            %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:648:74: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  648 |                         LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
~^                 ~~~~~~~~~~~~~~~~
      |                                                                         
 |                              |
      |                                                                         
 int                            Bitu {aka long unsigned int}
      |                                                                         
%ld
../../../src/cpu/core_dynrec/dyn_fpu.h:648:89: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  648 |                         LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
               ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
                |                                |
      |                                                                         
                int                              Bitu {aka long unsigned int}
      |                                                                         
               %ld
../../../src/cpu/core_dynrec/dyn_fpu.h:682:74: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  682 |                         LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
~^                 ~~~~~~~~~~~~~~~~
      |                                                                         
 |                              |
      |                                                                         
 int                            Bitu {aka long unsigned int}
      |                                                                         
%ld
../../../src/cpu/core_dynrec/dyn_fpu.h:682:89: warning: format ‘%d’ expects 
argument of type ‘int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  682 |                         LOG(LOG_FPU,LOG_WARN)("ESC 7 EA:Unhandled group %d 
subfunction %d",decode.modrm.reg,decode.modrm.rm);
      |                                                                         
               ~^                   ~~~~~~~~~~~~~~~
      |                                                                         
                |                                |
      |                                                                         
                int                              Bitu {aka long unsigned int}
      |                                                                         
               %ld
rm -f libcpu.a
ar cru libcpu.a callback.o cpu.o flags.o modrm.o core_full.o paging.o 
core_normal.o core_simple.o core_prefetch.o core_dyn_x86.o core_dynrec.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libcpu.a
make[6]: Leaving directory '/<<PKGBUILDDIR>>/build-debug/src/cpu'
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-debug/src/cpu'
Making all in debug
make[5]: Entering directory '/<<PKGBUILDDIR>>/build-debug/src/debug'
g++ -DHAVE_CONFIG_H -I. -I../../../src/debug -I../..  -I../../../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields 
 -c -o debug.o ../../../src/debug/debug.cpp
g++ -DHAVE_CONFIG_H -I. -I../../../src/debug -I../..  -I../../../include -Wdate-time 
-D_FORTIFY_SOURCE=2 -D_FILE_OFFSET_BITS=64 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  
-g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -mno-ms-bitfields 
 -c -o debug_gui.o ../../../src/debug/debug_gui.cpp
../../../src/debug/debug_gui.cpp: In function ‘void DEBUG_RefreshPage(char)’:
../../../src/debug/debug_gui.cpp:100:42: warning: zero-length gnu_printf format 
string [-Wformat-zero-length]
  100 |         mvwprintw(dbg.win_out,maxy-1, 0, "");
      |                                          ^~
../../../src/debug/debug_gui.cpp: In member function ‘void 
LOG::operator()(const char*, ...)’:
../../../src/debug/debug_gui.cpp:113:27: warning: format ‘%u’ expects argument 
of type ‘unsigned int’, but argument 2 has type ‘Bitu’ {aka ‘long unsigned 
int’} [-Wformat=]
  113 |         DEBUG_ShowMsg("%10u: 
%s:%s\n",cycle_count,loggrp[d_type].front,buf);
      |                        ~~~^           ~~~~~~~~~~~
      |                           |           |
      |                           |           Bitu {aka long unsigned int}
      |                           unsigned int
      |                        %10lu
In file included from ../../../src/debug/debug_gui.cpp:28:
../../../src/debug/debug_gui.cpp: In function ‘void DrawBars()’:
../../../src/debug/debug_gui.cpp:149:29: error: invalid use of incomplete type 
‘WINDOW’ {aka ‘struct _win_st’}
  149 |         mvaddstr(dbg.win_reg->_begy-1,0, "---(Register Overview              
     )---");
      |                             ^~
/usr/include/curses.h:442:16: note: forward declaration of ‘WINDOW’ {aka 
‘struct _win_st’}
  442 | typedef struct _win_st WINDOW;
      |                ^~~~~~~
../../../src/debug/debug_gui.cpp:151:30: error: invalid use of incomplete type 
‘WINDOW’ {aka ‘struct _win_st’}
  151 |         mvaddstr(dbg.win_data->_begy-1,0,"---(Data Overview   Scroll: page 
up/down)---");
      |                              ^~
/usr/include/curses.h:442:16: note: forward declaration of ‘WINDOW’ {aka 
‘struct _win_st’}
  442 | typedef struct _win_st WINDOW;
      |                ^~~~~~~
../../../src/debug/debug_gui.cpp:153:30: error: invalid use of incomplete type 
‘WINDOW’ {aka ‘struct _win_st’}
  153 |         mvaddstr(dbg.win_code->_begy-1,0,"---(Code Overview   Scroll: 
up/down     )---");
      |                              ^~
/usr/include/curses.h:442:16: note: forward declaration of ‘WINDOW’ {aka 
‘struct _win_st’}
  442 | typedef struct _win_st WINDOW;
      |                ^~~~~~~
../../../src/debug/debug_gui.cpp:155:29: error: invalid use of incomplete type 
‘WINDOW’ {aka ‘struct _win_st’}
  155 |         mvaddstr(dbg.win_var->_begy-1,0, "---(Variable Overview              
     )---");
      |                             ^~
/usr/include/curses.h:442:16: note: forward declaration of ‘WINDOW’ {aka 
‘struct _win_st’}
  442 | typedef struct _win_st WINDOW;
      |                ^~~~~~~
../../../src/debug/debug_gui.cpp:157:29: error: invalid use of incomplete type 
‘WINDOW’ {aka ‘struct _win_st’}
  157 |         mvaddstr(dbg.win_out->_begy-1,0, "---(OutPut/Input    Scroll: 
home/end    )---");
      |                             ^~
/usr/include/curses.h:442:16: note: forward declaration of ‘WINDOW’ {aka 
‘struct _win_st’}
  442 | typedef struct _win_st WINDOW;
      |                ^~~~~~~
make[5]: *** [Makefile:358: debug_gui.o] Error 1
make[5]: *** Waiting for unfinished jobs....
../../../src/debug/debug.cpp: In member function ‘virtual Bitu 
DebugPageHandler::readb(PhysPt)’:
../../../src/debug/debug.cpp:82:9: warning: no return statement in function 
returning non-void [-Wreturn-type]
   82 |         }
      |         ^
../../../src/debug/debug.cpp: In member function ‘virtual Bitu 
DebugPageHandler::readw(PhysPt)’:
../../../src/debug/debug.cpp:84:9: warning: no return statement in function 
returning non-void [-Wreturn-type]
   84 |         }
      |         ^
../../../src/debug/debug.cpp: In member function ‘virtual Bitu 
DebugPageHandler::readd(PhysPt)’:
../../../src/debug/debug.cpp:86:9: warning: no return statement in function 
returning non-void [-Wreturn-type]
   86 |         }
      |         ^
../../../src/debug/debug.cpp: In function ‘bool GetDescriptorInfo(char*, char*, 
char*)’:
../../../src/debug/debug.cpp:198:56: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  198 |                                 sprintf(out1,"%s: s:%08X type:%02X 
p",selname,desc.GetSelector(),desc.saved.gate.type);
      |                                                     ~~~^                
      ~~~~~~~~~~~~~~~~~~
      |                                                        |                
                      |
      |                                                        unsigned int     
                      Bitu {aka long unsigned int}
      |                                                     %08lX
../../../src/debug/debug.cpp:207:56: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  207 |                                 sprintf(out2,"    l:%08X dpl : %01X 
%1X%1X%1X",desc.GetLimit(),desc.saved.seg.dpl,desc.saved.seg.p,desc.saved.seg.avl,desc.saved.seg.g);
      |                                                     ~~~^                
       ~~~~~~~~~~~~~~~
      |                                                        |                
                    |
      |                                                        unsigned int     
                    Bitu {aka long unsigned int}
      |                                                     %08lX
../../../src/debug/debug.cpp:211:56: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  211 |                                 sprintf(out1,"%s: s:%08X type:%02X p params: 
%02X",selname,desc.GetSelector(),desc.saved.gate.type,desc.saved.gate.paramcount);
      |                                                     ~~~^                
                   ~~~~~~~~~~~~~~~~~~
      |                                                        |                
                                   |
      |                                                        unsigned int     
                                   Bitu {aka long unsigned int}
      |                                                     %08lX
../../../src/debug/debug.cpp:212:56: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  212 |                                 sprintf(out2,"    o:%08X dpl : %01X 
%1X",desc.GetOffset(),desc.saved.gate.dpl,desc.saved.gate.p);
      |                                                     ~~~^                
 ~~~~~~~~~~~~~~~~
      |                                                        |                
               |
      |                                                        unsigned int     
               Bitu {aka long unsigned int}
      |                                                     %08lX
../../../src/debug/debug.cpp:218:56: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  218 |                                 sprintf(out1,"%s: s:%08X type:%02X 
p",selname,desc.GetSelector(),desc.saved.gate.type);
      |                                                     ~~~^                
      ~~~~~~~~~~~~~~~~~~
      |                                                        |                
                      |
      |                                                        unsigned int     
                      Bitu {aka long unsigned int}
      |                                                     %08lX
../../../src/debug/debug.cpp:219:56: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  219 |                                 sprintf(out2,"    o:%08X dpl : %01X 
%1X",desc.GetOffset(),desc.saved.gate.dpl,desc.saved.gate.p);
      |                                                     ~~~^                
 ~~~~~~~~~~~~~~~~
      |                                                        |                
               |
      |                                                        unsigned int     
               Bitu {aka long unsigned int}
      |                                                     %08lX
../../../src/debug/debug.cpp:223:40: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  223 |                 sprintf(out2,"    l:%08X dpl : %01X 
%1X%1X%1X%1X%1X",desc.GetLimit(),desc.saved.seg.dpl,desc.saved.seg.p,desc.saved.seg.avl,desc.saved.seg.r,desc.saved.seg.big,desc.saved.seg.g);
      |                                     ~~~^                             
~~~~~~~~~~~~~~~
      |                                        |                                
          |
      |                                        unsigned int                     
          Bitu {aka long unsigned int}
      |                                     %08lX
../../../src/debug/debug.cpp: In function ‘void DrawRegisters()’:
../../../src/debug/debug.cpp:737:41: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 5 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  737 |         mvwprintw (dbg.win_reg,2,72,"%01X",GETFLAG(IOPL)>>12);
      |                                      ~~~^
      |                                         |
      |                                         unsigned int
      |                                      %01lX
../../../src/debug/debug.cpp:741:41: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 5 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  741 |         mvwprintw (dbg.win_reg,2,78,"%01X",cpu.cpl);
      |                                      ~~~^  ~~~~~~~
      |                                         |      |
      |                                         |      Bitu {aka long unsigned 
int}
      |                                         unsigned int
      |                                      %01lX
../../../src/debug/debug.cpp:760:38: warning: format ‘%u’ expects argument of 
type ‘unsigned int’, but argument 5 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
  760 |         mvwprintw(dbg.win_reg,3,60,"%u       ",cycle_count);
      |                                     ~^         ~~~~~~~~~~~
      |                                      |         |
      |                                      |         Bitu {aka long unsigned 
int}
      |                                      unsigned int
      |                                     %lu
../../../src/debug/debug.cpp: In function ‘void DrawCode()’:
../../../src/debug/debug.cpp:840:45: warning: too many arguments for format 
[-Wformat-extra-args]
  840 |                 
mvwprintw(dbg.win_code,10,0,"(Running)",codeViewData.inputStr);
      |                                             ^~~~~~~~~~~
../../../src/debug/debug.cpp: In function ‘void LogGDT()’:
../../../src/debug/debug.cpp:1771:57: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1771 |         LOG(LOG_MISC,LOG_ERROR)("GDT Base:%08X 
Limit:%08X",address,length);
      |                                                      ~~~^          
~~~~~~
      |                                                         |          |
      |                                                         |          Bitu 
{aka long unsigned int}
      |                                                         unsigned int
      |                                                      %08lX
../../../src/debug/debug.cpp:1774:34: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1774 |                 sprintf(out1,"%04X: b:%08X type: %02X 
parbg",(i<<3),desc.GetBase(),desc.saved.seg.type);
      |                               ~~~^                           ~~~~~~
      |                                  |                             |
      |                                  unsigned int                  Bitu 
{aka long unsigned int}
      |                               %04lX
../../../src/debug/debug.cpp:1776:42: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1776 |                 sprintf(out1,"      l:%08X dpl : %01X  
%1X%1X%1X%1X%1X",desc.GetLimit(),desc.saved.seg.dpl,desc.saved.seg.p,desc.saved.seg.avl,desc.saved.seg.r,desc.saved.seg.big,desc.saved.seg.g);
      |                                       ~~~^                              
~~~~~~~~~~~~~~~
      |                                          |                              
             |
      |                                          unsigned int                   
             Bitu {aka long unsigned int}
      |                                       %08lX
../../../src/debug/debug.cpp: In function ‘void LogLDT()’:
../../../src/debug/debug.cpp:1791:57: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1791 |         LOG(LOG_MISC,LOG_ERROR)("LDT Base:%08X 
Limit:%08X",address,length);
      |                                                      ~~~^          
~~~~~~
      |                                                         |          |
      |                                                         |          Bitu 
{aka long unsigned int}
      |                                                         unsigned int
      |                                                      %08lX
../../../src/debug/debug.cpp:1794:34: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1794 |                 sprintf(out1,"%04X: b:%08X type: %02X 
parbg",(i<<3)|4,desc.GetBase(),desc.saved.seg.type);
      |                               ~~~^                           ~~~~~~~~
      |                                  |                                 |
      |                                  unsigned int                      Bitu 
{aka long unsigned int}
      |                               %04lX
../../../src/debug/debug.cpp:1796:42: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1796 |                 sprintf(out1,"      l:%08X dpl : %01X  
%1X%1X%1X%1X%1X",desc.GetLimit(),desc.saved.seg.dpl,desc.saved.seg.p,desc.saved.seg.avl,desc.saved.seg.r,desc.saved.seg.big,desc.saved.seg.g);
      |                                       ~~~^                              
~~~~~~~~~~~~~~~
      |                                          |                              
             |
      |                                          unsigned int                   
             Bitu {aka long unsigned int}
      |                                       %08lX
../../../src/debug/debug.cpp: In function ‘void LogIDT()’:
../../../src/debug/debug.cpp:1808:42: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1808 |                         sprintf(out1,"%04X: sel:%04X 
off:%02X",address/8,desc.GetSelector(),desc.GetOffset());
      |                                       ~~~^                     ~~~~~~~~~
      |                                          |                            |
      |                                          unsigned int                 
Bitu {aka long unsigned int}
      |                                       %04lX
../../../src/debug/debug.cpp:1808:52: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1808 |                         sprintf(out1,"%04X: sel:%04X 
off:%02X",address/8,desc.GetSelector(),desc.GetOffset());
      |                                                 ~~~^                    
 ~~~~~~~~~~~~~~~~~~
      |                                                    |                    
                 |
      |                                                    unsigned int         
                 Bitu {aka long unsigned int}
      |                                                 %04lX
../../../src/debug/debug.cpp:1808:61: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 5 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1808 |                         sprintf(out1,"%04X: sel:%04X 
off:%02X",address/8,desc.GetSelector(),desc.GetOffset());
      |                                                          ~~~^           
                    ~~~~~~~~~~~~~~~~
      |                                                             |           
                                  |
      |                                                             unsigned 
int                                  Bitu {aka long unsigned int}
      |                                                          %02lX
../../../src/debug/debug.cpp: In function ‘void LogPages(char*)’:
../../../src/debug/debug.cpp:1844:55: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1844 |                                 sprintf(out1,"page %05Xxxx -> %04Xxxx  flags 
[puw] 
%x:%x::%x:%x::%x:%x",sel,entry.block.base,entry.block.p,table.block.p,entry.block.us,table.block.us,entry.block.wr,table.block.wr);
      |                                                    ~~~^                 
                                ~~~
      |                                                       |                 
                                |
      |                                                       unsigned int      
                                Bitu {aka long unsigned int}
      |                                                    %05lX
../../../src/debug/debug.cpp:1847:60: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1847 |                                 sprintf(out1,"pagetable %03X not present, flags 
[puw] %x::%x::%x",(sel >> 10),table.block.p,table.block.us,table.block.wr);
      |                                                         ~~~^            
                          ~~~~~~~~~~~
      |                                                            |            
                               |
      |                                                            unsigned int 
                               Bitu {aka long unsigned int}
      |                                                         %03lX
../../../src/debug/debug.cpp: In function ‘void LogCPUInfo()’:
../../../src/debug/debug.cpp:1856:30: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1856 |         sprintf(out1,"cr0:%08X cr2:%08X cr3:%08X  
cpl=%x",cpu.cr0,paging.cr2,paging.cr3,cpu.cpl);
      |                           ~~~^                            ~~~~~~~
      |                              |                                |
      |                              unsigned int                     Bitu {aka 
long unsigned int}
      |                           %08lX
../../../src/debug/debug.cpp:1856:39: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1856 |         sprintf(out1,"cr0:%08X cr2:%08X cr3:%08X  
cpl=%x",cpu.cr0,paging.cr2,paging.cr3,cpu.cpl);
      |                                    ~~~^                           
~~~~~~~~~~
      |                                       |                                 
 |
      |                                       unsigned int                      
 Bitu {aka long unsigned int}
      |                                    %08lX
../../../src/debug/debug.cpp:1856:48: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 5 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1856 |         sprintf(out1,"cr0:%08X cr2:%08X cr3:%08X  
cpl=%x",cpu.cr0,paging.cr2,paging.cr3,cpu.cpl);
      |                                             ~~~^                        
     ~~~~~~~~~~
      |                                                |                        
            |
      |                                                unsigned int             
            Bitu {aka long unsigned int}
      |                                             %08lX
../../../src/debug/debug.cpp:1856:56: warning: format ‘%x’ expects argument of 
type ‘unsigned int’, but argument 6 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1856 |         sprintf(out1,"cr0:%08X cr2:%08X cr3:%08X  
cpl=%x",cpu.cr0,paging.cr2,paging.cr3,cpu.cpl);
      |                                                       ~^                
                ~~~~~~~
      |                                                        |                
                    |
      |                                                        unsigned int     
                    Bitu {aka long unsigned int}
      |                                                       %lx
../../../src/debug/debug.cpp:1858:33: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1858 |         sprintf(out1,"eflags:%08X [vm=%x iopl=%x 
nt=%x]",reg_flags,GETFLAG(VM)>>17,GETFLAG(IOPL)>>12,GETFLAG(NT)>>14);
      |                              ~~~^
      |                                 |
      |                                 unsigned int
      |                              %08lX
../../../src/debug/debug.cpp:1858:40: warning: format ‘%x’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1858 |         sprintf(out1,"eflags:%08X [vm=%x iopl=%x 
nt=%x]",reg_flags,GETFLAG(VM)>>17,GETFLAG(IOPL)>>12,GETFLAG(NT)>>14);
      |                                       ~^
      |                                        |
      |                                        unsigned int
      |                                       %lx
../../../src/debug/debug.cpp:1858:48: warning: format ‘%x’ expects argument of 
type ‘unsigned int’, but argument 5 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1858 |         sprintf(out1,"eflags:%08X [vm=%x iopl=%x 
nt=%x]",reg_flags,GETFLAG(VM)>>17,GETFLAG(IOPL)>>12,GETFLAG(NT)>>14);
      |                                               ~^
      |                                                |
      |                                                unsigned int
      |                                               %lx
../../../src/debug/debug.cpp:1858:54: warning: format ‘%x’ expects argument of 
type ‘unsigned int’, but argument 6 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1858 |         sprintf(out1,"eflags:%08X [vm=%x iopl=%x 
nt=%x]",reg_flags,GETFLAG(VM)>>17,GETFLAG(IOPL)>>12,GETFLAG(NT)>>14);
      |                                                     ~^
      |                                                      |
      |                                                      unsigned int
      |                                                     %lx
../../../src/debug/debug.cpp:1860:46: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1860 |         sprintf(out1,"GDT base=%08X 
limit=%08X",cpu.gdt.GetBase(),cpu.gdt.GetLimit());
      |                                           ~~~^                    
~~~~~~~~~~~~~~~~~~
      |                                              |                          
          |
      |                                              unsigned int               
          Bitu {aka long unsigned int}
      |                                           %08lX
../../../src/debug/debug.cpp:1862:46: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 4 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1862 |         sprintf(out1,"IDT base=%08X 
limit=%08X",cpu.idt.GetBase(),cpu.idt.GetLimit());
      |                                           ~~~^                    
~~~~~~~~~~~~~~~~~~
      |                                              |                          
          |
      |                                              unsigned int               
          Bitu {aka long unsigned int}
      |                                           %08lX
../../../src/debug/debug.cpp:1868:46: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1868 |                 sprintf(out1,"TR selector=%04X, base=%08X 
limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1);
      |                                           ~~~^                          
 ~~~
      |                                              |                          
 |
      |                                              unsigned int               
 Bitu {aka long unsigned int}
      |                                           %04lX
../../../src/debug/debug.cpp:1868:68: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 5 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1868 |                 sprintf(out1,"TR selector=%04X, base=%08X 
limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1);
      |                                                                 ~~~^    
                    ~~~~~~~~~~~~~~~
      |                                                                    |    
                                 |
      |                                                                    
unsigned int                          Bitu {aka long unsigned int}
      |                                                                 %08lX
../../../src/debug/debug.cpp:1873:47: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 3 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1873 |                 sprintf(out1,"LDT selector=%04X, base=%08X 
limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1);
      |                                            ~~~^                         
  ~~~
      |                                               |                         
  |
      |                                               unsigned int              
  Bitu {aka long unsigned int}
      |                                            %04lX
../../../src/debug/debug.cpp:1873:69: warning: format ‘%X’ expects argument of 
type ‘unsigned int’, but argument 5 has type ‘Bitu’ {aka ‘long unsigned int’} 
[-Wformat=]
 1873 |                 sprintf(out1,"LDT selector=%04X, base=%08X 
limit=%08X*%X",sel,desc.GetBase(),desc.GetLimit(),desc.saved.seg.g?0x4000:1);
      |                                                                  ~~~^   
                     ~~~~~~~~~~~~~~~
      |                                                                     |   
                                  |
      |                                                                     
unsigned int                          Bitu {aka long unsigned int}
      |                                                                  %08lX
../../../src/debug/debug.cpp: In function ‘void LogInstruction(Bit16u, Bit32u, 
std::ofstream&)’:
../../../src/debug/debug.cpp:1905:77: warning: too many arguments for format 
[-Wformat-extra-args]
 1905 |                         if (mem_readb_checked(start+i,&value)) 
sprintf(tmpc,"?? ",value);
      |                                                                         
    ^~~~~
../../../src/debug/debug.cpp: In function ‘void SaveMemory(Bit16u, Bit32u, 
Bit32u)’:
../../../src/debug/debug.cpp:2150:92: warning: too many arguments for format 
[-Wformat-extra-args]
 2150 |                         if (mem_readb_checked(GetAddress(seg,ofs1+x),&value)) 
sprintf(temp,"?? ",value);
      |                                                                         
                   ^~~~~
../../../src/debug/debug.cpp:2163:92: warning: too many arguments for format 
[-Wformat-extra-args]
 2163 |                         if (mem_readb_checked(GetAddress(seg,ofs1+x),&value)) 
sprintf(temp,"?? ",value);
      |                                                                         
                   ^~~~~
../../../src/debug/debug.cpp: In function ‘void DrawVariables()’:
../../../src/debug/debug.cpp:2225:60: warning: too many arguments for format 
[-Wformat-extra-args]
 2225 |                         snprintf(buffer,DEBUG_VAR_BUF_LEN, "??????", 
value);
      |                                                            ^~~~~~~~
make[5]: Leaving directory '/<<PKGBUILDDIR>>/build-debug/src/debug'
make[4]: *** [Makefile:444: all-recursive] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/build-debug/src'
make[3]: *** [Makefile:377: all-recursive] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-debug'
make[2]: *** [Makefile:318: all] Error 2
make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-debug'
dh_auto_build: error: cd build-debug && make -j2 returned exit code 2
make[1]: *** [debian/rules:18: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:6: binary] Error 2
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/202312/

About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using 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.

Reply via email to