kodi-game / kodi-game-scripting

Scripting for Kodi Game add-ons
GNU General Public License v2.0
5 stars 9 forks source link

Exclude ios-aarch64 from Jenkins CI #97

Closed garbear closed 2 years ago

garbear commented 3 years ago

Description

This PR explicitly specifies Jenkins build machines to exclude iOS builds (currently failing for all add-ons).

Link to failing Jenkins run: https://jenkins.kodi.tv/blue/organizations/jenkins/kodi-game%2Fgame.libretro.yabause/detail/0.9.15.24-Nexus/1/pipeline/

Multiple people have taken a look and compared build environments, but there must be something that's off on Jenkins. tvOS compiles fine.

So, I'll disable iOS while I work on fixing add-ons and turning Blue Ocean to green.

Error log:

[ 75%] Performing build step for 'yabause'

ld: warning: ignoring file /Applications/Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/lib/libSystem.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64)
ld: warning: ignoring file /Applications/Xcode11.3.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.2.sdk/usr/lib/libc++.tbd, file was built for unsupported file format ( 0x2D 0x2D 0x2D 0x20 0x21 0x74 0x61 0x70 0x69 0x2D 0x74 0x62 0x64 0x2D 0x76 0x33 ) which is not the architecture being linked (arm64)

Undefined symbols for architecture arm64:
  "__DefaultRuneLocale", referenced from:
      _StripPreSuffixWhitespace in cd-libretro.c.o
      _filestream_scanf in file_stream.c.o
      _string_hex_to_unsigned in stdstring.c.o
  "___error", referenced from:
      _retro_vfs_mkdir_impl in vfs_implementation.c.o
  "___exp10", referenced from:
      _scsp_init in scsp.c.o

... (123 symbols total)

  "_tmpfile", referenced from:
      _YabSaveStateBuffer in memory.c.o
      _YabLoadStateBuffer in memory.c.o
  "_vfprintf", referenced from:
      _DebugPrintf in debug.c.o
      _cd_trace_log in sh7034.c.o
      _lle_trace_log in ygr.c.o
  "_wcstombs", referenced from:
      _utf16_to_utf8_string_alloc in encoding_utf.c.o
  "_write", referenced from:
      _retro_vfs_file_write_impl in vfs_implementation.c.o
     (maybe you meant: _scsp_slot_write_byte, _m68k_write_memory_8 , _retro_vfs_file_write_impl , _scsp_slot_write_word , _sh2_trace_writel , _get_cache_through_timing_write_byte_word , _cache_memory_write_w , _do_write_from_b , _ygr_sh1_write_byte , _get_write_add_a_to_cpu , _cache_memory_write_b , _ygr_a_bus_write_word , _onchip_dmac_write_long , _get_write_add_from_b , _onchip_write_byte , _ygr_sh1_write_long , _get_write_add_b , _m68k_write_memory_16 , _memory_map_write_byte , _onchip_write_timer_word , _write_fifo , _onchip_write_word , _flac_decoder_write_callback , _memory_map_write_long , _ygr_sh1_write_word , _ygr_a_bus_write_long , _memory_map_write_word , _onchip_sci_write_word , _onchip_write_timer_byte , _sh2_trace_writew , _sh2_trace_writeb , _do_writes_a_to_cpu , _sh2_set_read_write_funcs , _onchip_write_long , _do_writes_b , _mpeg_card_write_word , _m68ki_aerr_write_mode , _get_write_add_value , _m68k_write_memory_32 , _filestream_write_file , _cache_memory_write_l , _onchip_dmac_write_word , _get_cache_through_timing_write_long , _sh2_ygr_a_bus_write_word , _sh2_ygr_a_bus_write_long , _filestream_write )
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[8]: *** [yabause_libretro_ios.dylib] Error 1
make[7]: *** [yabause/src/yabause-stamp/yabause-build] Error 2
make[6]: *** [CMakeFiles/yabause.dir/all] Error 2
make[5]: *** [all] Error 2
make[4]: *** [build/yabause/src/yabause-stamp/yabause-build] Error 2
make[3]: *** [CMakeFiles/yabause.dir/all] Error 2
make[2]: *** [CMakeFiles/package-game.libretro.yabause.dir/rule] Error 2
make[1]: *** [package-game.libretro.yabause] Error 2
touch .installed-iphoneos13.2_arm64-target-release