=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Building for xm8-1.70nb9
clang++ -pipe -Os -I/opt/pkg/include/SDL2 -I/opt/pkg/include -DSDL -D_PC8801MA -c -Wall -I/opt/pkg/include/SDL2 -D_THREAD_SAFE -I../UI -I../ePC-8801MA -I../ePC-8801MA/vm -I../ePC-8801MA/vm/pc8801 -I../ePC-8801MA/vm/fmgen ../UI/app.cpp -o ../UI/app.o
clang++ -pipe -Os -I/opt/pkg/include/SDL2 -I/opt/pkg/include -DSDL -D_PC8801MA -c -Wall -I/opt/pkg/include/SDL2 -D_THREAD_SAFE -I../UI -I../ePC-8801MA -I../ePC-8801MA/vm -I../ePC-8801MA/vm/pc8801 -I../ePC-8801MA/vm/fmgen ../UI/audio.cpp -o ../UI/audio.o
clang++ -pipe -Os -I/opt/pkg/include/SDL2 -I/opt/pkg/include -DSDL -D_PC8801MA -c -Wall -I/opt/pkg/include/SDL2 -D_THREAD_SAFE -I../UI -I../ePC-8801MA -I../ePC-8801MA/vm -I../ePC-8801MA/vm/pc8801 -I../ePC-8801MA/vm/fmgen ../UI/converter.cpp -o ../UI/converter.o
In file included from ../UI/audio.cpp:14:
../ePC-8801MA/common.h:117:14: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
In file included from ../UI/app.cpp:14:
../ePC-8801MA/common.htypedef union {
             ^:117:
              pair14: 
warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
../ePC-8801MA/common.h:148:2: typedef union {
             ^
              pair
../ePC-8801MA/common.h:148:2: note: note: type is not C-compatible due to this member declaration
        inline void read_2bytes_le_from(uint8 *t)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
type is not C-compatible due to this member declaration
        inline void read_2bytes_le_from(uint8 *t)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../UI/converter.cpp:14:
../ePC-8801MA/common.h:117:14: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef union {
             ^
              pair
../ePC-8801MA/common.h:148:2: note: type is not C-compatible due to this member declaration
        inline void read_2bytes_le_from(uint8 *t)
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ePC-8801MA/common.h:181:3: note: type is given name 'pair' for linkage purposes by this typedef declaration
} pair;
  ^../ePC-8801MA/common.h:181:3
: note: type is given name 'pair' for linkage purposes by this typedef declaration
} pair;
  ^
../ePC-8801MA/common.h:181:3: note: type is given name 'pair' for linkage purposes by this typedef declaration
} pair;
  ^
In file included from ../UI/audio.cpp:15:
../UI/audio.h:60:12: error: unknown type name 'Uint8'
        int Write(Uint8 *stream, int len);
                  ^
In file included from ../UI/converter.cpp:15:
../UI/converter.h:38:2: error: In file included from ../UI/app.cpp:16:
../UI/emu_sdl.h:unknown type name 'Uint16'
44:        Uint16 *ucs_table;
        ^
19: error: use of undeclared identifier '_MAX_PATH'
        _TCHAR base_path[_MAX_PATH * 3];
                         ^
../UI/audio.h:62:45: error: unknown type name 'Uint8'
        static void CommonCallback(void *userdata, Uint8 *stream, int len);
                                                   ^
../UI/converter.h:40:15: ../UI/audio.h:64:16: error: unknown type name 'Uint8'
error:         void Callback(Uint8 *steram, int len);unknown type name 'Uint16'

                      ^
        static const Uint16 sjis_table[0x30 * 0xc0];
                     ^
../UI/emu_sdl.h:46:19: error: use of undeclared identifier '_MAX_PATH'
        _TCHAR bios_path[_MAX_PATH * 3];
                         ^
../UI/audio.h:70:2: error: unknown type name 'SDL_sem'
        SDL_sem *audio_sem;
        ^
../UI/audio.h:76:2: error: unknown type name 'SDL_AudioDeviceID'
        SDL_AudioDeviceID device_id;
        ^
In file included from ../UI/app.cpp:17:
In file included from ../ePC-8801MA/emu.h:14:
../ePC-8801MA/config.h:96:26: error: use of undeclared identifier '_MAX_PATH'
        _TCHAR initial_disk_dir[_MAX_PATH];
                                ^
../UI/audio.h:78:2: error: unknown type name 'SDL_AudioSpec'
        SDL_AudioSpec device_spec;
        ^
../UI/audio.h:84:2: error: unknown type name 'Uint8'
        Uint8 *sample_buffer;
        ^
../ePC-8801MA/config.h:97:47: error: use of undeclared identifier '_MAX_PATH'
        _TCHAR recent_disk_path[MAX_FD][MAX_HISTORY][_MAX_PATH];
                                                     ^
../ePC-8801MA/config.h:104:26: error: use of undeclared identifier '_MAX_PATH'
        _TCHAR initial_tape_dir[_MAX_PATH];
                                ^
../ePC-8801MA/config.h:105:39: error: use of undeclared identifier '_MAX_PATH'
        _TCHAR recent_tape_path[MAX_HISTORY][_MAX_PATH];
                                             ^
../ePC-8801MA/config.h:140:24: error: use of undeclared identifier '_MAX_PATH'
        _TCHAR fmgen_dll_path[_MAX_PATH];
                              ^
../UI/converter.cpp:41:2: error: unknown type name 'Uint16'
        Uint16 high;
        ^
../UI/converter.cpp:42:2: error: unknown type name 'Uint16'
        Uint16 low;
        ^
../UI/converter.cpp:43:8: error: unknown type name 'Uint16'
        const Uint16 *sjis;
              ^
../UI/converter.cpp:46:15: error: use of undeclared identifier 'Uint16'
        ucs_table = (Uint16*)SDL_malloc(0x10000 * sizeof(Uint16));
                     ^
../UI/converter.cpp:46:22: error: expected expression
        ucs_table = (Uint16*)SDL_malloc(0x10000 * sizeof(Uint16));
                            ^
../UI/converter.cpp:52:40: error: use of undeclared identifier 'Uint16'
        memset(ucs_table, 0, 0x10000 * sizeof(Uint16));
                                              ^
../UI/audio.cpp:63:14: error: use of undeclared identifier 'SDL_CreateSemaphore'
        audio_sem = SDL_CreateSemaphore(1);
                    ^
../UI/converter.cpp:59:25: error: use of undeclared identifier 'Uint16'
                                ucs_table[*sjis] = (Uint16)(high | low);
                                                    ^
../UI/converter.cpp:69:25: error: use of undeclared identifier 'Uint16'
                                ucs_table[*sjis] = (Uint16)(high | low);
                                                    ^
../UI/converter.cpp:97:2: error: unknown type name 'Uint16'
        Uint16 high;
        ^
../UI/converter.cpp:98:2: error: unknown type name 'Uint16'
        Uint16 low;
        ^
../UI/converter.cpp:99:2: error: unknown type name 'Uint16'
        Uint16 ucs;
        ^
../UI/audio.cpp:69:19: error: use of undeclared identifier 'SDL_GetNumAudioDevices'
        num_of_devices = SDL_GetNumAudioDevices(0);
                         ^
../UI/converter.cpp:109:11: error: use of undeclared identifier 'Uint16'
                high = (Uint16)*sjis++;
                        ^
../UI/converter.cpp:125:11: error: use of undeclared identifier 'Uint16'
                        low = (Uint16)*sjis++;
                               ^
../UI/converter.cpp:209:2: error: unknown type name 'Uint16'
        Uint16 high;
        ^
../UI/converter.cpp:210:2: error: unknown type name 'Uint16'
        Uint16 low;
        ^
../UI/converter.cpp:211:2: error: unknown type name 'Uint16'
        Uint16 ucs;
        ^
../UI/converter.cpp:216:10: error: use of undeclared identifier 'Uint16'
                ucs = (Uint16)*utf++;
                       ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
../UI/audio.cpp:79:23: error: use of undeclared identifier 'SDL_GetAudioDeviceName'
                single_len = strlen(SDL_GetAudioDeviceName(loop, 0));
                                    ^
../UI/audio.cpp:85:28: error: use of undeclared identifier 'SDL_malloc'
        name_of_devices = (char *)SDL_malloc(total_len);
                                  ^
1 warning and 20 error../UI/audio.cpp:87:3: error: use of undeclared identifier 'SDL_assert'
s generated.
                SDL_assert(false);
                ^
In file included from ../UI/app.cpp:21:
In file included from ../ePC-8801MA/vm/fmsound.h:16:
In file included from ../ePC-8801MA/vm/fmgen/opna.h:11:
../ePC-8801MA/vm/fmgen/fmgen.h:188:15: warning: '__stdcall' calling convention is not supported for this target [-Wignored-attributes]
                friend void __stdcall FM_NextPhase(Operator* op);
                            ^
../UI/audio.cpp:92:23: error: use of undeclared identifier 'SDL_GetAudioDeviceName'
                single_len = strlen(SDL_GetAudioDeviceName(loop, 0));
                                    ^
gmake: *** [makefile:41: ../UI/converter.o] Error 1
gmake: *** Waiting for unfinished jobs....
../UI/audio.cpp:93:15: error: use of undeclared identifier 'SDL_GetAudioDeviceName'
                strcpy(ptr, SDL_GetAudioDeviceName(loop, 0));
                            ^
../UI/audio.cpp:115:3: error: use of undeclared identifier 'SDL_free'
                SDL_free(name_of_devices);
                ^
../UI/audio.cpp:135:2: error: unknown type name 'SDL_AudioSpec'
        SDL_AudioSpec device_want;
        ^
In file included from ../UI/app.cpp:22:
../ePC-8801MA/vm/pc8801/pc88.h:39:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
              ^
               pc88_crtc_t
../ePC-8801MA/vm/pc8801/pc88.h:68:2: note: type is not C-compatible due to this member declaration
        void reset(bool hireso);
        ^~~~~~~~~~~~~~~~~~~~~~~
../ePC-8801MA/vm/pc8801/pc88.h:80:3: note: type is given name 'pc88_crtc_t' for linkage purposes by this typedef declaration
} pc88_crtc_t;
  ^
../ePC-8801MA/vm/pc8801/pc88.h:82:15: warning: anonymous non-C-compatible type given name for linkage purposes by typedef declaration; add a tag name here [-Wnon-c-typedef-for-linkage]
typedef struct {
              ^
               pc88_dmac_t
../ePC-8801MA/vm/pc8801/pc88.h:94:2: note: type is not C-compatible due to this member declaration
        void write_io8(uint32 addr, uint32 data);
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../ePC-8801MA/vm/pc8801/pc88.h:99:3: note: type is given name 'pc88_dmac_t' for linkage purposes by this typedef declaration
} pc88_dmac_t;
  ^
../ePC-8801MA/vm/pc8801/pc88.h:238:23: error: use of undeclared identifier '_MAX_PATH'
        _TCHAR rec_file_path[_MAX_PATH];
                             ^
../UI/audio.cpp:151:23: error: use of undeclared identifier 'AUDIO_S16SYS'
        device_want.format = AUDIO_S16SYS;
                             ^
../ePC-8801MA/vm/pc8801/pc88.h:152:7: warning: 'PC88::update_timing' hides overloaded virtual function [-Woverloaded-virtual]
        void update_timing();
             ^
../ePC-8801MA/vm/device.h:636:15: note: hidden overloaded virtual function 'DEVICE::update_timing' declared here: different number of parameters (3 vs 0)
        virtual void update_timing(int new_clocks, double new_frames_per_sec, int new_lines_per_frame) {}
                     ^
../UI/audio.cpp:153:32: error: expected ';' after expression
        device_want.samples = (Uint16)param->samples;
                                      ^
                                      ;
../UI/audio.cpp:153:25: error: use of undeclared identifier 'Uint16'
        device_want.samples = (Uint16)param->samples;
                               ^
In file included from ../UI/app.cpp:23:
../UI/setting.h:102:2: error: unknown type name 'Uint32'
        Uint32 GetDip();
        ^
../UI/setting.h:106:2: error: unknown type name 'Uint32'
        Uint32 GetSystems();
        ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
../UI/setting.h:122:2: error: unknown type name 'Uint8'
        Uint8 GetBrightness();
        ^
../UI/setting.h:124:21: error: unknown type name 'Uint8'
        void SetBrightness(Uint8 bri);
                           ^
../UI/setting.h:126:2: error: unknown type name 'Uint8'
        Uint8 GetMenuAlpha();
        ^
../UI/setting.h:140:2: error: unknown type name 'Uint8'
        Uint8 GetStatusAlpha();
        ^
../UI/setting.h:142:22: error: unknown type name 'Uint8'
        void SetStatusAlpha(Uint8 alpha);
                            ^
../UI/setting.h:184:2: error: unknown type name 'Uint8'
        Uint8 GetSoftKeyAlpha();
        ^
../UI/setting.h:186:23: error: unknown type name 'Uint8'
        void SetSoftKeyAlpha(Uint8 alpha);
                             ^
../UI/setting.h:188:2: error: unknown type name 'Uint32'
        Uint32 GetSoftKeyTime();
        ^
../UI/setting.h:190:22: error: unknown type name 'Uint32'
        void SetSoftKeyTime(Uint32 ms);
                            ^
fatal error: 1 warning and 20 errortoo many errors emitted, stopping now [-ferror-limit=]
s generated.
gmake: *** [makefile:41: ../UI/audio.o] Error 1
5 warnings and 20 errors generated.
gmake: *** [makefile:41: ../UI/app.o] Error 1
*** Error code 2

Stop.
bmake[1]: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/emulators/xm8
*** Error code 1

Stop.
bmake: stopped in /Volumes/data/jenkins/workspace/pkgsrc-macos11-trunk-arm64/emulators/xm8