* Package: games-emulation/libretro-dosbox-0.0.1_pre20180723 * Repository: gentoo * Maintainer: candrews@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/1dba14e216428e6500c2e76ad4d66f31ca1789c1 @@@@@ END @@@@@ >>> Unpacking source... >>> Unpacking libretro-dosbox-0.0.1_pre20180723.tar.gz to /var/tmp/portage/games-emulation/libretro-dosbox-0.0.1_pre20180723/work >>> Source unpacked in /var/tmp/portage/games-emulation/libretro-dosbox-0.0.1_pre20180723/work >>> Preparing source in /var/tmp/portage/games-emulation/libretro-dosbox-0.0.1_pre20180723/work/dosbox-libretro-169d476437ec813b462a47254f24cf78473389c8 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-emulation/libretro-dosbox-0.0.1_pre20180723/work/dosbox-libretro-169d476437ec813b462a47254f24cf78473389c8 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/games-emulation/libretro-dosbox-0.0.1_pre20180723/work/dosbox-libretro-169d476437ec813b462a47254f24cf78473389c8 ... make -j2 V=1 CC=x86_64-pc-linux-gnu-clang CXX=x86_64-pc-linux-gnu-clang++ -f Makefile.libretro x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/callback.cpp -o src/cpu/callback.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/cpu.cpp -o src/cpu/cpu.o src/cpu/callback.cpp:462:43: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] E_Exit("CALLBACK:Setup:Illegal type %d",type); ~~ ^~~~ %lu 1 warning generated. x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/flags.cpp -o src/cpu/flags.o src/cpu/cpu.cpp:347:63: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...TSS for switch, selector=%x, switchtype=%x",new_tss_selector,tstype); ~~ ^~~~~~~~~~~~~~~~ %lx src/cpu/cpu.cpp:501:36: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] E_Exit("Task switch CS Type %d",cs_desc.Type()); ~~ ^~~~~~~~~~~~~~ %lu src/cpu/cpu.cpp:723:75: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...Selector points to illegal descriptor with type %x",cs_desc.Type()); ~~ ^~~~~~~~~~~~~~ %lx src/cpu/cpu.cpp:753:51: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); ~~ ^~~~~~~~~~~ %lX src/cpu/cpu.cpp:753:63: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...E_Exit("Illegal descriptor type %X for int %X",gate.Type(),num); ~~ ^~~ %lX src/cpu/cpu.cpp:900:45: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...E_Exit("IRET:Illegal descriptor type %X",n_cs_desc.Type()); ~~ ^~~~~~~~~~~~~~~~ %lX src/cpu/cpu.cpp:1057:44: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] E_Exit("JMP Illegal descriptor type %X",desc.Type()); ~~ ^~~~~~~~~~~ %lX src/cpu/cpu.cpp:1293:49: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...E_Exit("CALL:Descriptor type %x unsupported",call.Type()); ~~ ^~~~~~~~~~~ %lx src/cpu/cpu.cpp:1351:50: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...E_Exit("RET from illegal descriptor type %X",desc.Type()); ~~ ^~~~~~~~~~~ %lX src/cpu/cpu.cpp:1396:50: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...from illegal descriptor type %X",desc.Type()); // or #GP(se... ~~ ^~~~~~~~~~~ %lX src/cpu/cpu.cpp:1507:72: warning: format specifies type 'unsigned int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...E_Exit("LTR failed, selector=%X",selector); ~~ ^~~~~~~~ %lX x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/modrm.cpp -o src/cpu/modrm.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/core_full.cpp -o src/cpu/core_full.o 11 warnings generated. x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/paging.cpp -o src/cpu/paging.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/core_normal.cpp -o src/cpu/core_normal.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/core_simple.cpp -o src/cpu/core_simple.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/core_prefetch.cpp -o src/cpu/core_prefetch.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/core_dyn_x86.cpp -o src/cpu/core_dyn_x86.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/core_dynrec.cpp -o src/cpu/core_dynrec.o In file included from src/cpu/core_dynrec.cpp:134: src/cpu/core_dynrec/cache.h:507:82: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat] ...E_Exit("CacheBlock overrun 1 %d",written-block->cache.size); ~~ ^~~~~~~~~~~~~~~~~~~~~~~~~ %lu src/cpu/core_dynrec/cache.h:508:59: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...} else E_Exit("CacheBlock overrun 2 written %d size %d",written,block->c... ~~ ^~~~~~~ %lu src/cpu/core_dynrec/cache.h:508:67: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...overrun 2 written %d size %d",written,block->cache.size); ~~ ^~~~~~~~~~~~~~~~~ %lu In file included from src/cpu/core_dynrec.cpp:155: In file included from src/cpu/core_dynrec/decoder.h:23: src/cpu/core_dynrec/decoder_opcodes.h:1134:10: warning: enumeration values 'LOOP_NONE' and 'LOOP_JCXZ' not handled in switch [-Wswitch] switch (type) { ^ In file included from src/cpu/core_dynrec.cpp:155: In file included from src/cpu/core_dynrec/decoder.h:25: src/cpu/core_dynrec/dyn_fpu.h:385:59: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...3:ILLEGAL OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.... ~~ ^~~~~~~~~~~~~~~~ %lu src/cpu/core_dynrec/dyn_fpu.h:385:76: warning: format specifies type 'int' but the argument has type 'Bitu' (aka 'unsigned long') [-Wformat] ...OPCODE group %d subfunction %d",decode.modrm.reg,decode.modrm.rm); ~~ ^~~~~~~~~~~~~~~ %lu x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/cpu/mmx.cpp -o src/cpu/mmx.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/dos/dos.cpp -o src/dos/dos.o src/dos/dos.cpp:1563:74: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...sprintf(buf,"%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s",&st,&... ~~~~ ^~~ src/dos/dos.cpp:1563:78: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s",&st,&ctime,&cdate,&ati... ~~~~ ^~~~~~ src/dos/dos.cpp:1563:85: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s",&st,&ctime,&cdate,&atime,&... ~~~~ ^~~~~~ src/dos/dos.cpp:1563:92: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s",&st,&ctime,&cdate,&atime,&adat... ~~~~ ^~~~~~ src/dos/dos.cpp:1563:99: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s",&st,&ctime,&cdate,&atime,&adate,&m... ~~~~ ^~~~~~ src/dos/dos.cpp:1563:106: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s%-4s%-4s%-4s%-4s",&st,&ctime,&cdate,&atime,&adate,&mtime... ~~~~ ^~~~~~ src/dos/dos.cpp:1563:113: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s%-4s%-4s%-4s",&st,&ctime,&cdate,&atime,&adate,&mtime,&mdate... ~~~~ ^~~~~~ src/dos/dos.cpp:1563:120: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s%-4s%-4s",&st,&ctime,&cdate,&atime,&adate,&mtime,&mdate,&serial_number... ~~~~ ^~~~~~~~~~~~~~ src/dos/dos.cpp:1563:135: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s%-4s",&st,&ctime,&cdate,&atime,&adate,&mtime,&mdate,&serial_number,&st... ~~~~ ^~~ src/dos/dos.cpp:1563:139: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s",&st,&ctime,&cdate,&atime,&adate,&mtime,&mdate,&serial_number,&st,&st... ~~~~ ^~~ src/dos/dos.cpp:1563:143: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s",&st,&ctime,&cdate,&atime,&adate,&mtime,&mdate,&serial_number,&st,&st,&st... ~~~~ ^~~ src/dos/dos.cpp:1563:147: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s",&st,&ctime,&cdate,&atime,&adate,&mtime,&mdate,&serial_number,&st,&st,&st,&st... ~~~~ ^~~ 12 warnings generated. x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/dos/dos_devices.cpp -o src/dos/dos_devices.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/dos/dos_execute.cpp -o src/dos/dos_execute.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/dos/dos_files.cpp -o src/dos/dos_files.o src/dos/dos_files.cpp:232:17: warning: expression result unused [-Wunused-value] Drives[drive]->curdir,""; ~~~~~~~~~~~~~ ^~~~~~ src/dos/dos_files.cpp:232:24: warning: expression result unused [-Wunused-value] Drives[drive]->curdir,""; ^~ src/dos/dos_files.cpp:248:20: warning: expression result unused [-Wunused-value] Drives[drive]->curdir,SFNPath+3; ~~~~~~~~~~~~~ ^~~~~~ src/dos/dos_files.cpp:248:34: warning: expression result unused [-Wunused-value] Drives[drive]->curdir,SFNPath+3; ~~~~~~~^~ src/dos/dos_files.cpp:275:17: warning: expression result unused [-Wunused-value] Drives[drive]->curdir,dir_current; ~~~~~~~~~~~~~ ^~~~~~ src/dos/dos_files.cpp:275:24: warning: expression result unused [-Wunused-value] Drives[drive]->curdir,dir_current; ^~~~~~~~~~~ 6 warnings generated. x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/dos/dos_ioctl.cpp -o src/dos/dos_ioctl.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/dos/dos_memory.cpp -o src/dos/dos_memory.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/dos/dos_misc.cpp -o src/dos/dos_misc.o x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/dos/dos_classes.cpp -o src/dos/dos_classes.o src/dos/dos_classes.cpp:397:73: warning: format specifies type 'char *' but the argument has type 'Bit8u (*)[19]' [-Wformat] ...%-19s%-2s%-2s%-4s%-4s%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&... ~~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:397:83: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-2s%-2s%-4s%-4s%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.md... ~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:397:93: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-2s%-4s%-4s%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,... ~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:397:103: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.mtime... ~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:397:113: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.mtime,&fd.hsize... ~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:397:123: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.mtime,&fd.hsize,&fd.size... ~~~~ ^~~~~~~~ src/dos/dos_classes.cpp:397:132: warning: format specifies type 'char *' but the argument has type 'Bit8u (*)[8]' [-Wformat] ...%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.mtime,&fd.hsize,&fd.size,&fd.fres2... ~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:397:142: warning: format specifies type 'char *' but the argument has type 'char (*)[260]' [-Wformat] ...%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.mtime,&fd.hsize,&fd.size,&fd.fres2,&fd.lname... ~~~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:397:152: warning: format specifies type 'char *' but the argument has type 'char (*)[14]' [-Wformat] ...%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.mtime,&fd.hsize,&fd.size,&fd.fres2,&fd.lname,&fd.sname); ~~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:399:69: warning: format specifies type 'char *' but the argument has type 'Bit8u (*)[19]' [-Wformat] ...%-19s%-4s%-4s%-4s%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.m... ~~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:399:79: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,... ~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:399:89: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.... ~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:399:99: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.hsize... ~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:399:109: warning: format specifies type 'char *' but the argument has type 'Bit32u *' (aka 'unsigned int *') [-Wformat] ...%-4s%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.hsize,&fd.size... ~~~~ ^~~~~~~~ src/dos/dos_classes.cpp:399:118: warning: format specifies type 'char *' but the argument has type 'Bit8u (*)[8]' [-Wformat] ...%-8s%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.hsize,&fd.size,&fd.fres2... ~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:399:128: warning: format specifies type 'char *' but the argument has type 'char (*)[260]' [-Wformat] ...%-260s%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.hsize,&fd.size,&fd.fres2,&fd.lname... ~~~~~~ ^~~~~~~~~ src/dos/dos_classes.cpp:399:138: warning: format specifies type 'char *' but the argument has type 'char (*)[14]' [-Wformat] ...%-14s",&fd.attr,&fd.fres1,&fd.mtime,&fd.mdate,&fd.hsize,&fd.size,&fd.fres2,&fd.lname,&fd.sname); ~~~~~ ^~~~~~~~~ 17 warnings generated. x86_64-pc-linux-gnu-clang++ -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -D__LIBRETRO__ -fPIC -I./src -I./libretro -I./libretro-common/include -I./include -I./src/midi/munt -DC_HAVE_MPROTECT="1" -O3 -DNDEBUG -DGIT_VERSION=\"" 169d476"\" -DSVN_VERSION=\"\" -DC_DYNREC="1" -DC_TARGETCPU="X86_64" -c src/dos/dos_programs.cpp -o src/dos/dos_programs.o src/dos/dos_programs.cpp:81:20: error: non-constant-expression cannot be narrowed from type 'int' to 'char' in initializer list [-Wc++11-narrowing] char root[7] = {'A'+d,':','\\','*','.','*',0}; ^~~~~ src/dos/dos_programs.cpp:81:20: note: insert an explicit cast to silence this issue char root[7] = {'A'+d,':','\\','*','.','*',0}; ^~~~~ static_cast( ) 1 error generated. make: *** [Makefile.libretro:189: src/dos/dos_programs.o] Error 1 make: *** Waiting for unfinished jobs.... 6 warnings generated. * ERROR: games-emulation/libretro-dosbox-0.0.1_pre20180723::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-emulation/libretro-dosbox-0.0.1_pre20180723::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-emulation/libretro-dosbox-0.0.1_pre20180723::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/games-emulation/libretro-dosbox-0.0.1_pre20180723:20200704-211456.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/libretro-dosbox-0.0.1_pre20180723/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/libretro-dosbox-0.0.1_pre20180723/temp/environment'. * Working directory: '/var/tmp/portage/games-emulation/libretro-dosbox-0.0.1_pre20180723/work/dosbox-libretro-169d476437ec813b462a47254f24cf78473389c8' * S: '/var/tmp/portage/games-emulation/libretro-dosbox-0.0.1_pre20180723/work/dosbox-libretro-169d476437ec813b462a47254f24cf78473389c8' emerge --info: Portage 2.3.103 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r5, 5.4.0-1015-aws x86_64) ================================================================= System uname: Linux-5.4.0-1015-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 7895548 total, 1369816 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 05 Jul 2020 07:35:21 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.3-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.8-r1::gentoo, 3.8.3-r1::gentoo, 3.9.0_beta4::gentoo dev-util/cmake: 3.18.0_rc3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0-r2::gentoo sys-devel/gcc-config: 2.3.1::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.7::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-metamanifest: yes sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=lld -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j2 V=1" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS