[MacPorts] #49481: cardpeek @0.8.4 - crashes immediately
#49481: cardpeek @0.8.4 - crashes immediately --------------------+-------------------------------- Reporter: nb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: --------------------+-------------------------------- Hi, I've installed cardpeek, and it crashes immediately after I validate card reader. Message on the console is:[[BR]] dyld: lazy symbol binding failed: Symbol not found: _lua_remov Referenced from: /opt/local/bin/cardpeek Expected in: /opt/local/lib/liblua.dylib dyld: Symbol not found: _lua_remove Referenced from: /opt/local/bin/cardpeek Expected in: /opt/local/lib/liblua.dylib Trace/BPT trap: 5 When I ask version: cardpeek -version[[BR]] This is Darwin 14.5.0 x86_64. Cardpeek path is /Users/nb/.cardpeek/[[BR]] There is 1 reader detected:[[BR]] -> pcsc://Alcor Micro AU9520 -- Ticket URL: <https://trac.macports.org/ticket/49481> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4 - crashes immediately ---------------------+-------------------------------- Reporter: nb@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: | ---------------------+-------------------------------- Changes (by mf2k@…): * priority: High => Normal Comment: The Priority field is for use by Macports team members only. -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4 - crashes immediately -----------------------+--------------------------- Reporter: nb@… | Owner: db_macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cardpeek | -----------------------+--------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => db_macports@… * port: => cardpeek Old description:
Hi,
I've installed cardpeek, and it crashes immediately after I validate card reader. Message on the console is:[[BR]]
dyld: lazy symbol binding failed: Symbol not found: _lua_remov Referenced from: /opt/local/bin/cardpeek Expected in: /opt/local/lib/liblua.dylib
dyld: Symbol not found: _lua_remove Referenced from: /opt/local/bin/cardpeek Expected in: /opt/local/lib/liblua.dylib
Trace/BPT trap: 5
When I ask version: cardpeek -version[[BR]]
This is Darwin 14.5.0 x86_64. Cardpeek path is /Users/nb/.cardpeek/[[BR]]
There is 1 reader detected:[[BR]]
-> pcsc://Alcor Micro AU9520
New description: Hi, I've installed cardpeek, and it crashes immediately after I validate card reader. Message on the console is: {{{ dyld: lazy symbol binding failed: Symbol not found: _lua_remov Referenced from: /opt/local/bin/cardpeek Expected in: /opt/local/lib/liblua.dylib dyld: Symbol not found: _lua_remove Referenced from: /opt/local/bin/cardpeek Expected in: /opt/local/lib/liblua.dylib Trace/BPT trap: 5 }}} When I ask version: {{{ cardpeek -version This is Darwin 14.5.0 x86_64. Cardpeek path is /Users/nb/.cardpeek/ There is 1 reader detected: -> pcsc://Alcor Micro AU9520 }}} -- Comment: Sounds like cardpeek may not be compatible with lua 5.3. Or it may just need a rebuild. -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4 - crashes immediately -----------------------+--------------------------- Reporter: nb@… | Owner: db_macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cardpeek | -----------------------+--------------------------- Comment (by nb@…): Hi, I've tried to compile card peek but I have the following error: {{{ [...] :info:build Undefined symbols for architecture x86_64: :info:build "_luaL_checkint", referenced from: :info:build _subr_bytes_get in lua_bytes.o :info:build _subr_bytes_set in lua_bytes.o :info:build _subr_bytes_pad_left in lua_bytes.o :info:build _subr_bytes_pad_right in lua_bytes.o :info:build _subr_bytes_sub in lua_bytes.o :info:build _subr_bytes_convert in lua_bytes.o :info:build _subr_bytes_new in lua_bytes.o :info:build ... :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [cardpeek] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cardpeek/cardpeek/work/cardpeek-0.8.4' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cardpeek/cardpeek/work/cardpeek-0.8.4' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_sysutils_cardpeek/cardpeek/work/cardpeek-0.8.4" && /usr/bin/make -w all V=1 :info:build Exit code: 2 :error:build org.macports.build for port cardpeek returned: command execution failed [...] }}} Does it mean lua version is not compatible ? If so, what else can I do ? Please keep in mind I'm a Macports beginner. Thanks in advance Noury -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4 - crashes immediately -----------------------+--------------------------- Reporter: nb@… | Owner: db_macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cardpeek | -----------------------+--------------------------- Comment (by nb@…): Replying to [comment:2 ryandesign@…]:
Sounds like cardpeek may not be compatible with lua 5.3. Or it may just need a rebuild.
Hi, I finally found: au 5.3 uses luaL_checkinteger not luaL_checkint So I did the following: {{{ wget http://lil.fr.distfiles.macports.org/cardpeek/cardpeek-0.8.4.tar.gz tar zxfp cardpeek-0.8.4.tar.gz cd cardpeek-0.8.4 replaced luaL_checkint by luaL_checkinteger in lua_bytes.c ./configure make ./cardpeek }}} And all was ok. Who can correct the file in the package? Is it to Macport team to do that, or do I have to fill a bug report at cardpeek github issue page ? In the meantime, I'll use my freshly compiles cardpeek. Thanks for your help. -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4: not compatible with lua 5.3 -----------------------+--------------------------- Reporter: nb@… | Owner: db_macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cardpeek | -----------------------+--------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Thanks for confirming that this is an incompatibility with lua 5.3, and for suggesting a fix. This ticket has been assigned to the MacPorts maintainer of the cardpeek package, who should provide a fix. If not, I can fix it. -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4: not compatible with lua 5.3 -----------------------+--------------------------- Reporter: nb@… | Owner: db_macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cardpeek | -----------------------+--------------------------- Comment (by ryandesign@…): I've also filed a bug report with the developers of cardpeek: https://github.com/L1L1/cardpeek/issues/70 -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4: not compatible with lua 5.3 -----------------------+--------------------------- Reporter: nb@… | Owner: db_macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: cardpeek | -----------------------+--------------------------- Comment (by db_macports@…): Thanks for your investigations. Being the maintainer, I've just uploaded a patch file for the port (add a patch to change luaL_checkint by luaL_checkinteger). -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4: not compatible with lua 5.3 -----------------------+--------------------------- Reporter: nb@… | Owner: db_macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: cardpeek | -----------------------+--------------------------- Changes (by mf2k@…): * keywords: => haspatch Comment: Thank you, but please do not edit the {{{# $Id:}}} line. -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4: not compatible with lua 5.3 -----------------------+--------------------------- Reporter: nb@… | Owner: db_macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: cardpeek | -----------------------+--------------------------- Changes (by raimue@…): * cc: raimue@… (added) Comment: This patch does not seem to fix all build problems for me: {{{ Undefined symbols for architecture x86_64: "_lua_rotate", referenced from: _subr_bytes_index in lua_bytes.o _internal_get_variable in lua_ext.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) }}} {{{ $ port -q installed lua lua52 lua @5.3.1_2 (active) lua52 @5.2.3_0 (active) }}} The problem appears to be that this port actually links against lua5.2, but uses headers from lua 5.3. -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#49481: cardpeek @0.8.4: not compatible with lua 5.3 -----------------------+--------------------------- Reporter: nb@… | Owner: db_macports@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: haspatch Port: cardpeek | -----------------------+--------------------------- Comment (by raimue@…): I switched the dependency to lua52 in r143635. The build will still fail if the ''lua'' port (5.3) is active while building. -- Ticket URL: <https://trac.macports.org/ticket/49481#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts