Opened 20 months ago
Last modified 17 months ago
#66640 assigned defect
mame @0.226_7+tools: error: no member named 'get_io_service' in 'asio::basic_stream_socket<asio::ip::tcp>'
Reported by: | chillin- | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | mountainlion | Cc: | chillin-, mriege05 |
Port: | mame |
Description (last modified by chillin-)
macmini5,2
OS X 10.8.5
Xcode 5.1.1
Currently, I have mame@0.226_6+tools installed. idk if the variant matters here.
gmake: Leaving directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_mame/mame/work/mame-mame0226' Command failed: /opt/local/bin/gmake --jobs=4 --file=makefile -w all ARCHOPTS="-Xlinker -no_deduplicate -Wno-unused-command-line-argument -stdlib=libc++" CC="/opt/local/bin/clang-mp-15" CXX="/opt/local/bin/clang++-mp-15" CFLAGS="-isystem/opt/local/include" LDOPTS="-L/opt/local/lib -Wl,-headerpad_max_install_names" PRECOMPILE=1 TESTS=0 BENCHMARKS=0 DEBUG=0 OPTIMIZE=2 NOWERROR=1 DEPRECATED=0 VERBOSE=1 USE_LIBSDL=1 USE_SYSTEM_LIB_ASIO=1 USE_SYSTEM_LIB_EXPAT=1 USE_SYSTEM_LIB_FLAC=1 USE_SYSTEM_LIB_JPEG=1 USE_SYSTEM_LIB_LUA=1 USE_SYSTEM_LIB_PORTAUDIO=1 USE_SYSTEM_LIB_PORTMIDI=1 USE_SYSTEM_LIB_PUGIXML=1 USE_SYSTEM_LIB_SQLITE3=1 USE_SYSTEM_LIB_UTF8PROC=1 USE_SYSTEM_LIB_ZLIB=1 TOOLS=1 PTR64=1 PYTHON_EXECUTABLE=/opt/local/bin/python3.10 Exit code: 2 Error: Failed to build mame: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_emulators_mame/mame/main.log for details.
Attachments (1)
Change History (5)
Changed 20 months ago by chillin-
comment:1 Changed 20 months ago by chillin-
Description: | modified (diff) |
---|
comment:2 Changed 18 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mriege05 added |
---|---|
Keywords: | mountainlion added; Mountain Lion removed |
Owner: | set to mascguy |
Status: | new → assigned |
Summary: | mame@0.226_7 build fail on OS X 10.8.5 → mame @0.226_7+tools: error: no member named 'get_io_service' in 'asio::basic_stream_socket<asio::ip::tcp>' |
The log says:
In file included from ../../../../../src/emu/http.cpp:18: ../../../../../src/lib/util/server_ws_impl.hpp:80:87: error: no member named 'get_io_service' in 'asio::basic_stream_socket<asio::ip::tcp>' explicit Connection(socket_type *socket): super(0), socket(socket), strand(socket->get_io_service()), closed(false) { } ~~~~~~ ^ ../../../../../src/lib/util/server_ws_impl.hpp:696:47: note: in instantiation of member function 'webpp::SocketServerBase<asio::basic_stream_socket<asio::ip::tcp>>::Connection::Connection' requested here std::shared_ptr<Connection> connection(new Connection(new WS(*io_context))); ^ ../../../../../src/lib/util/server_ws_impl.hpp:364:74: error: no member named 'get_io_service' in 'asio::basic_stream_socket<asio::ip::tcp>' auto timer = std::make_shared<asio::system_timer>(connection->socket->get_io_service()); ~~~~~~~~~~~~~~~~~~~~^ ../../../../../src/lib/util/server_ws_impl.hpp:383:17: note: in instantiation of member function 'webpp::SocketServerBase<asio::basic_stream_socket<asio::ip::tcp>>::get_timeout_timer' requested here auto timer = get_timeout_timer(connection, config.timeout_request); ^ ../../../../../src/lib/util/server_ws_impl.hpp:707:6: note: in instantiation of member function 'webpp::SocketServerBase<asio::basic_stream_socket<asio::ip::tcp>>::read_handshake' requested here read_handshake(connection); ^ ../../../../../src/lib/util/server_ws_impl.hpp:655:86: error: no member named 'get_io_service' in 'asio::basic_stream_socket<asio::ip::tcp>' connection->timer_idle= std::make_unique<asio::system_timer>(connection->socket->get_io_service()); ~~~~~~~~~~~~~~~~~~~~^ ../../../../../src/lib/util/server_ws_impl.hpp:616:4: note: in instantiation of member function 'webpp::SocketServerBase<asio::basic_stream_socket<asio::ip::tcp>>::timer_idle_init' requested here timer_idle_init(connection); ^ ../../../../../src/lib/util/server_ws_impl.hpp:448:9: note: in instantiation of member function 'webpp::SocketServerBase<asio::basic_stream_socket<asio::ip::tcp>>::connection_open' requested here connection_open(connection, regex_endpoint.second); ^ ../../../../../src/lib/util/server_ws_impl.hpp:396:6: note: in instantiation of member function 'webpp::SocketServerBase<asio::basic_stream_socket<asio::ip::tcp>>::write_handshake' requested here write_handshake(connection, read_buffer); ^ ../../../../../src/lib/util/server_ws_impl.hpp:707:6: note: in instantiation of member function 'webpp::SocketServerBase<asio::basic_stream_socket<asio::ip::tcp>>::read_handshake' requested here read_handshake(connection); ^
Has duplicate #67155 on High Sierra. Buildbot workers fail to build this port on High Sierra and earlier.
comment:3 follow-up: 4 Changed 17 months ago by mascguy (Christopher Nielsen)
A patch was graciously provided by John Gilbert, and was just applied via the following commit:
https://github.com/macports/macports-ports/commit/af7177a0cf9d0e57066b7664f6b0131d3ceaf460
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.
comment:4 Changed 17 months ago by mascguy (Christopher Nielsen)
Replying to 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)
main.log