Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#24563 - Wireshark now has lua dependency
Attached to Project:
Arch Linux
Opened by Alex (bsdard) - Saturday, 04 June 2011, 00:37 GMT
Last edited by Guillaume ALAUX (galaux) - Monday, 06 June 2011, 08:20 GMT
Opened by Alex (bsdard) - Saturday, 04 June 2011, 00:37 GMT
Last edited by Guillaume ALAUX (galaux) - Monday, 06 June 2011, 08:20 GMT
|
DetailsDescription:
Wireshark now has a new lua dependency, while it does not explicitly require it. It will install without lua and lua is not the dependency list. However it won't start and will return an error. Additional info: * package version(s) 1.4.7 * config and/or log files etc. Steps to reproduce: 1. make sure lua is not installed. 2. install both wireshark-cli and wireshark-gtk (note lua is not installed as dependency). 3. try running wireshark. The error message reports that lualib is not found. |
This task depends upon
Closed by Guillaume ALAUX (galaux)
Monday, 06 June 2011, 08:20 GMT
Reason for closing: Implemented
Additional comments about closing: Added lua support to package wireshark
Monday, 06 June 2011, 08:20 GMT
Reason for closing: Implemented
Additional comments about closing: Added lua support to package wireshark
It might be good to share this error message, in case others don't get it
Sorry, but I did not document the error message and could not replicate the problem on i686 version. It was saying that the system cannot start Wireshark because lualib is not found.
I do indeed have luaplugins in my ~/.wireshark/plugins, but if the Lua is not compiled in the wireshark, they are safely ignored.
If it WAS compiled however, I believe there is nothing that can be done in configuration to make wireshark start without Lua. Normally lua is enabled/disabled via init.lua script in the wireshark directory structure.
On my i686 version of wireshark:
Compiled (32-bit) with GTK+ 2.24.4, with GLib 2.28.7, with libpcap 1.1.1,
without libz, with POSIX capabilities (Linux), without libpcre, without SMI,
without c-ares, without ADNS, without Lua, without Python, with GnuTLS 2.12.5, <=== here.
with Gcrypt 1.4.6, with MIT Kerberos, without GeoIP, without PortAudio, without
AirPcap.
In x86-64 it reads:
..., with Lua 5.1, ...
> On my i686 version of wireshark:
> [..] without Lua [..]
> In x86-64 it reads:
> ..., with Lua 5.1, ...
Options are the same for both architectures. Didn't you recompile the x86_64 package with the "--with-lua" flag? Because I'm having the error message you talk about ("lualib not found") with a package using "--with-lua" but lacking "lua" as dependency.
Anyway: this is not a bug but as a "feature request" we can add the lua support ("--with-lua" AND "lua" as dependency). This would mean pulling lua which is not that big. I have also checked into the "./configure": this flag is not described as experimental (I'm saying this because we already had an issue with the python flag beeing experimental. See bug #20357).
Anyway the Lua support looks nicely done in wireshark. It adds some short-cuts/cheats that allow to hook to other dissector's fields, which does not seem to be available in C API (At least I could not recreate in C the dissector that I have easily done in Lua).
I have just uploaded wireshark 1.4.7-2 with this flag enabled. Should be available in mirrors in max 2 hours.
Alex: as I don't use the lua script stuff, could you please test this new package with lua scripts and post feedback here (whether positive or negative)? Thanks
Thanks.