=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for retroarch-1.9.0nb14
CC frontend/drivers/platform_unix.c
CC version_git.c
CC frontend/frontend_driver.c
CC retroarch.c
CC msg_hash.c
CC intl/msg_hash_us.c
CC libretro-common/queues/task_queue.c
CC tasks/task_content.c
CC tasks/task_patch.c
CC tasks/task_save.c
CC tasks/task_file_transfer.c
CC tasks/task_image.c
CC tasks/task_playlist_manager.c
CC tasks/task_manual_content_scan.c
CC tasks/task_core_backup.c
CC libretro-common/encodings/encoding_utf.c
CC libretro-common/encodings/encoding_crc32.c
CC libretro-common/encodings/encoding_base64.c
CC libretro-common/compat/fopen_utf8.c
CC libretro-common/lists/file_list.c
CC libretro-common/lists/dir_list.c
CC libretro-common/file/retro_dirent.c
CC libretro-common/streams/stdin_stream.c
CC libretro-common/streams/file_stream.c
CC libretro-common/streams/file_stream_transforms.c
CC libretro-common/streams/interface_stream.c
CC libretro-common/streams/memory_stream.c
CC libretro-common/vfs/vfs_implementation.c
CC libretro-common/lists/string_list.c
CC libretro-common/string/stdstring.c
CC libretro-common/memmap/memalign.c
CC libretro-common/file/nbio/nbio_stdio.c
CC libretro-common/file/nbio/nbio_unixmmap.c
CC libretro-common/file/nbio/nbio_intf.c
CC libretro-common/file/file_path.c
CC libretro-common/file/file_path_io.c
CC file_path_special.c
CC file_path_str.c
CC libretro-common/hash/rhash.c
CC input/common/input_hid_common.c
CC led/led_driver.c
CC gfx/video_coord_array.c
CC gfx/video_crt_switch.c
CC gfx/gfx_display.c
CC gfx/gfx_animation.c
CC gfx/gfx_thumbnail_path.c
CC gfx/gfx_thumbnail.c
CC configuration.c
CC libretro-common/dynamic/dylib.c
CC cores/dynamic_dummy.c
CC libretro-common/queues/message_queue.c
CC managers/state_manager.c
CC gfx/drivers_font_renderer/bitmapfont.c
CC tasks/task_autodetect.c
CC input/input_autodetect_builtin.c
CC input/input_keymaps.c
CC libretro-common/queues/fifo_queue.c
CC libretro-common/compat/compat_fnmatch.c
CC libretro-common/compat/compat_posix_string.c
CC managers/cheat_manager.c
CC core_info.c
CC core_backup.c
CC libretro-common/file/config_file.c
CC libretro-common/file/config_file_userdata.c
CC runtime_file.c
CC disk_index_file.c
CC tasks/task_screenshot.c
CC tasks/task_powerstate.c
CC libretro-common/gfx/scaler/scaler.c
CC libretro-common/gfx/scaler/pixconv.c
CC libretro-common/gfx/scaler/scaler_int.c
CC libretro-common/gfx/scaler/scaler_filter.c
CC gfx/font_driver.c
CC gfx/video_filter.c
CC libretro-common/audio/resampler/audio_resampler.c
CC libretro-common/audio/dsp_filter.c
CC libretro-common/audio/resampler/drivers/sinc_resampler.c
CC libretro-common/audio/resampler/drivers/nearest_resampler.c
CC libretro-common/utils/md5.c
CC playlist.c
CC libretro-common/features/features_cpu.c
CC verbosity.c
CC libretro-common/playlists/label_sanitization.c
CC libretro-common/time/rtime.c
CC manual_content_scan.c
CC disk_control_interface.c
CC tasks/task_audio_mixer.c
CC libretro-common/audio/audio_mix.c
CC libretro-common/audio/audio_mixer.c
CC audio/drivers_resampler/cc_resampler.c
CC intl/msg_hash_de.c
CC intl/msg_hash_eo.c
CC intl/msg_hash_es.c
CC intl/msg_hash_fr.c
CC intl/msg_hash_it.c
CC intl/msg_hash_ja.c
CC intl/msg_hash_ko.c
CC intl/msg_hash_nl.c
CC intl/msg_hash_pl.c
CC intl/msg_hash_pt_br.c
CC intl/msg_hash_pt_pt.c
CC intl/msg_hash_ru.c
CC intl/msg_hash_vn.c
CC intl/msg_hash_chs.c
CC intl/msg_hash_cht.c
CC intl/msg_hash_ar.c
CC intl/msg_hash_el.c
CC intl/msg_hash_tr.c
CC intl/msg_hash_sk.c
CC intl/msg_hash_fa.c
CC intl/msg_hash_he.c
CC intl/msg_hash_ast.c
CC libretro-common/formats/image_texture.c
CC cores/libretro-imageviewer/image_core.c
CC libretro-db/bintree.c
CC libretro-db/libretrodb.c
CC libretro-db/query.c
CC libretro-db/rmsgpack.c
CC libretro-db/rmsgpack_dom.c
CC database_info.c
CC tasks/task_database.c
CC tasks/task_database_cue.c
CC menu/menu_explore.c
CC audio/drivers/audioio.c
CC audio/drivers/oss.c
CC libretro-common/audio/conversion/s16_to_float.c
CC libretro-common/audio/conversion/float_to_s16.c
CC libretro-common/formats/wav/rwav.c
CC menu/drivers/rgui.c
CC menu/drivers/materialui.c
CC menu/drivers/xmb.c
CC menu/drivers/ozone/ozone.c
CC menu/drivers/ozone/ozone_entries.c
CC menu/drivers/ozone/ozone_display.c
CC menu/drivers/ozone/ozone_texture.c
CC menu/drivers/ozone/ozone_theme.c
CC menu/drivers/ozone/ozone_sidebar.c
CC menu/menu_setting.c
CC menu/cbs/menu_cbs_ok.c
CC menu/cbs/menu_cbs_cancel.c
CC menu/cbs/menu_cbs_select.c
CC menu/cbs/menu_cbs_start.c
CC menu/cbs/menu_cbs_info.c
CC menu/cbs/menu_cbs_refresh.c
CC menu/cbs/menu_cbs_left.c
CC menu/cbs/menu_cbs_right.c
CC menu/cbs/menu_cbs_deferred_push.c
CC menu/cbs/menu_cbs_scan.c
CC menu/cbs/menu_cbs_get_value.c
CC menu/cbs/menu_cbs_label.c
CC menu/cbs/menu_cbs_sublabel.c
CC menu/cbs/menu_cbs_title.c
CC menu/cbs/menu_cbs_up.c
CC menu/cbs/menu_cbs_down.c
CC menu/cbs/menu_cbs_contentlist_switch.c
CC menu/menu_displaylist.c
CC gfx/gfx_widgets.c
CC gfx/widgets/gfx_widget_screenshot.c
CC gfx/widgets/gfx_widget_volume.c
CC gfx/widgets/gfx_widget_generic_message.c
CC gfx/widgets/gfx_widget_libretro_message.c
CC gfx/widgets/gfx_widget_progress_message.c
CC gfx/widgets/gfx_widget_load_content_animation.c
CC gfx/widgets/gfx_widget_achievement_popup.c
CC tasks/task_overlay.c
CC led/drivers/led_overlay.c
CC gfx/video_layout.c
CC gfx/video_layout/view.c
CC gfx/video_layout/element.c
CC gfx/video_layout/component.c
CC gfx/video_layout/internal.c
CC gfx/video_layout/load.c
CC gfx/video_layout/scope.c
CC gfx/drivers_font_renderer/stb.c
CC gfx/drivers_font_renderer/stb_unicode.c
CC gfx/drivers_font_renderer/freetype.c
CC libretro-common/rthreads/rthreads.c
CC gfx/video_thread_wrapper.c
CC audio/audio_thread_wrapper.c
CC libretro-common/formats/xml/rxml.c
CC libretro-common/formats/logiqx_dat/logiqx_dat.c
CC deps/yxml/yxml.c
CC input/drivers_joypad/hid_joypad.c
CC input/connect/joypad_connection.c
CC input/connect/connect_ps2adapter.c
CC input/connect/connect_psxadapter.c
CC input/connect/connect_ps3.c
CC input/connect/connect_ps4.c
CC input/connect/connect_wii.c
CC input/connect/connect_retrode.c
CC input/connect/connect_nesusb.c
CC input/connect/connect_snesusb.c
CC input/connect/connect_wiiupro.c
CC input/connect/connect_wiiugca.c
CC gfx/drivers_context/gfx_null_ctx.c
CC gfx/drivers/gl.c
CC libretro-common/gfx/gl_capabilities.c
CC gfx/drivers_font/gl_raster_font.c
CC gfx/drivers_display/gfx_display_gl.c
CC libretro-common/glsym/rglgen.c
CC libretro-common/glsym/glsym_gl.c
CC gfx/drivers/sdl2_gfx.c
CC gfx/common/sdl2_common.c
CC input/drivers/sdl_input.c
CC input/drivers_joypad/sdl_joypad.c
input/drivers_joypad/sdl_joypad.c: In function 'sdl_pad_connect':
input/drivers_joypad/sdl_joypad.c:103:14: warning: variable 'guid_ptr' set but not used [-Wunused-but-set-variable]
    uint16_t *guid_ptr         = NULL;
              ^~~~~~~~
CC audio/drivers/sdl_audio.c
CC gfx/drivers_context/sdl_gl_ctx.c
CC gfx/drivers_shader/shader_glsl.c
CC gfx/video_shader_parse.c
CC libretro-common/file/archive_file.c
CC libretro-common/streams/trans_stream.c
CC libretro-common/streams/trans_stream_pipe.c
CC libretro-common/file/archive_file_7z.c
CC deps/7zip/7zIn.c
CC deps/7zip/Bra86.c
CC deps/7zip/7zFile.c
CC deps/7zip/7zStream.c
CC deps/7zip/LzFind.c
CC deps/7zip/LzmaDec.c
CC deps/7zip/LzmaEnc.c
CC deps/7zip/7zCrcOpt.c
CC deps/7zip/Bra.c
CC deps/7zip/7zDec.c
CC deps/7zip/7zCrc.c
CC deps/7zip/Bcj2.c
CC deps/7zip/Lzma2Dec.c
CC deps/7zip/7zBuf.c
CC deps/ibxm/ibxm.c
CC libretro-common/file/archive_file_zlib.c
CC libretro-common/streams/trans_stream_zlib.c
CC libretro-common/streams/rzip_stream.c
CC libretro-common/formats/libchdr/libchdr_bitstream.c
CC libretro-common/formats/libchdr/libchdr_cdrom.c
CC libretro-common/formats/libchdr/libchdr_chd.c
CC libretro-common/formats/libchdr/libchdr_huffman.c
CC libretro-common/streams/chd_stream.c
CC libretro-common/formats/libchdr/libchdr_zlib.c
CC libretro-common/formats/libchdr/libchdr_flac.c
CC libretro-common/formats/libchdr/libchdr_flac_codec.c
CC libretro-common/formats/libchdr/libchdr_lzma.c
CC libretro-common/formats/tga/rtga.c
CC libretro-common/formats/png/rpng.c
CC libretro-common/formats/png/rpng_encode.c
CC libretro-common/formats/jpeg/rjpeg.c
CC libretro-common/formats/bmp/rbmp.c
CC libretro-common/formats/bmp/rbmp_encode.c
CC libretro-common/formats/json/jsonsax.c
CC libretro-common/formats/json/jsonsax_full.c
CC libretro-common/formats/image_transfer.c
CC libretro-common/formats/m3u/m3u_file.c
CC libretro-common/net/net_compat.c
CC libretro-common/net/net_http.c
CC libretro-common/net/net_http_parse.c
CC libretro-common/net/net_socket.c
CC libretro-common/net/net_natt.c
CC core_updater_list.c
CC network/net_http_special.c
CC tasks/task_http.c
CC tasks/task_netplay_lan_scan.c
CC tasks/task_netplay_nat_traversal.c
CC tasks/task_bluetooth.c
CC tasks/task_wifi.c
CC tasks/task_pl_thumbnail_download.c
CC tasks/task_netplay_find_content.c
CC tasks/task_core_updater.c
CC menu/menu_networking.c
CC libretro-common/net/net_socket_ssl.c
CC libretro-common/net/net_ifinfo.c
CC network/netplay/netplay_delta.c
CC network/netplay/netplay_handshake.c
CC network/netplay/netplay_init.c
CC network/netplay/netplay_io.c
CC network/netplay/netplay_keyboard.c
CC network/netplay/netplay_sync.c
CC network/netplay/netplay_discovery.c
CC network/netplay/netplay_buf.c
CC network/netplay/netplay_room_parse.c
CC cheevos/cheevos.c
CC cheevos/badges.c
CC cheevos/fixup.c
CC cheevos/parser.c
CC cheevos/hash.c
CC libretro-common/formats/cdfs/cdfs.c
CC deps/rcheevos/src/rcheevos/alloc.c
CC deps/rcheevos/src/rcheevos/compat.c
CC deps/rcheevos/src/rcheevos/condition.c
CC deps/rcheevos/src/rcheevos/condset.c
CC deps/rcheevos/src/rcheevos/consoleinfo.c
CC deps/rcheevos/src/rcheevos/format.c
CC deps/rcheevos/src/rcheevos/lboard.c
CC deps/rcheevos/src/rcheevos/memref.c
CC deps/rcheevos/src/rcheevos/operand.c
CC deps/rcheevos/src/rcheevos/richpresence.c
CC deps/rcheevos/src/rcheevos/runtime.c
CC deps/rcheevos/src/rcheevos/runtime_progress.c
CC deps/rcheevos/src/rcheevos/trigger.c
CC deps/rcheevos/src/rcheevos/value.c
CC deps/rcheevos/src/rhash/hash.c
CC deps/rcheevos/src/rurl/url.c
CC cores/libretro-net-retropad/net_retropad_core.c
CC tasks/task_decompress.c
LD retroarch
ld: /tmp/pkgbuild/emulators/retroarch/work.alpha/.x11-buildlink/lib/libSDL2.a(SDL_bsdjoystick.o): in function `FreeHwData':
(.text+0x320): undefined reference to `hid_dispose_report_desc'
ld: (.text+0x324): undefined reference to `hid_dispose_report_desc'
ld: /tmp/pkgbuild/emulators/retroarch/work.alpha/.x11-buildlink/lib/libSDL2.a(SDL_bsdjoystick.o): in function `BSD_JoystickUpdate':
(.text+0x418): undefined reference to `hid_start_parse'
ld: (.text+0x420): undefined reference to `hid_start_parse'
ld: (.text+0x444): undefined reference to `hid_get_item'
ld: (.text+0x44c): undefined reference to `hid_get_item'
ld: (.text+0x484): undefined reference to `hid_get_data'
ld: (.text+0x48c): undefined reference to `hid_get_data'
ld: (.text+0x4c4): undefined reference to `hid_end_parse'
ld: (.text+0x4c8): undefined reference to `hid_end_parse'
ld: (.text+0x50c): undefined reference to `hid_get_data'
ld: (.text+0x51c): undefined reference to `hid_get_data'
ld: (.text+0x580): undefined reference to `hid_get_data'
ld: (.text+0x588): undefined reference to `hid_get_data'
ld: /tmp/pkgbuild/emulators/retroarch/work.alpha/.x11-buildlink/lib/libSDL2.a(SDL_bsdjoystick.o): in function `CreateHwData':
(.text+0x934): undefined reference to `hid_get_report_desc'
ld: (.text+0x950): undefined reference to `hid_get_report_desc'
ld: (.text+0x994): undefined reference to `hid_report_size'
ld: (.text+0x998): undefined reference to `hid_report_size'
ld: (.text+0xaa8): undefined reference to `hid_start_parse'
ld: (.text+0xaac): undefined reference to `hid_start_parse'
ld: (.text+0xaf4): undefined reference to `hid_get_item'
ld: (.text+0xafc): undefined reference to `hid_get_item'
ld: (.text+0xb54): undefined reference to `hid_end_parse'
ld: (.text+0xb58): undefined reference to `hid_end_parse'
ld: /tmp/pkgbuild/emulators/retroarch/work.alpha/.x11-buildlink/lib/libSDL2.a(SDL_bsdjoystick.o): in function `BSD_JoystickInit':
(.text+0x12d4): undefined reference to `hid_init'
ld: (.text+0x12d8): undefined reference to `hid_init'
ld: /tmp/pkgbuild/emulators/retroarch/work.alpha/.x11-buildlink/lib/libSDL2.a(SDL_audio.o): in function `SDL_AudioInit_REAL':
(.text+0x2d84): undefined reference to `src_new'
ld: (.text+0x2d94): undefined reference to `src_process'
ld: (.text+0x2da0): undefined reference to `src_reset'
ld: (.text+0x2dac): undefined reference to `src_delete'
ld: (.text+0x2db8): undefined reference to `src_strerror'
ld: (.text+0x2dc4): undefined reference to `src_simple'
ld: /tmp/pkgbuild/emulators/retroarch/work.alpha/.x11-buildlink/lib/libSDL2.a(SDL_x11dyn.o): in function `SDL_X11_LoadSymbols':
(.text+0xd38): undefined reference to `XIBarrierReleasePointer'
ld: (.text+0xed0): undefined reference to `XcursorImageCreate'
ld: (.text+0xee4): undefined reference to `XcursorImageDestroy'
ld: (.text+0xef0): undefined reference to `XcursorImageLoadCursor'
ld: (.text+0xf70): undefined reference to `XIQueryDevice'
ld: (.text+0xf84): undefined reference to `XIFreeDeviceInfo'
ld: (.text+0xf90): undefined reference to `XISelectEvents'
ld: (.text+0xf9c): undefined reference to `XIGrabTouchBegin'
ld: (.text+0xfa8): undefined reference to `XIUngrabTouchBegin'
ld: (.text+0xfb4): undefined reference to `XIQueryVersion'
ld: (.text+0xfc0): undefined reference to `XIGetSelectedEvents'
ld: (.text+0xfcc): undefined reference to `XIGetClientPointer'
ld: (.text+0xfd8): undefined reference to `XIWarpPointer'
ld: (.text+0xfe4): undefined reference to `XRRQueryVersion'
ld: (.text+0xff8): undefined reference to `XRRQueryExtension'
ld: (.text+0x1004): undefined reference to `XRRGetScreenInfo'
ld: (.text+0x1010): undefined reference to `XRRConfigCurrentConfiguration'
ld: (.text+0x101c): undefined reference to `XRRConfigCurrentRate'
ld: (.text+0x1028): undefined reference to `XRRConfigRates'
ld: (.text+0x1034): undefined reference to `XRRConfigSizes'
ld: (.text+0x1040): undefined reference to `XRRSetScreenConfigAndRate'
ld: (.text+0x104c): undefined reference to `XRRFreeScreenConfigInfo'
ld: (.text+0x1058): undefined reference to `XRRSetScreenSize'
ld: (.text+0x1064): undefined reference to `XRRGetScreenSizeRange'
ld: (.text+0x1070): undefined reference to `XRRGetScreenResources'
ld: (.text+0x107c): undefined reference to `XRRGetScreenResourcesCurrent'
ld: (.text+0x1088): undefined reference to `XRRFreeScreenResources'
ld: (.text+0x1094): undefined reference to `XRRGetOutputInfo'
ld: (.text+0x10a0): undefined reference to `XRRFreeOutputInfo'
ld: (.text+0x10ac): undefined reference to `XRRGetCrtcInfo'
ld: (.text+0x10b8): undefined reference to `XRRFreeCrtcInfo'
ld: (.text+0x10c4): undefined reference to `XRRSetCrtcConfig'
ld: (.text+0x10d0): undefined reference to `XRRListOutputProperties'
ld: (.text+0x10dc): undefined reference to `XRRQueryOutputProperty'
ld: (.text+0x10e8): undefined reference to `XRRGetOutputProperty'
ld: (.text+0x10f4): undefined reference to `XRRGetOutputPrimary'
ld: (.text+0x1100): undefined reference to `XRRSelectInput'
ld: (.text+0x110c): undefined reference to `XScreenSaverQueryExtension'
ld: (.text+0x1120): undefined reference to `XScreenSaverQueryVersion'
ld: (.text+0x112c): undefined reference to `XScreenSaverSuspend'
ld: /tmp/pkgbuild/emulators/retroarch/work.alpha/.x11-buildlink/lib/libSDL2.a(SDL_kmsdrmdyn.o): in function `SDL_KMSDRM_LoadSymbols':
(.text+0x3b8): undefined reference to `gbm_device_is_format_supported'
ld: (.text+0x3c4): undefined reference to `gbm_device_destroy'
ld: (.text+0x3d0): undefined reference to `gbm_create_device'
ld: (.text+0x3dc): undefined reference to `gbm_bo_get_width'
ld: (.text+0x3e8): undefined reference to `gbm_bo_get_height'
ld: (.text+0x3f4): undefined reference to `gbm_bo_get_stride'
ld: (.text+0x400): undefined reference to `gbm_bo_get_format'
ld: (.text+0x40c): undefined reference to `gbm_bo_get_handle'
ld: (.text+0x418): undefined reference to `gbm_bo_write'
ld: (.text+0x424): undefined reference to `gbm_bo_get_device'
ld: (.text+0x430): undefined reference to `gbm_bo_set_user_data'
ld: (.text+0x43c): undefined reference to `gbm_bo_get_user_data'
ld: (.text+0x448): undefined reference to `gbm_bo_destroy'
ld: (.text+0x454): undefined reference to `gbm_bo_create'
ld: (.text+0x460): undefined reference to `gbm_surface_create'
ld: (.text+0x46c): undefined reference to `gbm_surface_destroy'
ld: (.text+0x478): undefined reference to `gbm_surface_lock_front_buffer'
ld: (.text+0x484): undefined reference to `gbm_surface_release_buffer'
gmake: *** [Makefile:201: retroarch] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/emulators/retroarch
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/emulators/retroarch