Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493022 - sci-geosciences/gpsd-3.10 - gpsmon.o: In function `select_packet_monitor': .../work/gpsd-3.10/gpsmon.c:481: undefined reference to `driver_nmea0183'
Summary: sci-geosciences/gpsd-3.10 - gpsmon.o: In function `select_packet_monitor': .....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-01 11:56 UTC by n1ghtmare
Modified: 2014-10-30 21:23 UTC (History)
0 users

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


Attachments
gpsd-3.10-build.log (gpsd-3.10-build.log,56.41 KB, text/plain)
2013-12-02 14:40 UTC, n1ghtmare
Details

Note You need to log in before you can comment on or make changes to this bug.
Description n1ghtmare 2013-12-01 11:56:20 UTC
i am trying to compile sci-geosciences/gpsd-3.10 with these settings :

USE="bluetooth cxx dbus ipv6 latency_timing ncurses python qt4 shm sockets udev usb -X -debug -ntp -static% {-test} (-systemd%*)"

GPSD_PROTOCOLS="navcom -aivdm -ashtech -earthmate -evermore -fury -fv18 -garmin -garmintxt -geostar -gpsclock -itrax -mtk3301 -nmea -nmea2000 -ntrip -oceanserver -oncore -rtcm104v2 -rtcm104v3 -sirf -superstar2 -tnt -tripmate -tsip -ublox% (-ubx%)"

gpsd-3.9-r1 compiles fine with same settings ...

complete build and environment logs can be provided if needed ...

Reproducible: Always

Steps to Reproduce:
1."emerge -1uv gpsd" via root console with my settings on a complete ~amd64 (yellow) testing system
2.
3.
Actual Results:  
gpsmon.o: In function `select_packet_monitor':
/var/tmp/portage/sci-geosciences/gpsd-3.10/work/gpsd-3.10/gpsmon.c:481: undefined reference to `driver_nmea0183'
collect2: error: ld returned 1 exit status
scons: *** [gpsmon] Error 1
scons: building terminated because of errors.

 * Call stack:
 *     ebuild.sh, line   93:  Called src_compile
 *   environment, line 3898:  Called escons
 *   environment, line 1977:  Called die
 * The specific snippet of code:
 *       [[ ${ret} -ne 0 ]] && has "${EAPI:-0}" 4 5 && die "escons failed.";

Expected Results:  
flawless compiling, what else :-) ...

i am using gcc-4.8.2 and binutils-2.23.2
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-12-02 11:23:57 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 n1ghtmare 2013-12-02 14:40:10 UTC
Created attachment 364452 [details]
gpsd-3.10-build.log
Comment 3 n1ghtmare 2013-12-02 14:41:29 UTC
my "emerge --info" output and my build.log as requested:

Portage 2.2.7 (default/linux/amd64/13.0/no-multilib, gcc-4.8.2, glibc-2.17, 3.12.2 x86_64)
=================================================================
System uname: Linux-3.12.2-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.2
KiB Mem:     8104172 total,   5348832 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Mon, 02 Dec 2013 13:30:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r4, 3.3.3
dev-util/ccache:          3.1.9-r3
dev-util/cmake:           2.8.12.1-r1
dev-util/pkgconfig:       0.28
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.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8"
PKGDIR="/usr/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="/usr/portage"
PORTDIR_OVERLAY=""
USE="24bpp X a52 aac aacplus aacs aalib accessibility acl acpi activefilter ads afp afs agg aio airdrop-ng airgraph-ng aisleriot alevt alsa alstream amd64 amr analitza angelscript ap apache2 aplaymidi apng applet archive artworkextra asf asn1 asyncns atahpt atm attica audio audit auth auth-dns autoipd autotools autotrace avcodec avformat avx awt bazaar berkdb bidi big-tables bitbang_spi blksha1 bluetooth bluray bmp bogofilter bookmarks boost bs2b bufferevents bugzilla bullet buspirate_spi bzip2 c++0x cairo canusb canvas capi caps caps-ng cdda cddb cdemu-daemon cdio cdparanoia cdr channels chm cjk clamdtop cli client clucene clutter cmake collada colord community connection-sharing conntrack corefonts coverage cracklib cramfs creds crypt cryptsetup css cue cups curl custom-cflags custom-cpuopts custom-modes custom-optimization cvs cxx daemon datahub dbi dbus dds declarative dediprog demosaic dep deprecated desktopglobe devhelp device-mapper devil dga dhcp dhcp-tools dhcpcd diff dirac dot double-precision down-root downloads-monitor dri drkaiser drm dso dts dummy dv dvb dvbpsi dvd dyn-manifest e2fsprogs eap-sim ebook ecc edit egl eigen elbeem embedded emf emovix enca encode epoll epub equalizer espeak ethernet examples exceptions exif extensions extra-algorithms extra-print-profiles extras faac faad facebook fam fat fax fbcon fdformat ffmpeg fftw fgpanel filecaps filters firmware-loader fits flac flash flickr floppy fluidsynth fma fontconfig foomaticdb fortran fprint fpx freebidi freeimage freetds ft2232_spi ftp fuse g3dvl g726 g729 gallium game-engine games gbm gcov gcrypt gd gda gdbm gecko geoip geoloc geolocation geonames gflags gfxnvidia gif git gjs gl2ps glade glamor glchess glew glib glut gme gmp gnuplot gnutls gold gpg gphoto2 gpm gps gptfdisk graph graphite graphviz gre grilo growl grp gsf gsl gsm gsmloc gstreamer gudev gui gusb gyroscopic handbook hardware-carrier harfbuzz hddtemp hdri highlight history hog hostip hpn http hunspell hwdb iconv icu id3tag idn iec61883 ieee1394 imagemagick imlib indi inotify interlaced internal introspection ipc iptables iptc ipv6 irc irda irrlicht iso ithreads jabber jack javascript jbig jingle jit joystick jpeg jpeg2k jsbsim json kate kdcraw kde kdenlive kdepim kerberos kexiv2 keymap keyutils kipi kmod kontact ladspa lame laptop lash latency_timing lcms ldap led lensfun libass libburn libcaca libev libffi libkms libmpeg2 libnotify libproxy libsamplerate libsoxr libv4l lightning lirc live lm_sensors loop-aes lto lucene lv2 lzma lzo mad magic maildir man manual map maps marble matroska mbox mclib md5sum mdb mdnsresponder-compat melt mem-scramble memmap memprofile mercurial messages metalink mhash midi mikmod milter miner-fs minizip mjpeg mktemp mmap mms mmx mmxext mng mod modemmanager modplug modules monitor mozdom mp3 mp4 mpeg mplayer msn mtp mudflap multimedia multislot musepack music musicbrainz mvl mysql nas nat-pmp ncat ncurses ndiff net netapi netgroups netifrc network networking networkmanager nic3com nicintel nicintel_spi nicnatsemi nicrealtek nis nls nmap-update nocrypto-algorithms nominatim nova nowlistening nping nptl nscd nsplugin nut objc objc++ objc-gc odbc odk offlinehelp ogg ogp_spi ois okular omxil openal openexr opengl opengtl openinventor openmedia openmp openpty opus ortp oscar osdmenu osgapps osmesa otr p2p pam pango parse-clocks passwordsave pcap pci pcre pcsc-lite pdf pgo phonon pipes pkcs11 pkinit plasma player playlist playtools plazes plotutils plugin-autowep plugin-btscan plugin-dot15d4 plugin-ptw plugin-spectools plugin-syslog plugins pm-utils png pnm poco policykit pony_spi pop3c postproc postscript ppds ppp pppd pptx prevent-removal previewer prison privacy projectm pulseaudio pvr python python3 qalculate qmi qpak qt-faststart qt3support qt4 quicktime quota quvi qwt radio radius raptor raw rayer_spi rcapid rdesktop rdp readline realtime recode recursion-limit redland reencrypt regex remote resolvconf rpc rrdcgi rss rtc rtmp rtsp run-exes samba sasl satamv satasii scanner script scripting scripttools scrobbler scsi sdl sdlgfx secure-delete security semantic-desktop sendto sensord serprog server session sftp sha512 shapefile shared-glapi shine shm short-touchpad-timeout shotwell shout sid silk skey skyhook skype slp small smartcard smbclient smbsharemodes smi smp smpeg sms sndfile snmp socialweb sockets sound sourceview sox speech speechd speex spell sql sqlite srtp sse sse2 sse3 sse4_1 ssh ssl ssse3 startup-notification statistics stats stl streflop strong-security subversion sudoku svg switcher swscale symlink syslog system-cairo system-jpeg system-sqlite systemd t1lib taglib tbb tcpd tdb teamarena test-programs tga themes theora threads thumbnail tiff tls-heartbeat toolame toolbar tools tor tor-hardening totem trace tracker translator transmitter transparent-proxy truetype trust tslib tty-helpers twolame udev udisks unicode upcall update-alternatives upnp upower urandom usb usbblaster utils uuid v4l valgrind vapigen vba vcd vcdx vdpau vdr video videos vimeo virtuoso vlc vlm vnc voice vorbis vpx wad wallpapers wav wavpack weak-algorithms web webdav webdav-neon webgl webkit webkit2 webm webmail webp webpresence webrtc-aec wifi wiki wimax win32 win64 winbind winpopup wma-fixed wmf word-perfect wps x264 xa xanim xattr xcb xcomposite xdm-auth xinerama xkb xml xmlpatterns xmp xmpp xorg xpm xps xrandr xslt xv xvfb xvid xvmc yahoo-geo yaml yasim youtube zeitgeist zip zlib zvbi" ABI_X86="64" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias authn_core authz_core unixd socache_shmcb" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" DRACUT_MODULES="plymouth crypt crypt-gpg caps dmraid mdraid" ELIBC="glibc" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher ffescape fourcc2pixfmt" GPSD_PROTOCOLS="navcom" INPUT_DEVICES="evdev mouse keyboard joystick synaptics tslib wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-minimizer" LINGUAS="de de_DE en en_GB en_US" LIRC_DEVICES="usbx" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_3 python2_7" RUBY_TARGETS="ruby18 ruby19 ruby20" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC
Comment 4 Frank Goubert 2013-12-11 13:43:59 UTC
Same error here with GPSD_PROTOCOLS="garmin".

Compilation successful by adding "nmea" protocol:
GPSD_PROTOCOLS="garmin nmea"

I hope this helps resolving the bug.
:-)
Comment 5 SpanKY gentoo-dev 2014-10-30 21:23:13 UTC
should be all set now in the tree; thanks for the report!

Commit message: Add fix from upstream for building w/nmea driver disabled
http://sources.gentoo.org/sci-geosciences/gpsd/files/gpsd-3.10-nmea-disabled.patch?rev=1.1
http://sources.gentoo.org/sci-geosciences/gpsd/gpsd-3.10.ebuild?r1=1.2&r2=1.3