D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
warning: /home/pterjan/rpmbuild/SPECS/dosbox.spec line 38: autopatch: no matching patches in range
Installing /home/pterjan/rpmbuild/SRPMS/dosbox-0.74.3-3.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1tKipR
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ test -d /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/SPECPARTS
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.M7V6YQ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ rm -rf dosbox-0.74.3
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/dosbox-0.74.3.tar.xz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd dosbox-0.74.3
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xFshjt
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd dosbox-0.74.3
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ CONFIGURE_TOP=.
+ '[' 1 = 1 ']'
++ find . -name config.guess -o -name config.sub
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.guess
+ '[' -f /usr/lib/rpm/mageia/config.guess ']'
++ basename ./config.guess
+ cp -af /usr/lib/rpm/mageia/config.guess ./config.guess
+ for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub)
++ basename ./config.sub
+ '[' -f /usr/lib/rpm/mageia/config.sub ']'
++ basename ./config.sub
+ cp -af /usr/lib/rpm/mageia/config.sub ./config.sub
+ /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool
Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html)
+ /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool
+ /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking
+ /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs .
+ /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64
+ ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-core-inline
checking build system type... x86_64-mageia-linux-gnu
checking host system type... x86_64-mageia-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-mageia-linux-gnu-gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... none
checking how to run the C preprocessor... gcc -E
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for x86_64-mageia-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking SDL version only being 1.2.X... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of unsigned char... 1
checking size of unsigned short... 2
checking size of unsigned int... 4
checking size of unsigned long... 8
checking size of unsigned long long... 8
checking size of int *... 8
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for pwd.h... yes
checking if environ can be included... yes
checking if environ can be linked... yes
checking if dirent includes d_type... yes
checking for powf in libm... yes
checking if compiler allows __attribute__... yes
checking if compiler allows __attribute__((always_inline)) ... yes
checking if compiler allows __attribute__((fastcall)) ... no
checking if compiler allows __builtin_expect... yes
checking if compiler supports -mno-ms-bitfields... yes
checking for ALSA CFLAGS... 
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... found.
checking for snd_ctl_open in -lasound... yes
checking whether byte ordering is bigendian... no
enabling inlined memory handling in CPU Core
checking for target cpu type... x86-64 bit compatible
checking whether Apple user wants to override the build process to produce a 32 bit binary... no, not on Apple
checking whether x86 dynamic cpu core will be enabled... no
checking whether recompiling cpu core will be enabled... yes
checking whether fpu emulation will be enabled... yes
checking whether x86 assembly fpu core will be enabled... no
checking whether to enable unaligned memory access... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_get_io_ptr in -lpng... yes
checking SDL_net.h usability... yes
checking SDL_net.h presence... yes
checking for SDL_net.h... yes
checking for SDLNet_Init in -lSDL_net... yes
checking for main in -lX11... yes
checking X11/XKBlib.h usability... yes
checking X11/XKBlib.h presence... yes
checking for X11/XKBlib.h... yes
checking for XKBlib support... yes
checking for main in -lGL... yes
checking for main in -lopengl32... no
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking whether opengl display output will be enabled... yes
checking SDL_sound.h usability... yes
checking SDL_sound.h presence... yes
checking for SDL_sound.h... yes
checking for Sound_Init in -lSDL_sound... yes
checking for Sound_Seek in -lSDL_sound... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mprotect... yes
checking for realpath... yes
checking for setpriority support... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/cpu/Makefile
config.status: creating src/cpu/core_full/Makefile
config.status: creating src/cpu/core_normal/Makefile
config.status: creating src/cpu/core_dyn_x86/Makefile
config.status: creating src/cpu/core_dynrec/Makefile
config.status: creating src/debug/Makefile
config.status: creating src/dos/Makefile
config.status: creating src/fpu/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/hardware/Makefile
config.status: creating src/hardware/mame/Makefile
config.status: creating src/hardware/serialport/Makefile
config.status: creating src/ints/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/zmbv/Makefile
config.status: creating src/libs/gui_tk/Makefile
config.status: creating src/misc/Makefile
config.status: creating src/shell/Makefile
config.status: creating src/platform/Makefile
config.status: creating src/platform/visualc/Makefile
config.status: creating visualc_net/Makefile
config.status: creating include/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ /usr/bin/make -O -j16 V=1 VERBOSE=1
/usr/bin/make  all-recursive
Making all in src
Making all in cpu
Making all in core_full
make[4]: Nothing to be done for 'all'.
Making all in core_normal
make[4]: Nothing to be done for 'all'.
Making all in core_dyn_x86
make[4]: Nothing to be done for 'all'.
Making all in core_dynrec
make[4]: Nothing to be done for 'all'.
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o modrm.o modrm.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o core_dyn_x86.o core_dyn_x86.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o callback.o callback.cpp
callback.cpp: In function 'Bitu CALLBACK_SetupExtra(Bitu, Bitu, PhysPt, bool)':
callback.cpp:435:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  435 |                 E_Exit("CALLBACK:Setup:Illegal type %d",type);
      |                                                     ~^  ~~~~
      |                                                      |  |
      |                                                      |  Bitu {aka long unsigned int}
      |                                                      int
      |                                                     %ld
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o flags.o flags.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o paging.o paging.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o cpu.o cpu.cpp
cpu.cpp: In function 'bool CPU_SwitchTask(Bitu, TSwitchType, Bitu)':
cpu.cpp:348:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  348 |                 E_Exit("Illegal TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype);
      |                                                          ~^                 ~~~~~~~~~~~~~~~~
      |                                                           |                 |
      |                                                           unsigned int      Bitu {aka long unsigned int}
      |                                                          %lx
cpu.cpp:502:54: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  502 |                         E_Exit("Task switch CS Type %d",cs_desc.Type());
      |                                                     ~^  ~~~~~~~~~~~~~~
      |                                                      |              |
      |                                                      int            Bitu {aka long unsigned int}
      |                                                     %ld
cpu.cpp: In function 'void CPU_Interrupt(Bitu, Bitu, Bitu)':
cpu.cpp:724:107: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  724 |                                         E_Exit("INT:Gate Selector points to illegal descriptor with type %x",cs_desc.Type());
      |                                                                                                          ~^  ~~~~~~~~~~~~~~
      |                                                                                                           |              |
      |                                                                                                           unsigned int   Bitu {aka long unsigned int}
      |                                                                                                          %lx
cpu.cpp:754:58: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  754 |                         E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num);
      |                                                         ~^             ~~~~~~~~~~~
      |                                                          |                      |
      |                                                          unsigned int           Bitu {aka long unsigned int}
      |                                                         %lX
cpu.cpp:754:69: warning: format '%X' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  754 |                         E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num);
      |                                                                    ~^              ~~~
      |                                                                     |              |
      |                                                                     unsigned int   Bitu {aka long unsigned int}
      |                                                                    %lX
cpu.cpp: In function 'void CPU_IRET(bool, Bitu)':
cpu.cpp:901:63: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  901 |                         E_Exit("IRET:Illegal descriptor type %X",n_cs_desc.Type());
      |                                                              ~^  ~~~~~~~~~~~~~~~~
      |                                                               |                |
      |                                                               unsigned int     Bitu {aka long unsigned int}
      |                                                              %lX
cpu.cpp: In function 'void CPU_JMP(bool, Bitu, Bitu, Bitu)':
cpu.cpp:1058:62: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1058 |                         E_Exit("JMP Illegal descriptor type %X",desc.Type());
      |                                                             ~^  ~~~~~~~~~~~
      |                                                              |           |
      |                                                              |           Bitu {aka long unsigned int}
      |                                                              unsigned int
      |                                                             %lX
cpu.cpp: In function 'void CPU_CALL(bool, Bitu, Bitu, Bitu)':
cpu.cpp:1294:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1294 |                         E_Exit("CALL:Descriptor type %x unsupported",call.Type());
      |                                                      ~^              ~~~~~~~~~~~
      |                                                       |                       |
      |                                                       unsigned int            Bitu {aka long unsigned int}
      |                                                      %lx
cpu.cpp: In function 'void CPU_RET(bool, Bitu, Bitu)':
cpu.cpp:1352:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1352 |                                 E_Exit("RET from illegal descriptor type %X",desc.Type());
      |                                                                          ~^  ~~~~~~~~~~~
      |                                                                           |           |
      |                                                                           |           Bitu {aka long unsigned int}
      |                                                                           unsigned int
      |                                                                          %lX
cpu.cpp:1397:75: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1397 |                                 E_Exit("RET from illegal descriptor type %X",desc.Type());              // or #GP(selector)
      |                                                                          ~^  ~~~~~~~~~~~
      |                                                                           |           |
      |                                                                           |           Bitu {aka long unsigned int}
      |                                                                           unsigned int
      |                                                                          %lX
cpu.cpp: In function 'bool CPU_LTR(Bitu)':
cpu.cpp:1508:83: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1508 |                 if (!cpu_tss.SetSelector(selector)) E_Exit("LTR failed, selector=%X",selector);
      |                                                                                  ~^  ~~~~~~~~
      |                                                                                   |  |
      |                                                                                   |  Bitu {aka long unsigned int}
      |                                                                                   unsigned int
      |                                                                                  %lX
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o core_full.o core_full.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o core_dynrec.o core_dynrec.cpp
In file included from core_dynrec.cpp:135:
core_dynrec/cache.h: In function 'void cache_closeblock()':
core_dynrec/cache.h:503:100: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  503 |                         if (written>block->cache.size+CACHE_MAXSIZE) E_Exit("CacheBlock overrun 1 %d",written-block->cache.size);
      |                                                                                                   ~^  ~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                                                                                    |         |
      |                                                                                                    int       Bitu {aka long unsigned int}
      |                                                                                                   %ld
core_dynrec/cache.h:504:62: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  504 |                 } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size);
      |                                                             ~^          ~~~~~~~
      |                                                              |          |
      |                                                              int        Bitu {aka long unsigned int}
      |                                                             %ld
core_dynrec/cache.h:504:70: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  504 |                 } else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->cache.size);
      |                                                                     ~^          ~~~~~~~~~~~~~~~~~
      |                                                                      |                       |
      |                                                                      int                     Bitu {aka long unsigned int}
      |                                                                     %ld
In file included from core_dynrec/decoder.h:26,
                 from core_dynrec.cpp:155:
core_dynrec/dyn_fpu.h: In function 'void dyn_fpu_esc3()':
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
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
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o core_simple.o core_simple.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o core_prefetch.o core_prefetch.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o core_normal.o core_normal.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
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 
ranlib libcpu.a
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
Making all in debug
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o debug_gui.o debug_gui.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o debug_win32.o debug_win32.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o debug_disasm.o debug_disasm.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o debug.o debug.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
rm -f libdebug.a
ar cru libdebug.a debug.o debug_gui.o debug_disasm.o debug_win32.o 
ranlib libdebug.a
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
Making all in dos
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_ioctl.o dos_ioctl.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_tables.o dos_tables.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_misc.o dos_misc.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o drive_virtual.o drive_virtual.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o cdrom_ioctl_win32.o cdrom_ioctl_win32.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_memory.o dos_memory.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o drives.o drives.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o cdrom_aspi_win32.o cdrom_aspi_win32.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_execute.o dos_execute.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_devices.o dos_devices.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_classes.o dos_classes.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o drive_local.o drive_local.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos.o dos.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o drive_fat.o drive_fat.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o drive_iso.o drive_iso.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_files.o dos_files.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o cdrom_ioctl_os2.o cdrom_ioctl_os2.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o cdrom_ioctl_linux.o cdrom_ioctl_linux.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o cdrom.o cdrom.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o drive_cache.o drive_cache.cpp
drive_cache.cpp: In member function 'void DOS_Drive_Cache::CreateShortName(CFileInfo*, CFileInfo*)':
drive_cache.cpp:517:34: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  517 |                 sprintf(buffer,"%d",info->shortNr);
      |                                 ~^  ~~~~~~~~~~~~~
      |                                  |        |
      |                                  int      Bitu {aka long unsigned int}
      |                                 %ld
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_mscdex.o dos_mscdex.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_keyboard_layout.o dos_keyboard_layout.cpp
dos_keyboard_layout.cpp: In function 'Bit32u read_kcl_file(const char*, const char*, bool)':
dos_keyboard_layout.cpp:179:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  179 |                         fread(rbuf, sizeof(Bit8u), 2, tempfile);
      |                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_keyboard_layout.cpp:184:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  184 |                                 fread(rbuf, sizeof(Bit8u), 1, tempfile);
      |                                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_keyboard_layout.cpp: In member function 'Bitu keyboard_layout::read_codepage_file(const char*, Bit32s)':
dos_keyboard_layout.cpp:797:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  797 |                                 fread(&next_byte, sizeof(Bit8u), 1, tempfile);  found_at_pos++;
      |                                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_keyboard_layout.cpp:799:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  799 |                                         fread(&next_byte, sizeof(Bit8u), 1, tempfile);  found_at_pos++;
      |                                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_keyboard_layout.cpp:801:54: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  801 |                                                 fread(&next_byte, sizeof(Bit8u), 1, tempfile);  found_at_pos++;
      |                                                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_keyboard_layout.cpp:803:62: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  803 |                                                         fread(&next_byte, sizeof(Bit8u), 1, tempfile);  found_at_pos++;
      |                                                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_keyboard_layout.cpp:806:70: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  806 |                                                                 fread(&next_byte, sizeof(Bit8u), 1, tempfile);
      |                                                                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o cdrom_image.o cdrom_image.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dos_programs.o dos_programs.cpp
dos_programs.cpp: In member function 'virtual void BOOT::Run()':
dos_programs.cpp:698:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  698 |                                         fread(rombuf, 1, rombytesize_1-0x200, usefile_1);
      |                                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_programs.cpp:784:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  784 |                                         fread(rombuf, 1, 0x200, usefile_2);
      |                                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_programs.cpp:789:46: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  789 |                                         fread(rombuf, 1, rombytesize_2-0x200, usefile_2);
      |                                         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_programs.cpp:797:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  797 |                                 fread(rombuf, 1, 0x200, usefile_1);
      |                                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
dos_programs.cpp:802:38: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  802 |                                 fread(rombuf, 1, rombytesize_1-0x200, usefile_1);
      |                                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
rm -f libdos.a
ar cru libdos.a dos.o dos_devices.o dos_execute.o dos_files.o dos_ioctl.o dos_memory.o dos_misc.o dos_classes.o dos_programs.o dos_tables.o drives.o drive_virtual.o drive_local.o drive_cache.o drive_fat.o drive_iso.o dos_mscdex.o dos_keyboard_layout.o cdrom.o cdrom_ioctl_win32.o cdrom_aspi_win32.o cdrom_ioctl_linux.o cdrom_image.o cdrom_ioctl_os2.o 
ranlib libdos.a
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
Making all in fpu
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/fpu'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o fpu.o fpu.cpp
fpu.cpp: In function 'void FPU_ESC3_Normal(Bitu)':
fpu.cpp:389:61: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  389 |                         E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub);
      |                                                            ~^                 ~~~~~
      |                                                             |                 |
      |                                                             int               Bitu {aka long unsigned int}
      |                                                            %ld
fpu.cpp:389:76: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  389 |                         E_Exit("ESC 3:ILLEGAL OPCODE group %d subfunction %d",group,sub);
      |                                                                           ~^        ~~~
      |                                                                            |        |
      |                                                                            int      Bitu {aka long unsigned int}
      |                                                                           %ld
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/fpu'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/fpu'
rm -f libfpu.a
ar cru libfpu.a fpu.o 
ranlib libfpu.a
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/fpu'
Making all in gui
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o sdl_gui.o sdl_gui.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o midi.o midi.cpp
In file included from midi.cpp:91:
midi_oss.h: In member function 'virtual void MidiHandler_oss::PlaySysex(Bit8u*, Bitu)':
midi_oss.h:68:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
   68 |                 write(device,buf,pos);
      |                 ~~~~~^~~~~~~~~~~~~~~~
midi_oss.h: In member function 'virtual void MidiHandler_oss::PlayMsg(Bit8u*)':
midi_oss.h:58:22: warning: ignoring return value of 'ssize_t write(int, const void*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
   58 |                 write(device,buf,pos);
      |                 ~~~~~^~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o render.o render.cpp
render.cpp: In function 'void RENDER_Reset()':
render.cpp:484:50: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  484 |                 E_Exit("RENDER:Wrong source bpp %d", render.src.bpp );
      |                                                 ~^   ~~~~~~~~~~~~~~
      |                                                  |              |
      |                                                  int            Bitu {aka long unsigned int}
      |                                                 %ld
render.cpp: In function 'void IncreaseFrameSkip(bool)':
render.cpp:543:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  543 |         LOG_MSG("Frame Skip at %d",render.frameskip.max);
      |                                ~^  ~~~~~~~~~~~~~~~~~~~~
      |                                 |                   |
      |                                 int                 Bitu {aka long unsigned int}
      |                                %ld
render.cpp: In function 'void DecreaseFrameSkip(bool)':
render.cpp:551:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  551 |         LOG_MSG("Frame Skip at %d",render.frameskip.max);
      |                                ~^  ~~~~~~~~~~~~~~~~~~~~
      |                                 |                   |
      |                                 int                 Bitu {aka long unsigned int}
      |                                %ld
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o sdlmain.o sdlmain.cpp
sdlmain.cpp: In function 'void GFX_SetTitle(Bit32s, Bits, bool)':
sdlmain.cpp:294:84: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=]
  294 |                 sprintf(title,"DOSBox %s, Cpu speed: max %3d%% cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram);
      |                                                                                  ~~^                                        ~~~~~~~~~~~~~~~~~~
      |                                                                                    |                                        |
      |                                                                                    int                                      Bits {aka long int}
      |                                                                                  %2ld
sdlmain.cpp:296:78: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bits' {aka 'long int'} [-Wformat=]
  296 |                 sprintf(title,"DOSBox %s, Cpu speed: %8d cycles, Frameskip %2d, Program: %8s",VERSION,internal_cycles,internal_frameskip,RunningProgram);
      |                                                                            ~~^                                        ~~~~~~~~~~~~~~~~~~
      |                                                                              |                                        |
      |                                                                              int                                      Bits {aka long int}
      |                                                                            %2ld
sdlmain.cpp: In function 'Bitu GFX_SetSize(Bitu, Bitu, Bitu, double, double, GFX_CallBack_t)':
sdlmain.cpp:536:109: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  536 |                                 if (sdl.surface == NULL) E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",sdl.desktop.full.width,sdl.desktop.full.height,bpp,SDL_GetError());
      |                                                                                                            ~^                                                     ~~~
      |                                                                                                             |                                                     |
      |                                                                                                             int                                                   Bitu {aka long unsigned int}
      |                                                                                                            %li
sdlmain.cpp:543:86: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  543 |                                         E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
      |                                                                                     ~^            ~~~~~
      |                                                                                      |            |
      |                                                                                      int          Bitu {aka long unsigned int}
      |                                                                                     %li
sdlmain.cpp:543:89: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  543 |                                         E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
      |                                                                                        ~^               ~~~~~~
      |                                                                                         |               |
      |                                                                                         int             Bitu {aka long unsigned int}
      |                                                                                        %li
sdlmain.cpp:543:92: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  543 |                                         E_Exit("Could not set fullscreen video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
      |                                                                                           ~^                   ~~~
      |                                                                                            |                   |
      |                                                                                            int                 Bitu {aka long unsigned int}
      |                                                                                           %li
sdlmain.cpp:567:76: warning: format '%i' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  567 |                                 E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
      |                                                                           ~^            ~~~~~
      |                                                                            |            |
      |                                                                            int          Bitu {aka long unsigned int}
      |                                                                           %li
sdlmain.cpp:567:79: warning: format '%i' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  567 |                                 E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
      |                                                                              ~^               ~~~~~~
      |                                                                               |               |
      |                                                                               int             Bitu {aka long unsigned int}
      |                                                                              %li
sdlmain.cpp:567:82: warning: format '%i' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  567 |                                 E_Exit("Could not set windowed video mode %ix%i-%i: %s",width,height,bpp,SDL_GetError());
      |                                                                                 ~^                   ~~~
      |                                                                                  |                   |
      |                                                                                  int                 Bitu {aka long unsigned int}
      |                                                                                 %li
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o sdl_mapper.o sdl_mapper.cpp
sdl_mapper.cpp: In member function 'virtual void CJAxisBind::ConfigName(char*)':
sdl_mapper.cpp:544:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  544 |                 sprintf(buf,"%s axis %d %d",group->ConfigStart(),axis,positive ? 1 : 0);
      |                                      ~^                          ~~~~
      |                                       |                          |
      |                                       int                        Bitu {aka long unsigned int}
      |                                      %ld
sdl_mapper.cpp: In member function 'virtual void CJAxisBind::BindName(char*)':
sdl_mapper.cpp:547:39: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  547 |                 sprintf(buf,"%s Axis %d%s",group->BindStart(),axis,positive ? "+" : "-");
      |                                      ~^                       ~~~~
      |                                       |                       |
      |                                       int                     Bitu {aka long unsigned int}
      |                                      %ld
sdl_mapper.cpp: In member function 'virtual void CJButtonBind::ConfigName(char*)':
sdl_mapper.cpp:562:41: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  562 |                 sprintf(buf,"%s button %d",group->ConfigStart(),button);
      |                                        ~^                       ~~~~~~
      |                                         |                       |
      |                                         int                     Bitu {aka long unsigned int}
      |                                        %ld
sdl_mapper.cpp: In member function 'virtual void CJButtonBind::BindName(char*)':
sdl_mapper.cpp:565:41: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  565 |                 sprintf(buf,"%s Button %d",group->BindStart(),button);
      |                                        ~^                     ~~~~~~
      |                                         |                     |
      |                                         int                   Bitu {aka long unsigned int}
      |                                        %ld
sdl_mapper.cpp: In member function 'virtual void CJHatBind::ConfigName(char*)':
sdl_mapper.cpp:586:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  586 |                 sprintf(buf,"%s hat %d %d",group->ConfigStart(),hat,dir);
      |                                     ~^                          ~~~
      |                                      |                          |
      |                                      int                        Bitu {aka long unsigned int}
      |                                     %ld
sdl_mapper.cpp: In member function 'virtual void CJHatBind::BindName(char*)':
sdl_mapper.cpp:589:38: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  589 |                 sprintf(buf,"%s Hat %d %s",group->BindStart(),hat,(dir==SDL_HAT_UP)?"up":
      |                                     ~^                        ~~~
      |                                      |                        |
      |                                      int                      Bitu {aka long unsigned int}
      |                                     %ld
sdl_mapper.cpp: In constructor 'CStickBindGroup::CStickBindGroup(Bitu, Bitu, bool)':
sdl_mapper.cpp:606:44: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  606 |                 sprintf(configname,"stick_%d",emustick);
      |                                           ~^  ~~~~~~~~
      |                                            |  |
      |                                            |  Bitu {aka long unsigned int}
      |                                            int
      |                                           %ld
sdl_mapper.cpp:659:50: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  659 |                 LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats);
      |                                                 ~^                                                         ~~~~
      |                                                  |                                                         |
      |                                                  int                                                       Bitu {aka long unsigned int}
      |                                                 %ld
sdl_mapper.cpp:659:59: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  659 |                 LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats);
      |                                                          ~^                                                     ~~~~~~~
      |                                                           |                                                     |
      |                                                           int                                                   Bitu {aka long unsigned int}
      |                                                          %ld
sdl_mapper.cpp:659:74: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  659 |                 LOG_MSG("Using joystick %s with %d axes, %d buttons and %d hat(s)",SDL_JoystickName(stick),axes,buttons,hats);
      |                                                                         ~^                                              ~~~~
      |                                                                          |                                              |
      |                                                                          int                                            Bitu {aka long unsigned int}
      |                                                                         %ld
sdl_mapper.cpp: In member function 'void CHandlerEvent::MakeDefaultBind(char*)':
sdl_mapper.cpp:1588:40: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1588 |                 sprintf(buf,"%s \"key %d%s%s%s\"",
      |                                       ~^
      |                                        |
      |                                        int
      |                                       %ld
 1589 |                         entry,
 1590 |                         key,
      |                         ~~~             
      |                         |
      |                         Bitu {aka long unsigned int}
sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, bool, CJAxisEvent*)':
sdl_mapper.cpp:1688:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1688 |         sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
      |                            ~^       ~~~~~
      |                             |       |
      |                             int     Bitu {aka long unsigned int}
      |                            %ld
sdl_mapper.cpp:1688:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1688 |         sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
      |                               ~^          ~~~~
      |                                |          |
      |                                int        Bitu {aka long unsigned int}
      |                               %ld
sdl_mapper.cpp: In function 'CJAxisEvent* AddJAxisButton_hidden(Bitu, Bitu, bool, CJAxisEvent*)':
sdl_mapper.cpp:1695:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1695 |         sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
      |                            ~^       ~~~~~
      |                             |       |
      |                             int     Bitu {aka long unsigned int}
      |                            %ld
sdl_mapper.cpp:1695:32: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1695 |         sprintf(buf,"jaxis_%d_%d%s",stick,axis,positive ? "+" : "-");
      |                               ~^          ~~~~
      |                                |          |
      |                                int        Bitu {aka long unsigned int}
      |                               %ld
sdl_mapper.cpp: In function 'void AddJButtonButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu)':
sdl_mapper.cpp:1701:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1701 |         sprintf(buf,"jbutton_%d_%d",stick,button);
      |                              ~^     ~~~~~
      |                               |     |
      |                               int   Bitu {aka long unsigned int}
      |                              %ld
sdl_mapper.cpp:1701:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1701 |         sprintf(buf,"jbutton_%d_%d",stick,button);
      |                                 ~^        ~~~~~~
      |                                  |        |
      |                                  int      Bitu {aka long unsigned int}
      |                                 %ld
sdl_mapper.cpp: In function 'void AddJButtonButton_hidden(Bitu, Bitu)':
sdl_mapper.cpp:1707:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1707 |         sprintf(buf,"jbutton_%d_%d",stick,button);
      |                              ~^     ~~~~~
      |                               |     |
      |                               int   Bitu {aka long unsigned int}
      |                              %ld
sdl_mapper.cpp:1707:34: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1707 |         sprintf(buf,"jbutton_%d_%d",stick,button);
      |                                 ~^        ~~~~~~
      |                                  |        |
      |                                  int      Bitu {aka long unsigned int}
      |                                 %ld
sdl_mapper.cpp: In function 'void AddJHatButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu, Bitu, Bitu)':
sdl_mapper.cpp:1713:28: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1713 |         sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir);
      |                           ~^        ~~~~~~
      |                            |        |
      |                            int      Bitu {aka long unsigned int}
      |                           %ld
sdl_mapper.cpp:1713:31: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1713 |         sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir);
      |                              ~^            ~~~~
      |                               |            |
      |                               int          Bitu {aka long unsigned int}
      |                              %ld
sdl_mapper.cpp:1713:34: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1713 |         sprintf(buf,"jhat_%d_%d_%d",_stick,_hat,_dir);
      |                                 ~^              ~~~~
      |                                  |              |
      |                                  int            Bitu {aka long unsigned int}
      |                                 %ld
sdl_mapper.cpp: In function 'void AddModButton(Bitu, Bitu, Bitu, Bitu, const char*, Bitu)':
sdl_mapper.cpp:1720:27: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1720 |         sprintf(buf,"mod_%d",_mod);
      |                          ~^  ~~~~
      |                           |  |
      |                           |  Bitu {aka long unsigned int}
      |                           int
      |                          %ld
sdl_mapper.cpp: In function 'void CreateDefaultBinds()':
sdl_mapper.cpp:2061:47: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 2061 |                 sprintf(buffer,"key_%s \"key %d\"",DefaultKeys[i].eventend,DefaultKeys[i].key);
      |                                              ~^                            ~~~~~~~~~~~~~~~~~~
      |                                               |                                           |
      |                                               int                                         Bitu {aka long unsigned int}
      |                                              %ld
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o render_scalers.o render_scalers.cpp
In file included from render_templates.h:434,
                 from render_scalers.cpp:129:
render_templates_sai.h: In function 'void Super2xSaI_15(Bit16u*, Bit16u*, const Bit16u*)':
render_templates_sai.h:46:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   46 |                 register int r = 0;
      |                              ^
render_templates_sai.h: In function 'void SuperEagle_15(Bit16u*, Bit16u*, const Bit16u*)':
render_templates_sai.h:130:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  130 |                         register int r = 0;
      |                                      ^
render_templates_sai.h: In function 'void _2xSaI_15(Bit16u*, Bit16u*, const Bit16u*)':
render_templates_sai.h:188:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  188 |                         register int r = 0;
      |                                      ^
In file included from render_templates.h:434,
                 from render_scalers.cpp:144:
render_templates_sai.h: In function 'void Super2xSaI_16(Bit16u*, Bit16u*, const Bit16u*)':
render_templates_sai.h:46:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   46 |                 register int r = 0;
      |                              ^
render_templates_sai.h: In function 'void SuperEagle_16(Bit16u*, Bit16u*, const Bit16u*)':
render_templates_sai.h:130:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  130 |                         register int r = 0;
      |                                      ^
render_templates_sai.h: In function 'void _2xSaI_16(Bit16u*, Bit16u*, const Bit16u*)':
render_templates_sai.h:188:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  188 |                         register int r = 0;
      |                                      ^
In file included from render_templates.h:434,
                 from render_scalers.cpp:159:
render_templates_sai.h: In function 'void Super2xSaI_32(Bit32u*, Bit32u*, const Bit32u*)':
render_templates_sai.h:46:30: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   46 |                 register int r = 0;
      |                              ^
render_templates_sai.h: In function 'void SuperEagle_32(Bit32u*, Bit32u*, const Bit32u*)':
render_templates_sai.h:130:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  130 |                         register int r = 0;
      |                                      ^
render_templates_sai.h: In function 'void _2xSaI_32(Bit32u*, Bit32u*, const Bit32u*)':
render_templates_sai.h:188:38: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
  188 |                         register int r = 0;
      |                                      ^
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
rm -f libgui.a
ar cru libgui.a sdlmain.o sdl_mapper.o render.o render_scalers.o midi.o sdl_gui.o 
ranlib libgui.a
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
Making all in hardware
Making all in serialport
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o libserial.o libserial.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o misc_util.o misc_util.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o serialdummy.o serialdummy.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o directserial.o directserial.cpp
directserial.cpp: In constructor 'CDirectSerial::CDirectSerial(Bitu, CommandLine*)':
directserial.cpp:46:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
   46 |         LOG_MSG ("Serial%d: Opening %s", COMNUMBER, tmpstring.c_str());
      |                         ~^
      |                          |
      |                          int
      |                         %ld
directserial.cpp:50:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
   50 |                 LOG_MSG("Serial%d: Serial Port \"%s\" could not be opened.",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
directserial.cpp: In member function 'virtual void CDirectSerial::updatePortConfig(Bit16u, Bit8u)':
directserial.cpp:277:34: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  277 |                 LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)",
      |                                 ~^
      |                                  |
      |                                  int
      |                                 %ld
directserial.cpp:277:73: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  277 |                 LOG_MSG ("Serial%d: Desired serial mode not supported (%d,%d,%c,%d)",
      |                                                                        ~^
      |                                                                         |
      |                                                                         int
      |                                                                        %ld
  278 |                         COMNUMBER, baudrate,bytelength,parity,stopbits);
      |                                    ~~~~~~~~                              
      |                                    |
      |                                    Bitu {aka long unsigned int}
directserial.cpp: In member function 'virtual void CDirectSerial::transmitByte(Bit8u, bool)':
directserial.cpp:294:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  294 |                 LOG_MSG("Serial%d: COM port error: write failed!", COMNUMBER);
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o nullmodem.o nullmodem.cpp
nullmodem.cpp: In constructor 'CNullModem::CNullModem(Bitu, CommandLine*)':
nullmodem.cpp:108:65: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  108 |                                                 LOG_MSG("Serial%d: Connection failed.",COMNUMBER);
      |                                                                ~^
      |                                                                 |
      |                                                                 int
      |                                                                %ld
nullmodem.cpp:121:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  121 |                                         LOG_MSG("Serial%d: Connected to %s",COMNUMBER,peernamebuf);
      |                                                        ~^
      |                                                         |
      |                                                         int
      |                                                        %ld
nullmodem.cpp:136:57: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  136 |                                         LOG_MSG("Serial%d: -socket start parameter missing.",COMNUMBER);
      |                                                        ~^
      |                                                         |
      |                                                         int
      |                                                        %ld
nullmodem.cpp:141:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  141 |                         LOG_MSG("Serial%d: socket inheritance not supported on this platform.",
      |                                        ~^
      |                                         |
      |                                         int
      |                                        %ld
nullmodem.cpp:163:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  163 |                         LOG_MSG("Serial%d: Waiting for DTR...",COMNUMBER);
      |                                        ~^
      |                                         |
      |                                         int
      |                                        %ld
nullmodem.cpp:170:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  170 |                 LOG_MSG("Serial%d: Nullmodem server waiting for connection on port %d...",
      |                                ~^
      |                                 |
      |                                 int
      |                                %ld
nullmodem.cpp: In member function 'void CNullModem::ClientConnect()':
nullmodem.cpp:226:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  226 |                 LOG_MSG("Serial%d: Connection failed.",idnumber+1);
      |                                ~^                      ~~~~~~~~~~
      |                                 |                              |
      |                                 int                            Bitu {aka long unsigned int}
      |                                %ld
nullmodem.cpp:236:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  236 |         LOG_MSG("Serial%d: Connected to %s",idnumber+1,peernamebuf);
      |                        ~^                   ~~~~~~~~~~
      |                         |                           |
      |                         int                         Bitu {aka long unsigned int}
      |                        %ld
nullmodem.cpp: In member function 'void CNullModem::Disconnect()':
nullmodem.cpp:244:25: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  244 |         LOG_MSG("Serial%d: Disconnected.",COMNUMBER);
      |                        ~^
      |                         |
      |                         int
      |                        %ld
nullmodem.cpp: In member function 'virtual void CNullModem::handleUpperEvent(Bit16u)':
nullmodem.cpp:388:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  388 |                                 LOG_MSG("Serial%d: A client (%s) has connected.",COMNUMBER,peeripbuf);
      |                                                ~^
      |                                                 |
      |                                                 int
      |                                                %ld
nullmodem.cpp: In member function 'Bits CNullModem::TelnetEmulation(Bit8u)':
nullmodem.cpp:462:49: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  462 |                                 LOG_MSG("Serial%d: Unrecognized telnet option %d",COMNUMBER, data);
      |                                                ~^
      |                                                 |
      |                                                 int
      |                                                %ld
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o softmodem.o softmodem.cpp
In file included from softmodem.cpp:31:
softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)':
softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
   95 |                                 LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len);
      |                                                                          ~^   ~~~~
      |                                                                           |   |
      |                                                                           |   Bitu {aka long unsigned int}
      |                                                                           unsigned int
      |                                                                          %lu
softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)':
softmodem.h:129:76: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  129 |                                 LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len);
      |                                                                           ~^   ~~~~
      |                                                                            |   |
      |                                                                            int Bitu {aka long unsigned int}
      |                                                                           %ld
softmodem.cpp: In member function 'void CSerialModem::EnterIdleState()':
softmodem.cpp:280:41: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  280 |                         LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport);
      |                                        ~^
      |                                         |
      |                                         int
      |                                        %ld
softmodem.cpp:280:75: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  280 |                         LOG_MSG("Serial%d: Modem could not open TCP port %d.",COMNUMBER,listenport);
      |                                                                          ~^             ~~~~~~~~~~
      |                                                                           |             |
      |                                                                           int           Bitu {aka long unsigned int}
      |                                                                          %ld
softmodem.cpp:283:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  283 |                 } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport);
      |                                       ~^
      |                                        |
      |                                        int
      |                                       %ld
softmodem.cpp:283:68: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  283 |                 } else LOG_MSG("Serial%d: Modem listening on port %d...",COMNUMBER,listenport);
      |                                                                   ~^               ~~~~~~~~~~
      |                                                                    |               |
      |                                                                    int             Bitu {aka long unsigned int}
      |                                                                   %ld
softmodem.cpp: In member function 'void CSerialModem::DoCommand()':
softmodem.cpp:513:80: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  513 |                                         LOG_MSG("Modem: Unhandled command: &%c%d",cmdchar,ScanNumber(scanbuf));
      |                                                                               ~^          ~~~~~~~~~~~~~~~~~~~
      |                                                                                |                    |
      |                                                                                int                  Bitu {aka long unsigned int}
      |                                                                               %ld
softmodem.cpp:533:81: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  533 |                                         LOG_MSG("Modem: Unhandled command: \\%c%d",cmdchar, ScanNumber(scanbuf));
      |                                                                                ~^           ~~~~~~~~~~~~~~~~~~~
      |                                                                                 |                     |
      |                                                                                 int                   Bitu {aka long unsigned int}
      |                                                                                %ld
softmodem.cpp:542:63: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  542 |                         LOG_MSG("Modem: Unhandled command: %c%d",chr,ScanNumber(scanbuf));
      |                                                              ~^      ~~~~~~~~~~~~~~~~~~~
      |                                                               |                |
      |                                                               int              Bitu {aka long unsigned int}
      |                                                              %ld
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o serialport.o serialport.cpp
In file included from serialport.cpp:35:
softmodem.h: In member function 'void CFifo::adds(Bit8u*, Bitu)':
softmodem.h:95:75: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
   95 |                                 LOG_MSG("MODEM: FIFO Overflow! (adds len %u)",_len);
      |                                                                          ~^   ~~~~
      |                                                                           |   |
      |                                                                           |   Bitu {aka long unsigned int}
      |                                                                           unsigned int
      |                                                                          %lu
softmodem.h: In member function 'void CFifo::gets(Bit8u*, Bitu)':
softmodem.h:129:76: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  129 |                                 LOG_MSG("MODEM: FIFO UNDERFLOW! (gets len %d)",_len);
      |                                                                           ~^   ~~~~
      |                                                                            |   |
      |                                                                            int Bitu {aka long unsigned int}
      |                                                                           %ld
serialport.cpp: In member function 'void CSerial::handleEvent(Bit16u)':
serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  272 |                         LOG_MSG("Serial%d: Errors: "\
      |                                 ^~~~~~~~~~~~~~~~~~~~~
  273 |                                 "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d",
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  272 |                         LOG_MSG("Serial%d: Errors: "\
      |                                 ^~~~~~~~~~~~~~~~~~~~~
  273 |                                 "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d",
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                                 COMNUMBER, framingErrors, parityErrors, overrunErrors,
      |                                            ~~~~~~~~~~~~~
      |                                            |
      |                                            Bitu {aka long unsigned int}
serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  272 |                         LOG_MSG("Serial%d: Errors: "\
      |                                 ^~~~~~~~~~~~~~~~~~~~~
  273 |                                 "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d",
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                                 COMNUMBER, framingErrors, parityErrors, overrunErrors,
      |                                                           ~~~~~~~~~~~~
      |                                                           |
      |                                                           Bitu {aka long unsigned int}
serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  272 |                         LOG_MSG("Serial%d: Errors: "\
      |                                 ^~~~~~~~~~~~~~~~~~~~~
  273 |                                 "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d",
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                                 COMNUMBER, framingErrors, parityErrors, overrunErrors,
      |                                                                         ~~~~~~~~~~~~~
      |                                                                         |
      |                                                                         Bitu {aka long unsigned int}
serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  272 |                         LOG_MSG("Serial%d: Errors: "\
      |                                 ^~~~~~~~~~~~~~~~~~~~~
  273 |                                 "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d",
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                                 COMNUMBER, framingErrors, parityErrors, overrunErrors,
  275 |                                 overrunIF0,txOverrunErrors, breakErrors);
      |                                 ~~~~~~~~~~
      |                                 |
      |                                 Bitu {aka long unsigned int}
serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 7 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  272 |                         LOG_MSG("Serial%d: Errors: "\
      |                                 ^~~~~~~~~~~~~~~~~~~~~
  273 |                                 "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d",
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                                 COMNUMBER, framingErrors, parityErrors, overrunErrors,
  275 |                                 overrunIF0,txOverrunErrors, breakErrors);
      |                                            ~~~~~~~~~~~~~~~
      |                                            |
      |                                            Bitu {aka long unsigned int}
serialport.cpp:272:33: warning: format '%d' expects argument of type 'int', but argument 8 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  272 |                         LOG_MSG("Serial%d: Errors: "\
      |                                 ^~~~~~~~~~~~~~~~~~~~~
  273 |                                 "Framing %d, Parity %d, Overrun RX:%d (IF0:%d), TX:%d, Break %d",
      |                                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  274 |                                 COMNUMBER, framingErrors, parityErrors, overrunErrors,
  275 |                                 overrunIF0,txOverrunErrors, breakErrors);
      |                                                             ~~~~~~~~~~~
      |                                                             |
      |                                                             Bitu {aka long unsigned int}
serialport.cpp: In static member function 'static bool CSerial::getBituSubstring(const char*, Bitu*, CommandLine*)':
serialport.cpp:1140:29: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=]
 1140 |         if(sscanf(tmpchar,"%u",data)!=1) return false;
      |                            ~^  ~~~~
      |                             |  |
      |                             |  Bitu* {aka long unsigned int*}
      |                             unsigned int*
      |                            %lu
serialport.cpp: In constructor 'SERIALPORTS::SERIALPORTS(Section*)':
serialport.cpp:1264:66: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1264 |                                 LOG_MSG("Invalid type for serial%d",i+1);
      |                                                                 ~^  ~~~
      |                                                                  |   |
      |                                                                  int Bitu {aka long unsigned int}
      |                                                                 %ld
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
rm -f libserial.a
ar cru libserial.a directserial.o libserial.o serialdummy.o serialport.o softmodem.o misc_util.o nullmodem.o 
ranlib libserial.a
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
Making all in mame
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o saa1099.o saa1099.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o sn76496.o sn76496.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
rm -f libmame.a
ar cru libmame.a saa1099.o sn76496.o 
ranlib libmame.a
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_attr.o vga_attr.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o keyboard.o keyboard.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga.o vga.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_crtc.o vga_crtc.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_gfx.o vga_gfx.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_dac.o vga_dac.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o joystick.o joystick.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o iohandler.o iohandler.cpp
iohandler.cpp: In member function 'void IO_ReadHandleObject::Install(Bitu, Bitu (*)(Bitu, Bitu), Bitu, Bitu)':
iohandler.cpp:119:64: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  119 |         } else E_Exit("IO_readHandler allready installed port %x",port);
      |                                                               ~^  ~~~~
      |                                                                |  |
      |                                                                |  Bitu {aka long unsigned int}
      |                                                                unsigned int
      |                                                               %lx
iohandler.cpp: In member function 'void IO_WriteHandleObject::Install(Bitu, void (*)(Bitu, Bitu, Bitu), Bitu, Bitu)':
iohandler.cpp:134:65: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  134 |         } else E_Exit("IO_writeHandler allready installed port %x",port);
      |                                                                ~^  ~~~~
      |                                                                 |  |
      |                                                                 |  Bitu {aka long unsigned int}
      |                                                                 unsigned int
      |                                                                %lx
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o gameblaster.o gameblaster.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dma.o dma.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o pic.o pic.cpp
pic.cpp: In function 'void write_data(Bitu, Bitu, Bitu)':
pic.cpp:204:55: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  204 |                 if ((val&0x01)==0) E_Exit("PIC:ICW4: %x, 8085 mode not handled",val);
      |                                                      ~^                         ~~~
      |                                                       |                         |
      |                                                       unsigned int              Bitu {aka long unsigned int}
      |                                                      %lx
pic.cpp:205:56: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  205 |                 if ((val&0x10)!=0) LOG_MSG("PIC:ICW4: %x, special fully-nested mode not handled",val);
      |                                                       ~^                                         ~~~
      |                                                        |                                         |
      |                                                        unsigned int                              Bitu {aka long unsigned int}
      |                                                       %lx
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_other.o vga_other.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_seq.o vga_seq.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o pcspeaker.o pcspeaker.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o tandy_sound.o tandy_sound.cpp
tandy_sound.cpp: In function 'Bitu TandyDACRead(Bitu, Bitu)':
tandy_sound.cpp:230:48: warning: format '%X' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  230 |         LOG_MSG("Tandy DAC: Read from unknown %X",port);
      |                                               ~^  ~~~~
      |                                                |  |
      |                                                |  Bitu {aka long unsigned int}
      |                                                unsigned int
      |                                               %lX
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o timer.o timer.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_s3.o vga_s3.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_misc.o vga_misc.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o memory.o memory.cpp
memory.cpp: In constructor 'MEMORY::MEMORY(Section*)':
memory.cpp:564:70: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  564 |                 if (!MemBase) E_Exit("Can't allocate main memory of %d MB",memsize);
      |                                                                     ~^     ~~~~~~~
      |                                                                      |     |
      |                                                                      int   Bitu {aka long unsigned int}
      |                                                                     %ld
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o ipxserver.o ipxserver.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_draw.o vga_draw.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_paradise.o vga_paradise.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o mixer.o mixer.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_xga.o vga_xga.cpp
vga_xga.cpp: In function 'void XGA_Write_Multifunc(Bitu, Bitu)':
vga_xga.cpp:108:72: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  108 |                         LOG_MSG("XGA: Unhandled multifunction command %x", regselect);
      |                                                                       ~^   ~~~~~~~~~
      |                                                                        |   |
      |                                                                        |   Bitu {aka long unsigned int}
      |                                                                        unsigned int
      |                                                                       %lx
vga_xga.cpp: In function 'void XGA_DrawLineVector(Bitu)':
vga_xga.cpp:329:72: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  329 |                                 LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode);
      |                                                                       ~^   ~~~~~~~
      |                                                                        |   |
      |                                                                        |   Bitu {aka long unsigned int}
      |                                                                        unsigned int
      |                                                                       %lx
vga_xga.cpp: In function 'void XGA_DrawLineBresenham(Bitu)':
vga_xga.cpp:433:80: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  433 |                                         LOG_MSG("XGA: DrawLine: Needs mixmode %x", mixmode);
      |                                                                               ~^   ~~~~~~~
      |                                                                                |   |
      |                                                                                |   Bitu {aka long unsigned int}
      |                                                                                unsigned int
      |                                                                               %lx
vga_xga.cpp: In function 'void XGA_DrawRectangle(Bitu)':
vga_xga.cpp:505:80: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  505 |                                         LOG_MSG("XGA: DrawRect: Needs mixmode %x", mixmode);
      |                                                                               ~^   ~~~~~~~
      |                                                                                |   |
      |                                                                                |   Bitu {aka long unsigned int}
      |                                                                                unsigned int
      |                                                                               %lx
vga_xga.cpp: In function 'void XGA_DrawWait(Bitu, Bitu)':
vga_xga.cpp:642:112: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  642 |                                                         LOG_MSG("XGA: unsupported bpp / datawidth combination %x",
      |                                                                                                               ~^
      |                                                                                                                |
      |                                                                                                                unsigned int
      |                                                                                                               %lx
  643 |                                                                 xga.waitcmd.buswidth);
      |                                                                 ~~~~~~~~~~~~~~~~~~~~                            
      |                                                                             |
      |                                                                             Bitu {aka long unsigned int}
vga_xga.cpp:690:118: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  690 |                                                                         LOG_MSG("XGA: DrawBlitWait: Unsupported src %x",
      |                                                                                                                     ~^
      |                                                                                                                      |
      |                                                                                                                      unsigned int
      |                                                                                                                     %lx
  691 |                                                                                 (mixmode >> 5) & 0x03);
      |                                                                                 ~~~~~~~~~~~~~~~~~~~~~                 
      |                                                                                                |
      |                                                                                                Bitu {aka long unsigned int}
vga_xga.cpp:710:89: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  710 |                                         LOG_MSG("XGA: DrawBlitWait: Unhandled mixmode: %d", mixmode);
      |                                                                                        ~^   ~~~~~~~
      |                                                                                         |   |
      |                                                                                         int Bitu {aka long unsigned int}
      |                                                                                        %ld
vga_xga.cpp: In function 'void XGA_Write(Bitu, Bitu, Bitu)':
vga_xga.cpp:1167:59: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1167 |                         else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len);
      |                                                          ~^                   ~~~~
      |                                                           |                   |
      |                                                           unsigned int        Bitu {aka long unsigned int}
      |                                                          %lx
vga_xga.cpp:1167:67: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1167 |                         else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len);
      |                                                                  ~^                 ~~~
      |                                                                   |                 |
      |                                                                   unsigned int      Bitu {aka long unsigned int}
      |                                                                  %lx
vga_xga.cpp:1167:75: warning: format '%x' expects argument of type 'unsigned int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
 1167 |                         else LOG_MSG("XGA: Wrote to port %x with %x, len %x", port, val, len);
      |                                                                          ~^              ~~~
      |                                                                           |              |
      |                                                                           unsigned int   Bitu {aka long unsigned int}
      |                                                                          %lx
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_tseng.o vga_tseng.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o vga_memory.o vga_memory.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o disney.o disney.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o cmos.o cmos.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o mpu401.o mpu401.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o hardware.o hardware.cpp
hardware.cpp: In function 'FILE* OpenCaptureFile(const char*, const char*)':
hardware.cpp:122:37: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  122 |         sprintf(file_name,"%s%c%s%03d%s",capturedir.c_str(),CROSS_FILESPLIT,file_start,last,ext);
      |                                  ~~~^                                                  ~~~~
      |                                     |                                                  |
      |                                     int                                                Bitu {aka long unsigned int}
      |                                  %03ld
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o sblaster.o sblaster.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o ipx.o ipx.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o gus.o gus.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dbopl.o dbopl.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o adlib.o adlib.cpp
adlib.cpp: In member function 'void Adlib::Capture::CloseFile()':
adlib.cpp:257:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member]
  257 |                         var_write( &header.versionHigh, header.versionHigh );
      |                                    ^~~~~~~~~~~~~~~~~~~
adlib.cpp:258:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member]
  258 |                         var_write( &header.versionLow, header.versionLow );
      |                                    ^~~~~~~~~~~~~~~~~~
adlib.cpp:259:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member]
  259 |                         var_write( &header.commands, header.commands );
      |                                    ^~~~~~~~~~~~~~~~
adlib.cpp:260:36: warning: taking address of packed member of 'Adlib::RawHeader' may result in an unaligned pointer value [-Waddress-of-packed-member]
  260 |                         var_write( &header.milliseconds, header.milliseconds );
      |                                    ^~~~~~~~~~~~~~~~~~~~
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
rm -f libhardware.a
ar cru libhardware.a adlib.o dma.o gameblaster.o hardware.o iohandler.o joystick.o keyboard.o memory.o mixer.o pcspeaker.o pic.o sblaster.o tandy_sound.o timer.o vga.o vga_attr.o vga_crtc.o vga_dac.o vga_draw.o vga_gfx.o vga_other.o vga_memory.o vga_misc.o vga_seq.o vga_xga.o vga_s3.o vga_tseng.o vga_paradise.o cmos.o disney.o gus.o mpu401.o ipx.o ipxserver.o dbopl.o 
ranlib libhardware.a
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
Making all in libs
Making all in zmbv
make[4]: Nothing to be done for 'all'.
Making all in gui_tk
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/gui_tk'
g++ -DHAVE_CONFIG_H -I. -I../../..  -I../../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o gui_tk.o gui_tk.cpp
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/gui_tk'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/gui_tk'
rm -f libgui_tk.a
ar cru libgui_tk.a gui_tk.o 
ranlib libgui_tk.a
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/gui_tk'
make[4]: Nothing to be done for 'all-am'.
Making all in ints
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10_vptable.o int10_vptable.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10_put_pixel.o int10_put_pixel.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10_misc.o int10_misc.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10_memory.o int10_memory.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10_pal.o int10_pal.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10_video_state.o int10_video_state.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10_char.o int10_char.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10_modes.o int10_modes.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10.o int10.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o int10_vesa.o int10_vesa.cpp
int10_vesa.cpp: In function 'Bit8u VESA_GetSVGAModeInformation(Bit16u, Bit16u, Bit16u)':
int10_vesa.cpp:147:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  147 |                 var_write(&minfo.BytesPerScanLine,mblock->swidth/8);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:156:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  156 |                 var_write(&minfo.BytesPerScanLine,mblock->swidth);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:166:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  166 |                 var_write(&minfo.BytesPerScanLine,mblock->swidth*2);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:184:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  184 |                 var_write(&minfo.BytesPerScanLine,mblock->swidth*2);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:200:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  200 |                 var_write(&minfo.BytesPerScanLine,mblock->swidth*4);
      |                           ^~~~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:231:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  231 |                 var_write(&minfo.ModeAttributes, modeAttributes & ~0x1);
      |                           ^~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:234:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  234 |                 var_write(&minfo.ModeAttributes, modeAttributes);
      |                           ^~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:240:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  240 |                 var_write(&minfo.WinGranularity,32);
      |                           ^~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:241:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  241 |                 var_write(&minfo.WinSize,32);
      |                           ^~~~~~~~~~~~~~
int10_vesa.cpp:242:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  242 |                 var_write(&minfo.WinASegment,0xb800);
      |                           ^~~~~~~~~~~~~~~~~~
int10_vesa.cpp:243:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  243 |                 var_write(&minfo.XResolution,mblock->swidth/8);
      |                           ^~~~~~~~~~~~~~~~~~
int10_vesa.cpp:244:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  244 |                 var_write(&minfo.YResolution,mblock->sheight/8);
      |                           ^~~~~~~~~~~~~~~~~~
int10_vesa.cpp:246:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  246 |                 var_write(&minfo.WinGranularity,64);
      |                           ^~~~~~~~~~~~~~~~~~~~~
int10_vesa.cpp:247:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  247 |                 var_write(&minfo.WinSize,64);
      |                           ^~~~~~~~~~~~~~
int10_vesa.cpp:248:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  248 |                 var_write(&minfo.WinASegment,0xa000);
      |                           ^~~~~~~~~~~~~~~~~~
int10_vesa.cpp:249:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  249 |                 var_write(&minfo.XResolution,mblock->swidth);
      |                           ^~~~~~~~~~~~~~~~~~
int10_vesa.cpp:250:27: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  250 |                 var_write(&minfo.YResolution,mblock->sheight);
      |                           ^~~~~~~~~~~~~~~~~~
int10_vesa.cpp:252:19: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  252 |         var_write(&minfo.WinFuncPtr,CALLBACK_RealPointer(callback.setwindow));
      |                   ^~~~~~~~~~~~~~~~~
int10_vesa.cpp:257:42: warning: taking address of packed member of 'MODE_INFO' may result in an unaligned pointer value [-Waddress-of-packed-member]
  257 |         if (!int10.vesa_nolfb) var_write(&minfo.PhysBasePtr,S3_LFB_BASE);
      |                                          ^~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o bios_keyboard.o bios_keyboard.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o bios_disk.o bios_disk.cpp
bios_disk.cpp: In function 'void swapInDisks()':
bios_disk.cpp:109:47: warning: format '%d' expects argument of type 'int', but argument 2 has type 'Bits' {aka 'long int'} [-Wformat=]
  109 |                         LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname);
      |                                              ~^                                      ~~~~~~~~~
      |                                               |                                      |
      |                                               int                                    Bits {aka long int}
      |                                              %ld
bios_disk.cpp:109:73: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bits' {aka 'long int'} [-Wformat=]
  109 |                         LOG_MSG("Loaded disk %d from swaplist position %d - \"%s\"", diskcount, swapPos, diskSwap[swapPos]->diskname);
      |                                                                        ~^                       ~~~~~~~
      |                                                                         |                       |
      |                                                                         int                     Bits {aka long int}
      |                                                                        %ld
bios_disk.cpp: In member function 'Bit8u imageDisk::Read_AbsoluteSector(Bit32u, void*)':
bios_disk.cpp:154:14: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
  154 |         fread(data, 1, sector_size, diskimg);
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o xms.o xms.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o bios.o bios.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o mouse.o mouse.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o ems.o ems.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
rm -f libints.a
ar cru libints.a mouse.o xms.o ems.o int10.o int10_char.o int10_memory.o int10_misc.o int10_modes.o int10_vesa.o int10_pal.o int10_put_pixel.o int10_video_state.o int10_vptable.o bios.o bios_disk.o bios_keyboard.o 
ranlib libints.a
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
Making all in misc
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o cross.o cross.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o support.o support.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o messages.o messages.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o programs.o programs.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o setup.o setup.cpp
setup.cpp: In member function 'virtual bool Prop_string::CheckValue(const Value&, bool)':
setup.cpp:275:59: warning: format '%u' expects argument of type 'unsigned int*', but argument 3 has type 'Bitu*' {aka 'long unsigned int*'} [-Wformat=]
  275 |                         if(sscanf(in.ToString().c_str(),"%u",&value) == 1) {
      |                                                          ~^  ~~~~~~
      |                                                           |  |
      |                                                           |  Bitu* {aka long unsigned int*}
      |                                                           unsigned int*
      |                                                          %lu
setup.cpp: In member function 'bool Config::PrintConfig(const char*) const':
setup.cpp:636:51: warning: field width specifier '*' expects argument of type 'int', but argument 4 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  636 |                         snprintf(prefix,80, "\n# %*s  ", maxwidth, "");
      |                                                  ~^~     ~~~~~~~~
      |                                                   |      |
      |                                                   int    size_t {aka long unsigned int}
setup.cpp:644:54: warning: field width specifier '*' expects argument of type 'int', but argument 3 has type 'size_t' {aka 'long unsigned int'} [-Wformat=]
  644 |                                 fprintf(outfile, "# %*s: %s", maxwidth, p->propname.c_str(), help.c_str());
      |                                                     ~^~       ~~~~~~~~
      |                                                      |        |
      |                                                      int      size_t {aka long unsigned int}
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
rm -f libmisc.a
ar cru libmisc.a cross.o messages.o programs.o setup.o support.o 
ranlib libmisc.a
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
Making all in shell
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o shell_batch.o shell_batch.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o shell_misc.o shell_misc.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o shell.o shell.cpp
shell.cpp: In constructor 'AUTOEXEC::AUTOEXEC(Section*)':
shell.cpp:391:39: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  391 |                                 getcwd(buffer,CROSS_LEN);
      |                                 ~~~~~~^~~~~~~~~~~~~~~~~~
shell.cpp:404:47: warning: ignoring return value of 'char* getcwd(char*, size_t)' declared with attribute 'warn_unused_result' [-Wunused-result]
  404 |                                         getcwd(buffer,CROSS_LEN);
      |                                         ~~~~~~^~~~~~~~~~~~~~~~~~
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
g++ -DHAVE_CONFIG_H -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o shell_cmds.o shell_cmds.cpp
shell_cmds.cpp: In function 'void FormatNumber(Bitu, char*)':
shell_cmds.cpp:379:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  379 |                 sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb);
      |                              ~^                 ~~~~
      |                               |                 |
      |                               int               Bitu {aka long unsigned int}
      |                              %ld
shell_cmds.cpp:379:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  379 |                 sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb);
      |                                 ~~~^                 ~~~~
      |                                    |                 |
      |                                    int               Bitu {aka long unsigned int}
      |                                 %03ld
shell_cmds.cpp:379:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  379 |                 sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb);
      |                                      ~~~^                 ~~~~
      |                                         |                 |
      |                                         int               Bitu {aka long unsigned int}
      |                                      %03ld
shell_cmds.cpp:379:46: warning: format '%d' expects argument of type 'int', but argument 6 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  379 |                 sprintf(buf,"%d,%03d,%03d,%03d",numg,numm,numk,numb);
      |                                           ~~~^                 ~~~~
      |                                              |                 |
      |                                              int               Bitu {aka long unsigned int}
      |                                           %03ld
shell_cmds.cpp:383:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  383 |                 sprintf(buf,"%d,%03d,%03d",numm,numk,numb);
      |                              ~^            ~~~~
      |                               |            |
      |                               int          Bitu {aka long unsigned int}
      |                              %ld
shell_cmds.cpp:383:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  383 |                 sprintf(buf,"%d,%03d,%03d",numm,numk,numb);
      |                                 ~~~^            ~~~~
      |                                    |            |
      |                                    int          Bitu {aka long unsigned int}
      |                                 %03ld
shell_cmds.cpp:383:41: warning: format '%d' expects argument of type 'int', but argument 5 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  383 |                 sprintf(buf,"%d,%03d,%03d",numm,numk,numb);
      |                                      ~~~^            ~~~~
      |                                         |            |
      |                                         int          Bitu {aka long unsigned int}
      |                                      %03ld
shell_cmds.cpp:387:31: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  387 |                 sprintf(buf,"%d,%03d",numk,numb);
      |                              ~^       ~~~~
      |                               |       |
      |                               int     Bitu {aka long unsigned int}
      |                              %ld
shell_cmds.cpp:387:36: warning: format '%d' expects argument of type 'int', but argument 4 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  387 |                 sprintf(buf,"%d,%03d",numk,numb);
      |                                 ~~~^       ~~~~
      |                                    |       |
      |                                    int     Bitu {aka long unsigned int}
      |                                 %03ld
shell_cmds.cpp:390:23: warning: format '%d' expects argument of type 'int', but argument 3 has type 'Bitu' {aka 'long unsigned int'} [-Wformat=]
  390 |         sprintf(buf,"%d",numb);
      |                      ~^  ~~~~
      |                       |  |
      |                       |  Bitu {aka long unsigned int}
      |                       int
      |                      %ld
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
rm -f libshell.a
ar cru libshell.a shell.o shell_batch.o shell_cmds.o shell_misc.o 
ranlib libshell.a
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
Making all in platform
Making all in visualc
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all-am'.
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
g++ -DHAVE_CONFIG_H -I. -I..  -I../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields  -c -o dosbox.o dosbox.cpp
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
g++  -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -mno-ms-bitfields   -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o dosbox dosbox.o  cpu/libcpu.a debug/libdebug.a dos/libdos.a fpu/libfpu.a  hardware/libhardware.a gui/libgui.a ints/libints.a misc/libmisc.a shell/libshell.a hardware/mame/libmame.a hardware/serialport/libserial.a libs/gui_tk/libgui_tk.a -lSDL_sound -lasound -lm -ldl -lpthread -L/usr/lib64 -lSDL -lpng -lz -lSDL_net -lX11 -lGL
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
Making all in include
make[2]: Nothing to be done for 'all'.
Making all in docs
make[2]: Nothing to be done for 'all'.
Making all in visualc_net
make[2]: Nothing to be done for 'all'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.oJLRiF
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ mkdir /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT
+ CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CFLAGS
+ CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full'
+ export CXXFLAGS
+ FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FFLAGS
+ FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn'
+ export RUSTFLAGS
+ LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld'
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd dosbox-0.74.3
+ '[' 1 -eq 1 ']'
+ echo 'warning: %makeinstall is deprecated, try %make_install instead'
warning: %makeinstall is deprecated, try %make_install instead
+ /usr/bin/make prefix=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr exec_prefix=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr bindir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/bin sbindir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/sbin sysconfdir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/etc datadir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share includedir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/include libdir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/lib64 libexecdir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/libexec localstatedir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/var sharedstatedir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/var/lib mandir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/man infodir=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/info install
Making install in src
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
Making install in cpu
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
Making install in core_full
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_full'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_full'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_full'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_full'
Making install in core_normal
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_normal'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_normal'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_normal'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_normal'
Making install in core_dyn_x86
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_dyn_x86'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_dyn_x86'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_dyn_x86'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_dyn_x86'
Making install in core_dynrec
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_dynrec'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_dynrec'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_dynrec'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu/core_dynrec'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/cpu'
Making install in debug
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/debug'
Making install in dos
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/dos'
Making install in fpu
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/fpu'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/fpu'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/fpu'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/fpu'
Making install in gui
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/gui'
Making install in hardware
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
Making install in serialport
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/serialport'
Making install in mame
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware/mame'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/hardware'
Making install in libs
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs'
Making install in zmbv
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/zmbv'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/zmbv'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/zmbv'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/zmbv'
Making install in gui_tk
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/gui_tk'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/gui_tk'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/gui_tk'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs/gui_tk'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/libs'
Making install in ints
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/ints'
Making install in misc
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/misc'
Making install in shell
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
make[3]: Nothing to be done for 'install-exec-am'.
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/shell'
Making install in platform
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform'
Making install in visualc
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform/visualc'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform/visualc'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform/visualc'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform/visualc'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform'
make[4]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform'
make[4]: Nothing to be done for 'install-exec-am'.
make[4]: Nothing to be done for 'install-data-am'.
make[4]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform'
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src/platform'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/bin'
  /usr/bin/install -c dosbox '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/bin'
make[3]: Nothing to be done for 'install-data-am'.
make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/src'
Making install in include
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/include'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/include'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/include'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/include'
Making install in docs
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/docs'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/docs'
make[2]: Nothing to be done for 'install-exec-am'.
 /usr/bin/mkdir -p '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/man/man1'
 /usr/bin/install -c -m 644 dosbox.1 '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/man/man1'
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/docs'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/docs'
Making install in visualc_net
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/visualc_net'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/visualc_net'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/visualc_net'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/visualc_net'
make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3'
make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3'
make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3'
+ mkdir -p /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/libexec
+ mv -f /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/bin/dosbox /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/libexec/
+ mkdir -p /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/dosbox/i18n /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/dosbox/template
+ tar -xJf /home/pterjan/rpmbuild/SOURCES/dosbox-0.74.3-i18n.tar.xz -C /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/dosbox/i18n/
+ install -Dm 0664 /home/pterjan/rpmbuild/SOURCES/dosbox-0.74.3.conf /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/dosbox/template/
+ install -Dm 0755 /home/pterjan/rpmbuild/SOURCES/dosbox-0.74.3-set-locale_config.sh /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/bin/dosbox
+ rm -rf /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/doc/dosbox
+ mkdir -p /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/applications
+ cat
+ icotool -x -i 1 -o dosbox.png src/dosbox.ico
+ install -m 0644 dosbox.png -D /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/icons/hicolor/256x256/apps/dosbox.png
+ /usr/bin/find-debuginfo -j16 --strict-build-id -m -i --build-id-seed 0.74.3-3.mga10 --unique-debug-suffix -0.74.3-3.mga10.x86_64 --unique-debug-src-base dosbox-0.74.3-3.mga10.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3
find-debuginfo: starting

Extracting debug info from 1 files
DWARF-compressing 1 files
sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match.
Creating .debug symlinks for symlinks to ELF files
Copying sources found by 'debugedit -l' to /usr/src/debug/dosbox-0.74.3-3.mga10.x86_64
find-debuginfo: done
+ /usr/lib/rpm/check-buildroot
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_files
+ '[' -n '' ']'
+ /usr/share/spec-helper/compress_files .xz
+ '[' -n '' ']'
+ /usr/share/spec-helper/relink_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/clean_perl
+ '[' -n '' ']'
+ /usr/share/spec-helper/lib_symlinks
+ '[' -n '' ']'
+ /usr/share/spec-helper/gprintify
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_mo
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_pamd
+ '[' -n '' ']'
+ /usr/share/spec-helper/remove_info_dir
+ '[' -n '' ']'
+ /usr/share/spec-helper/fix_eol
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_desktop_files
/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/applications/dosbox.desktop: hint: value item "Emulator" in key "Categories" in group "Desktop Entry" can be extended with another category among the following categories: System, or Game
/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/applications/dosbox.desktop: hint: value "Emulator;" for key "Categories" in group "Desktop Entry" does not contain a registered main category; application might only show up in a "catch-all" section of the application menu
+ '[' -n '' ']'
+ /usr/share/spec-helper/check_elf_files
+ /usr/lib/rpm/check-rpaths
+ /usr/lib/rpm/brp-remove-la-files
+ /usr/lib/rpm/redhat/brp-mangle-shebangs
mangling shebang in /usr/bin/dosbox from /bin/bash to #!/usr/bin/bash
+ env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16
+ /usr/lib/rpm/redhat/brp-python-hardlink
Reading /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/SPECPARTS/rpm-debuginfo.specpart
Processing files: dosbox-0.74.3-3.mga10.x86_64
Executing(%doc): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.zpXwzp
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ cd dosbox-0.74.3
+ DOCDIR=/home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/doc/dosbox
+ export LC_ALL=C
+ LC_ALL=C
+ export DOCDIR
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/doc/dosbox
+ cp -pr /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/AUTHORS /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/doc/dosbox
+ cp -pr /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/ChangeLog /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/doc/dosbox
+ cp -pr /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/NEWS /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/doc/dosbox
+ cp -pr /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/README /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/doc/dosbox
+ cp -pr /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/THANKS /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/doc/dosbox
+ cp -pr /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/dosbox-0.74.3/docs/README.video /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT/usr/share/doc/dosbox
+ RPM_EC=0
++ jobs -p
+ exit 0
Provides: application() application(dosbox.desktop) dosbox = 0.74.3-3.mga10 dosbox(x86-64) = 0.74.3-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Requires: libGL.so.1()(64bit) libSDL-1.2.so.0()(64bit) libSDL_net-1.2.so.0()(64bit) libSDL_sound-1.0.so.1()(64bit) libX11.so.6()(64bit) libasound.so.2()(64bit) libasound.so.2(ALSA_0.9)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.38)(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.15)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libz.so.1()(64bit)
Processing files: dosbox-debugsource-0.74.3-3.mga10.x86_64
Provides: dosbox-debugsource = 0.74.3-3.mga10 dosbox-debugsource(x86-64) = 0.74.3-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Processing files: dosbox-debuginfo-0.74.3-3.mga10.x86_64
Provides: debuginfo(build-id) = 96fadb55658ef0fafe7f888b49f395fb821ed360 dosbox-debuginfo = 0.74.3-3.mga10 dosbox-debuginfo(x86-64) = 0.74.3-3.mga10
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
Recommends: dosbox-debugsource(x86-64) = 0.74.3-3.mga10
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/dosbox-0.74.3-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/dosbox-debugsource-0.74.3-3.mga10.x86_64.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/x86_64/dosbox-debuginfo-0.74.3-3.mga10.x86_64.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.LPjG90
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ test -d /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/dosbox-0.74.3-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    /home/pterjan/rpmbuild/SPECS/dosbox.spec line 38: autopatch: no matching patches in range
D: [iurt_root_command] Success!