Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 517806 - =net-libs/libpcap-1.6.1 - /usr/lib64/libpcap.so: undefined reference to `bt_monitor_create'
Summary: =net-libs/libpcap-1.6.1 - /usr/lib64/libpcap.so: undefined reference to `bt_m...
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:
Whiteboard:
Keywords:
: 517828 517834 517860 517862 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-07-22 18:48 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2014-08-21 15:49 UTC (History)
5 users (show)

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


Attachments
config.log (config.log,59.37 KB, text/plain)
2014-07-22 18:48 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2014-07-22 18:48:31 UTC
Created attachment 381370 [details]
config.log

configure:6105: checking for pcap_loop
configure:6105: x86_64-pc-linux-gnu-gcc -o conftest -march=barcelona -mtune=barc
elona -pipe -O2  -DHAVE_CAP_NG_H -Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common
-Wl,--as-needed conftest.c -L/usr/lib64 -Wl,-rpath,/usr/lib64 -lpcap -lcap-ng  >
&5
/usr/lib64/libpcap.so: undefined reference to `bt_monitor_create'
/usr/lib64/libpcap.so: undefined reference to `bt_monitor_findalldevs'
collect2: error: ld returned 1 exit status
configure:6105: $? = 1


# emerge --info libpcap
Portage 2.2.10 (default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.17, 3.14.13 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.13-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_2389-with-gentoo-2.2
KiB Mem:     8242060 total,    534776 free
KiB Swap:    2097148 total,    566164 free
Timestamp of tree: Tue, 22 Jul 2014 18:00:01 +0000
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.3_p18-r3
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5, 3.4.1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.6.4, 4.8.3
sys-devel/gcc-config:     1.8::poly-c
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17::poly-c
Repositories: gentoo kde-sunset poly-c
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-3.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/X11/Sessions /etc/X11/app-defaults /etc/X11/xinit /etc/adobe /etc/bonobo-activation /etc/ca-certificates /etc/ca-certificates.conf /etc/dbus-1 /etc/env.d /etc/fonts /etc/fonts/fonts.conf /etc/foomatic /etc/games /etc/gconf /etc/gentoo-release /etc/gimp /etc/gnome-vfs-2.0 /etc/gre.d /etc/gtk-2.0 /etc/hp /etc/hsqldb /etc/htdig /etc/init.d /etc/iproute2 /etc/java-config-2 /etc/lftp /etc/logrotate.d /etc/ntop /etc/opt /etc/pango /etc/profile.d /etc/qt4 /etc/revdep-rebuild /etc/sandbox.d /etc/sasl2 /etc/sensors.d /etc/sgml /etc/sound /etc/ssl /etc/ssmtp /etc/t1lib /etc/terminfo /etc/vbox /etc/xdg /etc/xinetd.d /etc/xml"
CXXFLAGS="-march=barcelona -mtune=barcelona -O2 -pipe"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical --with-bdeps=y --misspell-suggestions=n --autounmask=n --quiet-build=n --verbose-slot-rebuilds=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
INSTALL_MASK="/etc/systemd /lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd /etc/init.d/functions.sh"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--sort-common -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/opt/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /usr/local/portage"
SYNC="rsync://192.168.0.254/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 c++0x cairo caps cdda cdr cli cracklib crypt css cups cxx dbus declarative dri dts dvd dvdr emboss encode exif faac fam ffmpeg firefox flac gdbm gif gles2 gmp gnutls gtk iconv icu idn imagemagick inotify jpeg jpeg2k kde kipi lame lcms libnotify lzma mac mad matroska midi mmap mmx mmxext mng modules mp3 mp4 mpeg mpfr multilib ncurses nls nptl nsplugin ogg opengl openmp opus pam pango pcre pdf phonon plasma png ppds qt3support qt4 quicktime readline rtmp schroedinger sdl session slang speex spell sse sse2 ssl startup-notification svg theora threads tiff truetype twolame udev unicode upower usb vaapi vcd vdpau vorbis vpx wxwidgets x264 x265 xattr xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zlib zsh-completion" ABI_X86="64" ALSA_CARDS="emu10k1 hda-intel usb-audio" APACHE2_MODULES="access_compat alias auth_digest authn_anon auth_basic authn_core authn_default authn_file authz_core authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dir env file_cache filter headers include info log_config mime mime_magic rewrite status unique_id unixd userdir vhost_alias" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev joystick" KERNEL="linux" LIBREOFFICE_EXTENSIONS="pdfimport presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" QEMU_USER_TARGETS="arm" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

net-libs/libpcap-1.6.1 was built with the following:
USE="bluetooth -canusb dbus -ipv6 -netlink -static-libs" ABI_X86="64"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-22 20:23:29 UTC

*** This bug has been marked as a duplicate of bug 517772 ***
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-23 08:14:38 UTC
*** Bug 517828 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-23 08:14:49 UTC
*** Bug 517834 has been marked as a duplicate of this bug. ***
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-23 09:38:48 UTC
I was finally able to reproduce the issue.

I have reverted the configure patch that worked around missing net-wireless/bluez headers in 1.6.1-r1. If you want bluetooth support you will need to downgrade to net-wireless/bluez-4 for now.

Please test -r1.
Comment 5 Eray Aslan gentoo-dev 2014-07-23 09:55:00 UTC
Works for me (with the bluez-4 downgrade).  Thanks.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-23 12:04:01 UTC
*** Bug 517862 has been marked as a duplicate of this bug. ***
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-23 12:04:38 UTC
*** Bug 517860 has been marked as a duplicate of this bug. ***
Comment 8 tman 2014-07-23 22:25:43 UTC
# emerge -uptv --deep --backtrack=0 world 

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

Calculating dependencies... done!
[nomerge       ] net-wireless/aircrack-ng-9999  USE="airdrop-ng airgraph-ng netlink pcre sqlite unstable" PYTHON_TARGETS="python2_7" 
[nomerge       ]  net-wireless/lorcon-9999  USE="python ruby" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19" 
[ebuild     U  ]   net-libs/libpcap-1.6.1-r1 [1.5.3] USE="bluetooth dbus ipv6 -canusb -netlink -static-libs" 0 kB
[ebuild     UD ]    net-wireless/bluez-4.101-r9:0/0 [5.21-r1:0/3] USE="alsa%* cups gstreamer%* readline usb%* -debug -hid2hci% -pcmcia% (-selinux) -test-programs% (-obex%*) (-systemd%*) (-test%) (-udev%*)" ABI_X86="32 (64) (-x32)" PYTHON_SINGLE_TARGET="python2_7%*" PYTHON_TARGETS="python2_7%*" 879 kB

Total: 2 packages (1 upgrade, 1 downgrade), Size of downloads: 879 kB

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

net-wireless/bluez:0

  (net-wireless/bluez-5.21-r1:0/3::gentoo, installed) pulled in by
    net-wireless/bluez:0/3= required by (media-sound/pulseaudio-5.0-r2:0/0::gentoo, installed)
                      ^^^^^                                                                                                       
    >=net-wireless/bluez-5 required by (net-wireless/gnome-bluetooth-3.12.0:2/13::gentoo, installed)
    ^^                   ^                                                                                                                                 

  (net-wireless/bluez-4.101-r9:0/0::gentoo, ebuild scheduled for merge) pulled in by
    <net-wireless/bluez-5:= required by (net-libs/libpcap-1.6.1-r1:0/0::gentoo, ebuild scheduled for merge)
    ^                   ^ ^                                                                                                                                                          
    =net-wireless/bluez-4.101-r9[abi_x86_32(-)] required by (app-emulation/emul-linux-x86-soundlibs-20140508:0/0::gentoo, installed)
    ^                   ^^^^^^^^                                                                                                                                                           


It may be possible to solve this problem by using package.mask to
prevent one of those packages from being selected. However, it is also
possible that conflicting dependencies exist such that they are
impossible to satisfy simultaneously.  If such a conflict exists in
the dependencies of two different packages, then those packages can
not be installed simultaneously.

For more information, see MASKED PACKAGES section in the emerge man
page or refer to the Gentoo Handbook.
Comment 9 Juergen Rose 2014-08-21 15:49:08 UTC
Works for me now.