Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705656 - net-analyzer/wireshark-3.2.1 USE='-lua -plugins' - .../work/wireshark-3.2.1/ui/qt/about_dialog.cpp:137:29: error: 'plugins_add_description' was not declared in this scope
Summary: net-analyzer/wireshark-3.2.1 USE='-lua -plugins' - .../work/wireshark-3.2.1/u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL: https://code.wireshark.org/review/c/3...
Whiteboard:
Keywords:
Depends on:
Blocks: CVE-2020-7044, CVE-2020-7045
  Show dependency tree
 
Reported: 2020-01-17 11:01 UTC by CaptainBlood
Modified: 2020-01-17 13:49 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (net-analyzer:wireshark-3.2.1:20200117-104715.log.xz,53.14 KB, application/x-xz)
2020-01-17 11:07 UTC, CaptainBlood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description CaptainBlood 2020-01-17 11:01:28 UTC
/var/tmp/portage/net-analyzer/wireshark-3.2.1/work/wireshark-3.2.1/ui/qt/about_dialog.cpp: In constructor 'PluginListModel::PluginListModel(QObject*)':
/var/tmp/portage/net-analyzer/wireshark-3.2.1/work/wireshark-3.2.1/ui/qt/about_dialog.cpp:137:29: error: 'plugins_add_description' was not declared in this scope; did you mean 'plugins_get_descriptions'?
  137 |     extcap_get_descriptions(plugins_add_description, &plugin_data);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~
      |                             plugins_get_descriptions

Reproducible: Always
Comment 1 CaptainBlood 2020-01-17 11:07:51 UTC
Created attachment 603570 [details]
build.log

emerge --info net-analyzer/wireshark
Portage 2.3.79 (python 3.6.9-final-0, default/linux/amd64/17.1, gcc-9.2.0, glibc-2.29-r7, 5.4.12-gentoo-classic x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.4.12-gentoo-classic-x86_64-Intel-R-_Core-TM-_i3-6100_CPU_@_3.70GHz-with-gentoo-2.6
KiB Mem:     3936960 total,    928316 free
KiB Swap:    8048528 total,   8047504 free

sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.32 p2) 2.32.0
distcc 3.3.3 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r3::gentoo
sys-devel/gcc-config:     2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -mtune=skylake  -O2             -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=skylake -mtune=skylake  -O2             -pipe    "
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--alert y 			--alphabetical 			--ask-enter-invalid 			--autounmask y  			--autounmask-only n  			--autounmask-unrestricted-atoms y  			--autounmask-write y 			--misspell-suggestions n 			--noconfmem 			--nospinner   		--tree 			--with-bdeps y"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=skylake -mtune=skylake  -O2             -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distcc-pump distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms split-elog strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=skylake -mtune=skylake  -O2             -pipe"
GENTOO_MIRRORS="http://ftp.free.fr/mirrors/ftp.gentoo.org/ https://mirrors.evowise.com/gentoo/ http://mirror.dkm.cz/gentoo/ http://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://mirror.bytemark.co.uk/gentoo/ http://gentoo.mirror.web4u.cz/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="fr_FR.utf8"
LDFLAGS="  -Wl,-O1       -Wl,-fuse-ld=bfd  -Wl,--enable-new-dtags  -march=skylake -mtune=skylake  -O2             -pipe "
LINGUAS="fr"
MAKEOPTS="-j3 -l3"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="amd64 asm minimal split-usr" ABI_X86="64" ALSA_CARDS="hda-intel" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput" KERNEL="linux" L10N="fr" PHP_TARGETS="php7-3" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

net-analyzer/wireshark-3.0.7::gentoo was built with the following:
USE="-adns -androiddump -bcg729 capinfos -captype -ciscodump -dftest -doc -dpauxmon dumpcap -editcap filecaps -http2 -kerberos -libxml2 -lua -lz4 -maxminddb -mergecap -netlink pcap qt5 -randpkt -randpktdump -reordercap -sbc -sdjournal (-selinux) -sharkd -smi -snappy -spandsp -sshdump -ssl -text2pcap -tfshark -tshark -udpdump -zlib" ABI_X86="(64)" PYTHON_TARGETS="-python3_5 python3_6 (-python3_7)"
CXXFLAGS="-march=skylake -mtune=skylake -O2 -pipe -fPIC -DPIC"
Comment 2 CaptainBlood 2020-01-17 11:16:37 UTC
merge -p wireshark

These are the packages that would be merged, in reverse order:

Calculating dependencies  USE flags should not start with a '+': +gdbm
... done!
[ebuild     U  ] net-analyzer/wireshark-3.2.1 [3.0.7] USE="-brotli% -minizip% -plugin-ifdemo% -plugins%"
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-17 11:29:28 UTC
(In reply to CaptainBlood from comment #2)
> merge -p wireshark
> 
> These are the packages that would be merged, in reverse order:
> 
> Calculating dependencies  USE flags should not start with a '+': +gdbm
> ... done!
> [ebuild     U  ] net-analyzer/wireshark-3.2.1 [3.0.7] USE="-brotli%
> -minizip% -plugin-ifdemo% -plugins%"

Something is missing there. Mine looks like this:

[ebuild   R   ~] net-analyzer/wireshark-3.2.1:0/3.2.1::gentoo  USE="androiddump bcg729 brotli capinfos captype ciscodump dftest doc dpauxmon dumpcap editcap filecaps http2 kerberos libxml2 lua lz4 maxminddb mergecap minizip netlink pcap plugins qt5 randpkt randpktdump reordercap sbc sharkd smi snappy spandsp sshdump
ssl text2pcap tfshark tshark udpdump zlib -plugin-ifdemo -sdjournal -selinux" 0 KiB

Did your output get truncated somehow?
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2020-01-17 11:36:53 UTC
Looks like someone wasn't paying attention upstream.

ui/qt/about_dialog.cpp:116:
#if defined(HAVE_PLUGINS) || defined(HAVE_LUA)
static void plugins_add_description(...)

followed by:

#ifdef HAVE_PLUGINS
    plugins_get_descriptions(plugins_add_description, &plugin_data);
#endif

#ifdef HAVE_LUA
    wslua_plugins_get_descriptions(plugins_add_description, &plugin_data);
#endif

    extcap_get_descriptions(plugins_add_description, &plugin_data);
                            ^^^ !!!!
Comment 5 Larry the Git Cow gentoo-dev 2020-01-17 12:29:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d457c61eaff3a06ce2a2c6903f4f389330d7b8a4

commit d457c61eaff3a06ce2a2c6903f4f389330d7b8a4
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-01-17 12:28:22 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-01-17 12:29:13 +0000

    net-analyzer/wireshark: Fix USE='-lua -plugins'
    
    Package-Manager: Portage-2.3.84, Repoman-2.3.20
    Closes: https://bugs.gentoo.org/705656
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 ...99999999-about_dialog-plugins_add_description.patch | 18 ++++++++++++++++++
 net-analyzer/wireshark/wireshark-3.2.1.ebuild          |  1 +
 net-analyzer/wireshark/wireshark-99999999.ebuild       |  1 +
 3 files changed, 20 insertions(+)