Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 482708 - net-analyzer/wireshark-1.10.1 - ui/libui.a(libui_a-recent.o): In function `read_set_recent_pair_dynamic': recent.c:(.text+0x194): undefined reference to `cfilter_combo_add_recent'
Summary: net-analyzer/wireshark-1.10.1 - ui/libui.a(libui_a-recent.o): In function `re...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-27 20:23 UTC by Bruce Guenter
Modified: 2017-01-22 12:21 UTC (History)
2 users (show)

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


Attachments
net-analyzer:wireshark-1.10.1:20130827-200408.log.gz (net-analyzer:wireshark-1.10.1:20130827-200408.log.gz,130.51 KB, application/x-gzip)
2013-08-27 21:10 UTC, Bruce Guenter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Guenter 2013-08-27 20:23:30 UTC
emerging net-analyzer fails while linking wireshark

I have tried removing USE flags, both -j4 and -j1 (which helped show it was wireshark that failed to link), and with both gcc 4.6 and 4.7, and can't get it to link.

Reproducible: Always

Steps to Reproduce:
1. emerge =net-analyzer/wireshark-1.10.1
2.
3.
Actual Results:  
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -O3 -pipe -mtune=athlon64 -fno-prefetch-loop-arrays -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wjump-misses-init -Wvla -Waddress -Warray-bounds -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wc++-compat -Wshadow -Wlogical-op -fexcess-precision=fast -fvisibility=hidden -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2   -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -o wireshark wireshark-capture-pcap-util-unix.o wireshark-capture-pcap-util.o wireshark-cfile.o wireshark-cfutils.o wireshark-clopts_common.o wireshark-disabled_protos.o wireshark-frame_data_sequence.o wireshark-packet-range.o wireshark-print.o wireshark-ps.o wireshark-sync_pipe_write.o wireshark-timestats.o wireshark-tap-megaco-common.o wireshark-tap-rtp-common.o wireshark-version_info.o wireshark-capture_ifinfo.o wireshark-capture_sync.o wireshark-capture_ui_utils.o wireshark-airpcap_loader.o wireshark-capture.o wireshark-capture_info.o wireshark-capture_opts.o wireshark-color_filters.o wireshark-file.o wireshark-fileset.o wireshark-filters.o wireshark-g711.o wireshark-iface_monitor.o wireshark-merge.o wireshark-proto_hier_stats.o wireshark-summary.o wireshark-tempfile.o wireshark-u3.o wireshark-ws80211_utils.o ui/gtk/libgtkui.a ui/libui.a ui/libui_dirty.a codecs/libcodec.a wiretap/libwiretap.la epan/libwireshark.la wsutil/libwsutil.la  -dlopen plugins/asn1/asn1.la -dlopen plugins/docsis/docsis.la -dlopen plugins/ethercat/ethercat.la -dlopen plugins/gryphon/gryphon.la -dlopen plugins/irda/irda.la -dlopen plugins/m2m/m2m.la -dlopen plugins/mate/mate.la -dlopen plugins/opcua/opcua.la -dlopen plugins/profinet/profinet.la -dlopen plugins/stats_tree/stats_tree.la -dlopen plugins/unistim/unistim.la -dlopen plugins/wimax/wimax.la -dlopen plugins/wimaxmacphy/wimaxmacphy.la -lcares -L/usr/lib64 -lkrb5 -lk5crypto -lcom_err -lgcrypt -L/usr/lib64 -lgpg-error -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfreetype -lfontconfig -lgthread-2.0 -pthread -lrt -Wl,--export-dynamic -lgmodule-2.0 -pthread -lrt -lglib-2.0 -lm -lz 
libtool: link: rm -f .libs/wireshark.nm .libs/wireshark.nmS .libs/wireshark.nmT
libtool: link: (cd .libs && x86_64-pc-linux-gnu-gcc -O3 -pipe -mtune=athlon64 -fno-prefetch-loop-arrays -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wjump-misses-init -Wvla -Waddress -Warray-bounds -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wc++-compat -Wshadow -Wlogical-op -fexcess-precision=fast -fvisibility=hidden -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -c -fno-builtin "wiresharkS.c")
libtool: link: rm -f ".libs/wiresharkS.c" ".libs/wireshark.nm" ".libs/wireshark.nmS" ".libs/wireshark.nmT"
libtool: link: x86_64-pc-linux-gnu-gcc -O3 -pipe -mtune=athlon64 -fno-prefetch-loop-arrays -Wall -W -Wextra -Wdeclaration-after-statement -Wendif-labels -Wpointer-arith -Wno-pointer-sign -Warray-bounds -Wcast-align -Wformat-security -Wold-style-definition -Wstrict-prototypes -Wjump-misses-init -Wvla -Waddress -Warray-bounds -Wattributes -Wdiv-by-zero -Wignored-qualifiers -Wpragmas -Wno-overlength-strings -Wwrite-strings -Wno-long-long -Wc++-compat -Wshadow -Wlogical-op -fexcess-precision=fast -fvisibility=hidden -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -Wl,-O1 -o .libs/wireshark wireshark-capture-pcap-util-unix.o wireshark-capture-pcap-util.o wireshark-cfile.o wireshark-cfutils.o wireshark-clopts_common.o wireshark-disabled_protos.o wireshark-frame_data_sequence.o wireshark-packet-range.o wireshark-print.o wireshark-ps.o wireshark-sync_pipe_write.o wireshark-timestats.o wireshark-tap-megaco-common.o wireshark-tap-rtp-common.o wireshark-version_info.o wireshark-capture_ifinfo.o wireshark-capture_sync.o wireshark-capture_ui_utils.o wireshark-airpcap_loader.o wireshark-capture.o wireshark-capture_info.o wireshark-capture_opts.o wireshark-color_filters.o wireshark-file.o wireshark-fileset.o wireshark-filters.o wireshark-g711.o wireshark-iface_monitor.o wireshark-merge.o wireshark-proto_hier_stats.o wireshark-summary.o wireshark-tempfile.o wireshark-u3.o wireshark-ws80211_utils.o .libs/wiresharkS.o -pthread -Wl,--export-dynamic -pthread  -Wl,--as-needed ui/gtk/libgtkui.a ui/libui.a ui/libui_dirty.a codecs/libcodec.a wiretap/.libs/libwiretap.so epan/.libs/libwireshark.so -L/usr/lib64 /usr/lib64//liblua.so -ldl /tmp/portage/net-analyzer/wireshark-1.10.1/work/wireshark-1.10.1/wiretap/.libs/libwiretap.so /tmp/portage/net-analyzer/wireshark-1.10.1/work/wireshark-1.10.1/wsutil/.libs/libwsutil.so wsutil/.libs/libwsutil.so -lcares -lkrb5 -lk5crypto -lcom_err -lgcrypt /usr/lib64/libgpg-error.so -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 /usr/lib64/libfontconfig.so -lfreetype -lbz2 -lexpat -lgthread-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -lm -lz -pthread -Wl,-rpath -Wl,/usr/lib64/
ui/libui.a(libui_a-recent.o): In function `read_set_recent_pair_dynamic':
recent.c:(.text+0x194): undefined reference to `cfilter_combo_add_recent'
ui/libui.a(libui_a-recent.o): In function `write_recent':
recent.c:(.text+0x1132): undefined reference to `cfilter_combo_recent_write_all'
collect2: error: ld returned 1 exit status
make[2]: *** [wireshark] Error 1


# emerge --info
Portage 2.1.12.2 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.15-r3, 3.11.0-rc7 x86_64)
=================================================================
System uname: Linux-3.11.0-rc7-x86_64-AMD_Phenom-tm-_II_X4_905e_Processor-with-gentoo-2.2
KiB Mem:    16408576 total,   3546780 free
KiB Swap:    2097148 total,   2096780 free
Timestamp of tree: Tue, 27 Aug 2013 11:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.4.6, 2.7.5-r2, 3.2.5-r2
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.4_p6-r1, 1.9.6-r2, 1.10.3, 1.11.6, 1.12.6
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.2.4-r1, 4.3.6-r1, 4.4.7, 4.5.4, 4.6.3, 4.7.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo hardened-dev x11 maekke multimedia sunrise bg fq
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x AdobeFlash-10.3 AdobeFlash-10.1 AdobeFlash-10 skype-eula google-chrome Oracle-BCLA-JavaSE skype-4.0.0.7-copyright"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -mtune=athlon64 -fno-prefetch-loop-arrays"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -mtune=athlon64 -fno-prefetch-loop-arrays"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer news notitles parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages/lorien64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/hardened-development /usr/portage/local/layman/x11 /usr/portage/local/layman/maekke /usr/portage/local/layman/multimedia /usr/portage/local/layman/sunrise /home/bruce/portage /home/bruce/FutureQuest/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="16bit 64bit 7zip X a52 aac aacplus abiword acl acpi adns agg aiglx alsa amd64 apng applet archive asf ass audio autoipd automount avahi avi bash-completion bitmap-fonts blksha1 bonobo bookmarks boost bracketcompletion brasero btrfs bzip2 c++ cairo cdda cdparanoia cdr classic cleartype clutter collab consolekit contrast corefonts cpdflib crypt cscope css ctype cups curl curlwrappers custom-optimization cvs cxx d dbus demosaic device-mapper dhcpcd dia dillo divx4linux djbfft djvu dri dvd dvdr dvdread dvi edl egl emacs enblend encode epiphany ethereal evo examples exceptions exif extensions extrafilters extras faac faad fam fame fat ffmpeg filepicker flac fluidsynth font-server fontconfig foomaticdb fts3 g3dvl gallium gbm gdbm gdu gecko geoloc gif gimp gimpprint git glade gles gles1 gles2 glib glitz gmp gnome gnome-keyring gnuplot go gold gpg gpl gpu grammar graphite gstreamer gtk gtk2 gtk3 gudev gui guile gusb hdri hotpixels hpcups hpijs hunspell hwdb iconv icu imap imlib imlib2 inherit-graph inkjar innodb interlaced introspection ipv6 jack jadetex javascript jbig jit joinlines jpeg jpeg2k justify kdrive kerberos keymap kpathsea kqemu ladcca ladspa lcms lensfun libass libev libffi libkms libnotify llvm lm_sensors lto lua lyx lzma mad maildir math matroska mbox mdnsresponder-compat megaupload melt memlimit menubar midi mikmod mime minizip mjpeg mmx mmxext mng mod modplug modules moznoirc moznomail mozp3p mozsvg mozxmlterm mp3 mp4 mpeg mplayer mudflap multilib multitarget musepack mysql nautilus ncurses nettle networking nfs nfsv3 nfsv4 nls nptl nptlonly nsplugin ntfs ntfsprogs ocaml ocamlopt ogg ogg123 oggvorbis openexr opengl openmp openrc opensync openvg openxml osmesa ots pam pango pcf pcre pda pdf pdflib perl plotutils plugins png policykit posix postgres postgresql postproc ppds pulseaudio python qmail qt-static qt3support qt4 quicktime r600-llvm-compiler raptor rar raw readline regex rpc scanner schroedinger sdl seamonkey seed sendfile sensord session sftp shared shared-dricore shared-glapi sharedmem sift slang smartspaces smime smp soap sockets sourceview sox speex spell sqlite sqlite3 sse sse2 sse2check sse3 sse4a ssh ssl ssse3 startup-notification static-analyzer stl subversion svg symlink t1lib tabs tcltk tcpd terminal theora thesaurus threads threadsafe tiff tk tls tools truetype truetype-fonts twisted type1 type1-fonts udev unicode usb utf8 utils uudeview v4l v4l2 vala valgrind vapigen vdpau video view-captcha vim-syntax vorbis vpx vte wad weather webdav-neon webgl webkit webm webstart wma wmf wordperfect x264 xattr xcb xchattext xine xml xml2 xmp xorg xpdf-headers xpm xrandr xscreensaver xv xvid xvmc zeroconf zip zlib" ABI_X86="64" APACHE2_MODULES="authz_host dir mime" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LINGUAS="en en_CA en_US" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="radeon r600"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-27 20:54:32 UTC
Please attach the entire build log to this bug report.
Comment 2 Bruce Guenter 2013-08-27 21:10:04 UTC
Created attachment 357206 [details]
net-analyzer:wireshark-1.10.1:20130827-200408.log.gz
Comment 3 Joakim Tjernlund 2013-09-02 15:37:06 UTC
Got this exactly problem too
Comment 4 Raphaël Droz 2013-09-10 20:25:21 UTC
same here, from
1.8.6
adns +caps crypt doc doc-pdf +filecaps geoip (+)gtk +gtk2 gtk3 ipv6 kerberos libadns lua +netlink +pcap portaudio profile python qt4 selinux smi ssl zlib
to
1.10.1
caps crypt filecaps geoip gtk ipv6* lua ssl zlib -adns -doc -doc-pdf -kerberos -libadns -netlink% -pcap* -portaudio -profile -qt4% (-selinux) -smi (-python%*)
Comment 5 Raphaël Droz 2013-09-10 21:11:50 UTC
After recompiling libpcap +ipv6 -netlink
Wireshark compiled successfully using:
caps crypt filecaps geoip gtk ipv6 lua netlink pcap ssl zlib -adns -doc -doc-pdf -kerberos -libadns -portaudio -profile -qt4 -selinux -smi
Comment 6 Bruce Guenter 2013-09-10 22:23:45 UTC
Adding just the pcap USE flag allows this package to build for me.