View previous topic :: View next topic |
Author |
Message |
Zarhan Veteran
Joined: 27 Feb 2004 Posts: 1015
|
Posted: Mon Nov 18, 2024 9:56 am Post subject: LUA_SINGLE_TARGET wireshark |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22679
|
Posted: Mon Nov 18, 2024 12:25 pm Post subject: |
|
|
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 |
|
|
Zarhan Veteran
Joined: 27 Feb 2004 Posts: 1015
|
Posted: Mon Nov 18, 2024 2:23 pm Post subject: |
|
|
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 |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22679
|
Posted: Mon Nov 18, 2024 2:25 pm Post subject: |
|
|
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 |
|
|
Zarhan Veteran
Joined: 27 Feb 2004 Posts: 1015
|
Posted: Mon Nov 18, 2024 3:03 pm Post subject: |
|
|
...actually, it seems that the LUA_SINGLE_TARGET is *not* set by profile. Only reference to it is base/make.defaults where the definition is lua5-1.
Hmm, found this:
https://bugs.gentoo.org/904517 |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22679
|
Posted: Mon Nov 18, 2024 3:16 pm Post subject: |
|
|
Do you mean $PORTDIR/profiles/base/make.defaults, which is part of every profile, by way of inheritance? |
|
Back to top |
|
|
|