[MacPorts] #66640: mame @0.226_7+tools: error: no member named 'get_io_service' in 'asio::basic_stream_socket<asio::ip::tcp>'

MacPorts noreply at macports.org
Tue Apr 18 21:47:04 UTC 2023


#66640: mame @0.226_7+tools: error: no member named 'get_io_service' in
'asio::basic_stream_socket<asio::ip::tcp>'
-----------------------+--------------------------
  Reporter:  chillin-  |      Owner:  mascguy
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.8.0
Resolution:            |   Keywords:  mountainlion
      Port:  mame      |
-----------------------+--------------------------

Comment (by mascguy):

 Replying to [comment:3 mascguy]:
 > However, I'm seeing an unrelated link error due to missing symbol
 `_memrchr`, at least locally on 10.12. So leaving this open for now, to
 see whether that also occurs on the buildbots.

 Confirmed, this is also occurring on the buildbots:

 {{{
 Linking jedutil...
 /opt/local/bin/clang++-mp-15 -o ../../../../../jedutil
 ../../../../osx_clang/obj/x64/Release/src/tools/jedutil.o
 -L"." -L"../../../../osx_clang/bin/x64/Release"
 -L"../../../../osx_clang/bin/x64/Release/mame_mame" -m64 -arch x86_64
 -Xlinker -no_deduplicate
 -Wno-unused-command-line-argument -stdlib=libc++ -L/opt/local/lib
 -Wl,-headerpad_max_install_names -framework QuartzCore -framework OpenGL
 -weak_framework Metal -L/opt/local/lib -Wl,-framework,CoreAudio
 -Wl,-framework,AudioToolbox -Wl,-framework,ForceFeedback
 -Wl,-framework,CoreVideo
 -Wl,-framework,Cocoa -Wl,-framework,Carbon -Wl,-framework,IOKit
 -Wl,-weak_framework,QuartzCore -Wl,-weak_framework,Metal
 ../../../../osx_clang/bin/x64/Release/libutils.a
 ../../../../osx_clang/bin/x64/Release/mame_mame/libocore_sdl.a -lpugixml
 -lpthread -framework Cocoa
 -lSDL2 -lm -liconv -lobjc -lexpat -lz -lutf8proc

 Undefined symbols for architecture x86_64:
   "_memrchr", referenced from:
       pla_parse(void const*, unsigned long, jed_data*) in
 libutils.a(plaparse.o)

 ld: symbol(s) not found for architecture x86_64
 clang: error: linker command failed with exit code 1 (use -v to see
 invocation)
 gmake[2]: *** [jedutil.make:254: ../../../../../jedutil] Error 1
 }}}

 For you toolchain-savvy folks, is this due to `-stdlib=libc++`? (For the
 life of me, the whole stdlib topic gives me a headache. LOL)

-- 
Ticket URL: <https://trac.macports.org/ticket/66640#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list