=> Bootstrap dependency digest>=20010302: found digest-20190127 ===> Skipping vulnerability checks. WARNING: No /opt/pkg/pkgdb/pkg-vulnerabilities file found. WARNING: To fix run: `/opt/pkg/sbin/pkg_admin -K /opt/pkg/pkgdb fetch-pkg-vulnerabilities'. ===> Building for adplay-1.8.1nb1 --- all-recursive --- Making all in src --- all --- /opt/pkg/bin/bmake all-am --- adplay.o --- --- output.o --- --- disk.o --- --- sdl.o --- --- adplay.o --- clang++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/libbinio -I/opt/pkg/include/SDL2 -D_THREAD_SAFE -DADPLUG_DATA_DIR=\"/opt/pkg/com/adplug\" -I/opt/pkg/include/SDL2 -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL2 -I/opt/pkg/include -MT adplay.o -MD -MP -MF .deps/adplay.Tpo -c -o adplay.o adplay.cc --- output.o --- clang++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/libbinio -I/opt/pkg/include/SDL2 -D_THREAD_SAFE -DADPLUG_DATA_DIR=\"/opt/pkg/com/adplug\" -I/opt/pkg/include/SDL2 -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL2 -I/opt/pkg/include -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.cc --- disk.o --- clang++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/libbinio -I/opt/pkg/include/SDL2 -D_THREAD_SAFE -DADPLUG_DATA_DIR=\"/opt/pkg/com/adplug\" -I/opt/pkg/include/SDL2 -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL2 -I/opt/pkg/include -MT disk.o -MD -MP -MF .deps/disk.Tpo -c -o disk.o disk.cc --- sdl.o --- clang++ -DHAVE_CONFIG_H -I. -I/opt/pkg/include -I/opt/pkg/include/libbinio -I/opt/pkg/include/SDL2 -D_THREAD_SAFE -DADPLUG_DATA_DIR=\"/opt/pkg/com/adplug\" -I/opt/pkg/include/SDL2 -I/opt/pkg/include -O2 -I/opt/pkg/include/SDL2 -I/opt/pkg/include -MT sdl.o -MD -MP -MF .deps/sdl.Tpo -c -o sdl.o sdl.cc In file included from sdl.cc:22: ./SDL.h:23:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ ./SDL.h:31:3: error: unknown type name 'SDL_AudioSpec' SDL_AudioSpec spec; ^ ./SDL.h:33:32: error: unknown type name 'Uint8' static void callback(void *, Uint8 *, int); ^ ./SDL.h:35:46: error: use of undeclared identifier 'AUDIO_U8' { return spec.channels * (spec.format == AUDIO_U8 ? 1 : 2); } ^ sdl.cc:29:31: error: use of undeclared identifier 'SDL_AudioSpec' memset(&spec, 0x00, sizeof(SDL_AudioSpec)); ^ sdl.cc:31:16: error: use of undeclared identifier 'SDL_INIT_AUDIO' if(SDL_Init(SDL_INIT_AUDIO) < 0) { ^ sdl.cc:32:60: error: use of undeclared identifier 'SDL_GetError' message(MSG_ERROR, "unable to initialize SDL -- %s", SDL_GetError()); ^ sdl.cc:37:33: error: use of undeclared identifier 'AUDIO_S16SYS' if(bits == 16) spec.format = AUDIO_S16SYS; else spec.format = AUDIO_U8; ^ sdl.cc:37:66: error: use of undeclared identifier 'AUDIO_U8' if(bits == 16) spec.format = AUDIO_S16SYS; else spec.format = AUDIO_U8; ^ --- adplay.o --- In file included from adplay.cc:56: In file included from ./players.h:58: ./SDL.h:23:10: warning: non-portable path to file ''; specified path differs in case from file name on disk [-Wnonportable-include-path] #include ^~~~~~~ --- sdl.o --- sdl.cc:44:56: error: use of undeclared identifier 'SDL_GetError' message(MSG_ERROR, "unable to open audio -- %s", SDL_GetError()); ^ --- adplay.o --- ./SDL.h:31:3: error: unknown type name 'SDL_AudioSpec' SDL_AudioSpec spec; ^ --- sdl.o --- sdl.cc:53:19: error: use of undeclared identifier 'SDL_INIT_AUDIO' if(!SDL_WasInit(SDL_INIT_AUDIO)) return; --- adplay.o --- ./SDL.h:33:32: error: unknown type name 'Uint8' static void callback(void *, Uint8 *, int); ^ --- sdl.o --- ^ --- adplay.o --- ./SDL.h:35:46: error: use of undeclared identifier 'AUDIO_U8' { return spec.channels * (spec.format == AUDIO_U8 ? 1 : 2); } ^ --- sdl.o --- sdl.cc:55:3: error: use of undeclared identifier 'SDL_CloseAudio' SDL_CloseAudio(); ^ sdl.cc:56:3: error: use of undeclared identifier 'SDL_Quit' SDL_Quit(); ^ --- adplay.o --- adplay.cc:217:14: error: use of undeclared identifier 'no_argument' {"8bit", no_argument, NULL, '8'}, // 8-bit replay ^ --- sdl.o --- sdl.cc:61:3: error: use of undeclared identifier 'SDL_PauseAudio' SDL_PauseAudio(0); ^ --- adplay.o --- adplay.cc:218:15: error: use of undeclared identifier 'no_argument' {"16bit", no_argument, NULL, '1'}, // 16-bit replay ^ --- sdl.o --- sdl.cc:65:42: error: unknown type name 'Uint8' void SDLPlayer::callback(void *userdata, Uint8 *audiobuf, int len) ^ --- adplay.o --- adplay.cc:219:14: error: use of undeclared identifier 'required_argument' {"freq", required_argument, NULL, 'f'}, // set frequency ^ adplay.cc:220:18: error: use of undeclared identifier 'no_argument' {"surround", no_argument, NULL, '4'}, // stereo/harmonic replay ^ adplay.cc:221:16: error: use of undeclared identifier 'no_argument' {"stereo", no_argument, NULL, '3'}, // stereo replay ^ --- output.o --- mv -f .deps/output.Tpo .deps/output.Po --- adplay.o --- adplay.cc:222:14: error: use of undeclared identifier 'no_argument' {"mono", no_argument, NULL, '2'}, // mono replay ^ --- sdl.o --- 1 warning and 14 errors generated. --- adplay.o --- adplay.cc:223:16: error: use of undeclared identifier 'required_argument' {"buffer", required_argument, NULL, 'b'}, // buffer size ^ --- disk.o --- mv -f .deps/disk.Tpo .deps/disk.Po --- sdl.o --- *** [sdl.o] Error code 1 bmake[2]: stopped in /opt/work/audio/adplay/work/adplay-1.8.1/src --- adplay.o --- adplay.cc:224:16: error: use of undeclared identifier 'required_argument' {"device", required_argument, NULL, 'd'}, // device file ^ adplay.cc:225:21: error: use of undeclared identifier 'no_argument' {"instruments", no_argument, NULL, 'i'}, // show instruments ^ adplay.cc:226:18: error: use of undeclared identifier 'no_argument' {"realtime", no_argument, NULL, 'r'}, // realtime song info ^ adplay.cc:227:17: error: use of undeclared identifier 'no_argument' {"message", no_argument, NULL, 'm'}, // song message ^ adplay.cc:228:17: error: use of undeclared identifier 'no_argument' {"subsong", no_argument, NULL, 's'}, // play subsong ^ adplay.cc:229:14: error: use of undeclared identifier 'no_argument' {"once", no_argument, NULL, 'o'}, // don't loop ^ adplay.cc:230:14: error: use of undeclared identifier 'no_argument' {"help", no_argument, NULL, 'h'}, // display help ^ adplay.cc:231:17: error: use of undeclared identifier 'no_argument' {"version", no_argument, NULL, 'V'}, // version information ^ adplay.cc:232:18: error: use of undeclared identifier 'required_argument' {"emulator", required_argument, NULL, 'e'}, // emulator to use ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. *** [adplay.o] Error code 1 bmake[2]: stopped in /opt/work/audio/adplay/work/adplay-1.8.1/src 2 errors bmake[2]: stopped in /opt/work/audio/adplay/work/adplay-1.8.1/src *** [all] Error code 2 bmake[1]: stopped in /opt/work/audio/adplay/work/adplay-1.8.1/src 1 error bmake[1]: stopped in /opt/work/audio/adplay/work/adplay-1.8.1/src *** [all-recursive] Error code 1 bmake: stopped in /opt/work/audio/adplay/work/adplay-1.8.1 1 error bmake: stopped in /opt/work/audio/adplay/work/adplay-1.8.1 *** Error code 2 Stop. bmake[1]: stopped in /opt/pkgsrc/audio/adplay *** Error code 1 Stop. bmake: stopped in /opt/pkgsrc/audio/adplay