MidnightBSD Magus

emulators/yape

Yet Another Commodore +4 Emulator

Flavor Version Run OSVersion Arch License Restricted Status
0.32.5 429 2.0 amd64 gpl3 0 fail

Events

Machine Type Time Message
skunkworks info 2020-10-20 09:55:47.129328 Test Started
skunkworks fail 2020-10-20 09:56:24.891871 make build returned non-zero: 1
skunkworks fail 2020-10-20 09:56:24.967796 Test complete.

Log

===>  Building for yape-0.32.5
gmake[1]: Entering directory '/magus/work/usr/mports/emulators/yape/work/yape-0.32.5'
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c archdep.cpp 
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c cpu.cpp
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c diskfs.cpp
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c dos.cpp
dos.cpp:55:30: warning: 'size' argument to memset is '0'; did you mean to transpose the last two arguments? [-Wmemset-transposed-args]
    memset(ram, sizeof(ram), 0);
                             ^
dos.cpp:55:30: note: parenthesize the third argument to silence
In file included from cpu.cpp:5:
./tedmem.h:160:25: warning: '/*' within block comment [-Wcomment]
int brightness =  ...;  //* 0..255
                         ^
./tedmem.h:161:22: warning: '/*' within block comment [-Wcomment]
int contrast = ...;     //* 0..255
                         ^
diskfs.cpp:77:15: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        char *mode = "rb";
                     ^
diskfs.cpp:118:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        mode = "rb";
                               ^
diskfs.cpp:121:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        mode = "wb";
                               ^
diskfs.cpp:124:11: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        mode = "ab";
                               ^
cpu.cpp:104:42: warning: '&&' within '||' [-Wlogical-op-parentheses]
        if (IRQcount || ((*irq_register)&0x80 ) && !irq_sequence)
                     ~~ ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~
cpu.cpp:104:42: note: place parentheses around the '&&' expression to silence this warning
        if (IRQcount || ((*irq_register)&0x80 ) && !irq_sequence)
                                                ^
                        (                                       )
diskfs.cpp:193:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        if (!ad_find_first_file("*.prg")) return;
                                ^
diskfs.cpp:240:26: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        if ( ad_find_first_file("*.prg"))
                                ^
cpu.cpp:549:38: warning: '&' within '|' [-Wbitwise-op-parentheses]
                                PC=mem->Read(ptr)|(mem->Read( ptr&0xFF00 | (ptr+1)&0xFF) << 8);
                                                              ~~~^~~~~~~ ~
cpu.cpp:549:38: note: place parentheses around the '&' expression to silence this warning
                                PC=mem->Read(ptr)|(mem->Read( ptr&0xFF00 | (ptr+1)&0xFF) << 8);
                                                                 ^
                                                              (         )
cpu.cpp:549:55: warning: '&' within '|' [-Wbitwise-op-parentheses]
                                PC=mem->Read(ptr)|(mem->Read( ptr&0xFF00 | (ptr+1)&0xFF) << 8);
                                                                         ~ ~~~~~~~^~~~~
cpu.cpp:549:55: note: place parentheses around the '&' expression to silence this warning
                                PC=mem->Read(ptr)|(mem->Read( ptr&0xFF00 | (ptr+1)&0xFF) << 8);
                                                                                  ^
                                                                           (           )
diskfs.cpp:292:13: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                if (found = ad_find_next_file()) {
                    ~~~~~~^~~~~~~~~~~~~~~~~~~~~
diskfs.cpp:292:13: note: place parentheses around the assignment to silence this warning
                if (found = ad_find_next_file()) {
                          ^
                    (                          )
diskfs.cpp:292:13: note: use '==' to turn this assignment into an equality comparison
                if (found = ad_find_next_file()) {
                          ^
                          ==
archdep.cpp:292:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
1 warning generated.
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c drive.cpp
1 warning generated.
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c iec.cpp
drive.cpp:39:41: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        CIECFSDrive *fsdrive = new CIECFSDrive(".");
                                               ^
1 warning generated.
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c interface.cpp 
7 warnings generated.
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c keyboard.cpp 
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c main.cpp
In file included from interface.cpp:14:
./tedmem.h:160:25: warning: '/*' within block comment [-Wcomment]
int brightness =  ...;  //* 0..255
                         ^
./tedmem.h:161:22: warning: '/*' within block comment [-Wcomment]
int contrast = ...;     //* 0..255
                         ^
interface.cpp:161:7: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
        for (register int i=0; itexttoscreen(hpos,vpos+8,"  PC  SR AC XR YR SP");
                                          ^
main.cpp:151:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        CopyToKbBuffer("L\317\042*\042,8,1\rRUN:\r", 15);
                                       ^
main.cpp:156:19: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                        CopyToKbBuffer("RUN:\r",5);
                                       ^
4 warnings generated.
main.cpp:199:9: warning: 'register' storage class specifier is deprecated and incompatible with C++17 [-Wdeprecated-register]
                for ( register int j = 0; j<8; j++) {
                      ^~~~~~~~~
c++ -O2 -pipe -fno-strict-aliasing -finline  -Winline -fomit-frame-pointer `/usr/local/bin/sdl-config --cflags` -c prg.cpp 
main.cpp:255:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (ini=fopen(inifile,"wt")) {
            ~~~^~~~~~~~~~~~~~~~~~~~
main.cpp:255:9: note: place parentheses around the assignment to silence this warning
        if (ini=fopen(inifile,"wt")) {
               ^
            (                      )
main.cpp:255:9: note: use '==' to turn this assignment into an equality comparison
        if (ini=fopen(inifile,"wt")) {
               ^
               ==
main.cpp:285:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (ini=fopen(inifile,"r")) {
            ~~~^~~~~~~~~~~~~~~~~~~
main.cpp:285:9: note: place parentheses around the assignment to silence this warning
        if (ini=fopen(inifile,"r")) {
               ^
            (                     )
main.cpp:285:9: note: use '==' to turn this assignment into an equality comparison
        if (ini=fopen(inifile,"r")) {
               ^
               ==
main.cpp:398:15: warning: 228 enumeration values not handled in switch: 'SDLK_UNKNOWN', 'SDLK_BACKSPACE', 'SDLK_TAB'... [-Wswitch]
                                                switch (event.key.keysym.sym) {
                                                        ^
main.cpp:464:17: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
                                                        PopupMsg(" PAUSED ");
                                                                 ^
main.cpp:544:28: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings]
        fsdrive = new CIECFSDrive(".");
                                  ^
main.cpp:651:13: error: comparison between pointer and integer ('char *' and 'char')
        if (argv[1]!='\0') {
            ~~~~~~~^ ~~~~
11 warnings and 1 error generated.
gmake[1]: *** [Makefile:70: main.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
In file included from prg.cpp:4:
./tedmem.h:160:25: warning: '/*' within block comment [-Wcomment]
int brightness =  ...;  //* 0..255
                         ^
./tedmem.h:161:22: warning: '/*' within block comment [-Wcomment]
int contrast = ...;     //* 0..255
                         ^
2 warnings generated.
10 warnings generated.
5 warnings generated.
gmake[1]: Leaving directory '/magus/work/usr/mports/emulators/yape/work/yape-0.32.5'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/emulators/yape

Links

Depends On

Depend Of

Nothing

Categories