Created attachment 894605 [details] emerge --info [1/2629] cd /var/tmp/portage/net-analyzer/wireshark-4.2.5/work/wireshark-4.2.5_build/epan/dfilter && /usr/bin/lemon -T/usr/share/lemon/lempar.c -d. /var/tmp/portage/net-analyzer/wireshark-4.2.5/work/wireshark-4.2.5/epan/dfilter/grammar.lemon FAILED: epan/dfilter/grammar.c epan/dfilter/grammar.h epan/dfilter/grammar.out /var/tmp/portage/net-analyzer/wireshark-4.2.5/work/wireshark-4.2.5_build/epan/dfilter/grammar.c /var/tmp/portage/net-analyzer/wireshark-4.2.5/work/wireshark-4.2.5_build/epan/dfilter/grammar.h /var/tmp/portage/net-analyzer/wireshark-4.2.5/work/wireshark-4.2.5_build/epan/dfilter/grammar.out cd /var/tmp/portage/net-analyzer/wireshark-4.2.5/work/wireshark-4.2.5_build/epan/dfilter && /usr/bin/lemon -T/usr/share/lemon/lempar.c -d. /var/tmp/portage/net-analyzer/wireshark-4.2.5/work/wireshark-4.2.5/epan/dfilter/grammar.lemon Command line syntax error: undefined option. /usr/bin/lemon -T/usr/share/lemon/lempar.c -d. /var/tmp/portage/net-analyzer/wireshark-4.2.5/work/wireshark-4.2.5/epan/dfilter/grammar.lemon here --^
Created attachment 894606 [details] build log
dev-util/lemon 3.16.2
(In reply to Sergey 'L29Ah' Alirzaev from comment #2) > dev-util/lemon 3.16.2 That's not in ::gentoo...
(In reply to Sam James from comment #3) > (In reply to Sergey 'L29Ah' Alirzaev from comment #2) > > dev-util/lemon 3.16.2 > > That's not in ::gentoo... Right. So there's some automagic dependency in wireshark that is not handled in the ebuild perhaps.
So where does dev-util/lemon come from?
(In reply to Mike Gilbert from comment #5) > So where does dev-util/lemon come from? ::booboo I presume you don't use eix. It's a great tool, you should give it a try.
I prefer to ask for information rather than making guesses. Keep your sarcastic remarks to yourself please.
The same overlay has dev-util/lemon-3.31.1 available, and that works just fine. Technically, we could add a blocker on old versions of dev-util/lemon, but that will end up causing a pkgcheck warning since the package has never existed in ::gentoo. It might be possible to force the build system to use the bundled lemon, but that doesn't really feel right either: if users want to use a compatible version of lemon installed in PATH, they should be able to do so. I don't see any obvious solution here, so CANTFIX.
(In reply to Mike Gilbert from comment #8) > The same overlay has dev-util/lemon-3.31.1 available, and that works just > fine. The new lemon is incompatible with media-gfx/antimony that is the only package depending on lemon i'm aware of. > I don't see any obvious solution here, so CANTFIX. Remove the unconditional implicit dependency and add it under an USE flag, as described in https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Automagic_dependencies
(In reply to Sergey 'L29Ah' Alirzaev from comment #9) We cannot add a dependency (conditional or otherwise) on a package that does not exist in ::gentoo.
(In reply to Mike Gilbert from comment #10) > (In reply to Sergey 'L29Ah' Alirzaev from comment #9) > > We cannot add a dependency (conditional or otherwise) on a package that does > not exist in ::gentoo. I don't see how that prevents following the QA recommendation about adding an USE flag that controls the build system behavior.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf90a0a162eec88c81a4bba686d688f7784fbe6a commit cf90a0a162eec88c81a4bba686d688f7784fbe6a Author: Mike Gilbert <floppym@gentoo.org> AuthorDate: 2024-06-01 19:03:26 +0000 Commit: Mike Gilbert <floppym@gentoo.org> CommitDate: 2024-06-01 19:03:26 +0000 net-analyzer/wireshark: force bundled lemon Closes: https://bugs.gentoo.org/933119 Signed-off-by: Mike Gilbert <floppym@gentoo.org> net-analyzer/wireshark/wireshark-4.2.4-r1.ebuild | 3 +++ net-analyzer/wireshark/wireshark-4.2.5.ebuild | 3 +++ net-analyzer/wireshark/wireshark-9999.ebuild | 3 +++ 3 files changed, 9 insertions(+)