Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662726 - net-wireless/kismet-2018.08_beta1-r1 : /.../system_monitor.cc:97: undefined reference to sensors_init
Summary: net-wireless/kismet-2018.08_beta1-r1 : /.../system_monitor.cc:97: undefined r...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Rick Farina (Zero_Chaos)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-08-03 14:48 UTC by Toralf Förster
Modified: 2018-12-03 18:10 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.88 KB, text/plain)
2018-08-03 14:48 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,227.95 KB, text/plain)
2018-08-03 14:48 UTC, Toralf Förster
Details
environment (environment,138.97 KB, text/plain)
2018-08-03 14:48 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.90 KB, application/x-bzip)
2018-08-03 14:48 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,11.58 KB, application/x-bzip)
2018-08-03 14:48 UTC, Toralf Förster
Details
net-wireless:kismet-2018.08_beta1-r1:20180803-023656.log (net-wireless:kismet-2018.08_beta1-r1:20180803-023656.log,59.84 KB, text/plain)
2018-08-03 14:48 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,35.87 KB, application/x-bzip)
2018-08-03 14:48 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-08-03 14:48:16 UTC
system_monitor.cc.o: In function `Systemmonitor::Systemmonitor()':
/var/tmp/portage/net-wireless/kismet-2018.08_beta1-r1/work/kismet-2018-08-BETA1/system_monitor.cc:97: undefined reference to `sensors_init'
system_monitor.cc.o: In function `Systemmonitor::timetracker_event(int)':
/var/tmp/portage/net-wireless/kismet-2018.08_beta1-r1/work/kismet-2018-08-BETA1/system_monitor.cc:190: undefined reference to `sensors_get_detected_chips'
/var/tmp/portage/net-wireless/kismet-2018.08_beta1-r1/work/kismet-2018-08-BETA1/system_monitor.cc:192: undefined reference to `sensors_get_features'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_20180727-195151

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python3.5
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv net-wireless/kismet
[ebuild  N    ] net-wireless/kismet-2018.08_beta1-r1  USE="pcre suid -lm_sensors -networkmanager (-selinux)" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-08-03 14:48:20 UTC
Created attachment 542244 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-03 14:48:23 UTC
Created attachment 542246 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-03 14:48:26 UTC
Created attachment 542248 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-03 14:48:29 UTC
Created attachment 542250 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-03 14:48:32 UTC
Created attachment 542252 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-03 14:48:35 UTC
Created attachment 542254 [details]
net-wireless:kismet-2018.08_beta1-r1:20180803-023656.log
Comment 7 Toralf Förster gentoo-dev 2018-08-03 14:48:38 UTC
Created attachment 542256 [details]
temp.tbz2
Comment 8 Oleh 2018-08-05 07:29:13 UTC
1. When NO sys-apps/lm_sensors installed and USE=-lm_sensors is passed to net-wiress/kismet, then it builds and installs.
2. When sys-apps/lm_sensors IS installed and USE=-lm_sensors is passed to net-wiress/kismet, then it will fail with undefined symbols error.
Comment 9 hangglider 2018-08-24 08:34:41 UTC
final ld step is missing -lsensors. Did it by hand.
Comment 10 Rick Farina (Zero_Chaos) gentoo-dev 2018-12-03 18:10:39 UTC
reported upstream with proper fix when sensor.h is missing.  basically there was a typo upstream.

I've patched the beta and live for now, will remove patch from live once upstream has a chance to update.