Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LUA_SINGLE_TARGET wireshark
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Zarhan
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1014

PostPosted: Mon Nov 18, 2024 9:56 am    Post subject: LUA_SINGLE_TARGET wireshark Reply with quote

During my emerge -uvDaN @world, I got the following error with wireshark:

Code:
!!! The ebuild selected to satisfy "net-analyzer/wireshark" has unmet requirements.
- net-analyzer/wireshark-4.4.1::gentoo USE="androiddump capinfos captype dftest dumpcap editcap filecaps gui ilbc lua mergecap minizip netlink pcap plugins randpkt randpktdump reordercap sharkd smi ssl text2pcap tshark udpdump wifi zlib zstd -bcg729 -brotli -ciscodump -doc -dpauxmon -http2 -http3 -kerberos -libxml2 -lz4 -maxminddb -opus -sbc -sdjournal (-selinux) -snappy -spandsp -sshdump -test -tfshark -verify-sig" ABI_X86="(64)" LUA_SINGLE_TARGET="-lua5-3 -lua5-4"

  The following REQUIRED_USE flag constraints are unsatisfied:
    lua? ( exactly-one-of ( lua_single_target_lua5-3 lua_single_target_lua5-4 ) )


Now, I had never even heard of this "LUA_SINGLE_TARGET" setting before, and I have not set it in make.conf. Should I? Why is there no sensible default?
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22677

PostPosted: Mon Nov 18, 2024 12:25 pm    Post subject: Reply with quote

LUA_SINGLE_TARGET is set by your profile, if not otherwise overridden. For me, it is presently defaulted to lua5-1. Unfortunately for you, that version of Wireshark no longer supports lua5-1, hence the error. Do you need USE=lua on wireshark? That does not appear to be enabled by default, so I suspect you enabled it somewhere. If you do not need it, unset it.
Back to top
View user's profile Send private message
Zarhan
Veteran
Veteran


Joined: 27 Feb 2004
Posts: 1014

PostPosted: Mon Nov 18, 2024 2:23 pm    Post subject: Reply with quote

Actually I do need LUA, I have a few custom LUA plugins running.

I'm running profile

default/linux/amd64/23.0/split-usr/desktop/plasma (stable) *
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22677

PostPosted: Mon Nov 18, 2024 2:25 pm    Post subject: Reply with quote

In that case, you should set wireshark to use a LUA_SINGLE_TARGET that it understands. Per your output, that owuld be lua5.3 or lua5.4.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum