[MacPorts] #39047: Wireshark-1.8.6 fails to install
#39047: Wireshark-1.8.6 fails to install -------------------------------------+-------------------------------- Reporter: mllists@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: Wireshark install fails | Port: Wireshark -------------------------------------+-------------------------------- After having deleted everything and done a complete clean reinstall of MacPorts and then first trying to install Wireshark, installation fails. This also failed with the same error when trying to install using previous MacPorts installation. OS 10.8.3 X-Code 4.6.2 {{{ --> Attempting to fetch wireshark-1.8.6.tar.bz2 from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/wireshark ---> Verifying checksum(s) for wireshark ---> Extracting wireshark ---> Applying patches to wireshark ---> Configuring wireshark Error: org.macports.configure for port wireshark returned: configure failure: command execution failed Please see the log file for port wireshark for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_wireshark/wireshark/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port wireshark failed }}} -- Ticket URL: <https://trac.macports.org/ticket/39047> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: Wireshark-1.8.6 fails to install ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: Wireshark | ------------------------+------------------------------ Changes (by macsforever2000@…): * cc: opendarwin.org@…, mllists@… (removed) * owner: macports-tickets@… => opendarwin.org@… * keywords: Wireshark install fails => Comment: The reporter is automatically Cc'ed. Error is: {{{ :info:configure checking for luaL_register in -llua... no :info:configure checking for luaL_register in -llua5.1... no :info:configure configure: error: Linking with liblua failed. }}} What is the output of the following? {{{ port installed lua }}} -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: Wireshark-1.8.6 fails to install ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: Wireshark | ------------------------+------------------------------ Changes (by larryv@…): * cc: hsivank@…, vince@… (added) Comment: Maybe this has something to do with the [[changeset:105881|recent lua version bump]]? -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Changes (by larryv@…): * port: Wireshark => wireshark -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by macsforever2000@…): I confirmed the problem is with the update to lua 5.2. It installs fine with lua 5.1.4. {{{ $ port installed lua The following ports are currently installed: lua @5.1.4_4 (active) lua @5.2.2_0 }}} -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by mllists@…): Replying to [comment:2 macsforever2000@…]:
The reporter is automatically Cc'ed.
Error is:
{{{ :info:configure checking for luaL_register in -llua... no :info:configure checking for luaL_register in -llua5.1... no :info:configure configure: error: Linking with liblua failed. }}}
What is the output of the following?
{{{ port installed lua }}}
output is... {{{ port installed lua The following ports are currently installed: lua @5.2.2_0 (active) }}} -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by hsivank@…): Build is ok with wireshark-devel(1.9.0) and lua@5.2[[BR]] I found a patch for 1.8.X branch http://www.openmamba.org/showfile.html?file=/pub/openmamba/devel/patches/wir... (not tested)[[BR]] Maybe it is time to update wireshark port to version 1.9.x and wireshark- devel to version 1.10.x ? -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by ricci@…): Replying to [comment:8 hsivank@…]:
Build is ok with wireshark-devel(1.9.0) and lua@5.2[[BR]] I found a patch for 1.8.X branch http://www.openmamba.org/showfile.html?file=/pub/openmamba/devel/patches/wir... (not tested)[[BR]] Maybe it is time to update wireshark port to version 1.9.x and wireshark-devel to version 1.10.x ?
The 1.9 branch of wireshark is the development branch for 1.10, aka not a stable/release branch, thus I don't think wireshark should go to 1.9, it should go to 1.10 when 1.10 is released/stable. -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by hasso.tepper@…): The patch attached to the comment #10 is obviously correct. I can also confirm (tested not in macports though) that it solves the problem with lua 5.2. -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by brian.reiter@…): Replying to [comment:18 hasso.tepper@…]:
The patch attached to the comment #10 is obviously correct. I can also confirm (tested not in macports though) that it solves the problem with lua 5.2.
Edit: OK, I was informed that it's not enough - you need to backport some more - https://anonsvn.wireshark.org/viewvc?view=revision&revision=43479 .
Yes. It's not enough to bang on the ./configure script. The LUA embedding API changed and the code will not compile against LUA5.2 without patching. -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by macports@…): According to [https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7400 Wireshark Bug 7400] (mentioned here at [#comment:19 comment 19]) the patches were [https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7400#c14 committed in February 2013, and scheduled for backport to Wireshark 1.8]. I see that there is are [http://www.wireshark.org/download/src/ new release files as of 17 May 2013], including a Wireshark 1.8.7 (MacPorts has Wireshark 1.8.6). It seems likely those would include the Lua API change fixes. So the most expedient resolution to this problem might be to upgrade to Wireshark 1.8.7, rather than re-backporting the Lua 5.2 compatibility patches. (For now I've downgraded lua on my host to 5.1, since IIRC I don't use it for much other than Wireshark.) Ewen -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by jschnide@…): I was able to find a workaround to get wireshark installed thanks to # 39291 port uninstall wireshark port clean --all wireshark port install wireshark +no_lua -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:23> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by hasso.tepper@…): The wireshark-macports.patch upgrades wireshark to 1.8.7 and integrates http://www.openmamba.org/showfile.html?file=/pub/openmamba/devel/patches/wireshark-1.8.2-lua-5.2-[1-3].patch patches to build it with lua 5.2. -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:24> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by ricci@…): Replying to [comment:22 macports@…]:
According to [https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7400 Wireshark Bug 7400] (mentioned here at [#comment:19 comment 19]) the patches were [https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7400#c14 committed in February 2013, and scheduled for backport to Wireshark 1.8]. I see that there is are [http://www.wireshark.org/download/src/ new release files as of 17 May 2013], including a Wireshark 1.8.7 (MacPorts has Wireshark 1.8.6). It seems likely those would include the Lua API change fixes. So the most expedient resolution to this problem might be to upgrade to Wireshark 1.8.7, rather than re-backporting the Lua 5.2 compatibility patches. (For now I've downgraded lua on my host to 5.1, since IIRC I don't use it for much other than Wireshark.)
Ewen
Unfortunately 1.8.7 does not include the lua 5.2 fixes. -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:25> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by ricci@…): Replying to [comment:24 hasso.tepper@…]:
The wireshark-macports.patch upgrades wireshark to 1.8.7 and integrates http://www.openmamba.org/showfile.html?file=/pub/openmamba/devel/patches/wireshark-1.8.2-lua-5.2-[1-3].patch patches to build it with lua 5.2.
Thanks, I'll check this out, I haven't finished integrating the wireshark/lua5.2 patches yet. -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:26> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Changes (by larryv@…): * cc: mrlamb@… (added) Comment: Has duplicate #39335. -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:27> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: wireshark | ------------------------+------------------------------ Comment (by hsivank@…): Wireshark 1.10.0 has been released and is now considered as the stable branch. (attached a patch to update the port) -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:28> MacPorts <http://www.macports.org/> Ports system for OS X
#39047: wireshark @1.8.6_1 +no_python: linking with liblua fails ------------------------+------------------------------ Reporter: mllists@… | Owner: opendarwin.org@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: Port: wireshark | ------------------------+------------------------------ Changes (by ricci@…): * status: new => closed * resolution: => fixed Comment: resolved in r106712 by updating to 1.10.1 -- Ticket URL: <https://trac.macports.org/ticket/39047#comment:30> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts