Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371859 - [sci-geosciences/viking-1.2] fails to build with >=sci-geosciences/gpsd-2.96
Summary: [sci-geosciences/viking-1.2] fails to build with >=sci-geosciences/gpsd-2.96
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-16 02:00 UTC by Sven E.
Modified: 2011-06-17 16:36 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge.txt,4.85 KB, text/plain)
2011-06-16 22:08 UTC, Sven E.
Details
build.log (build.log,9.15 KB, text/plain)
2011-06-16 22:20 UTC, Sven E.
Details
config.log (config.log,57.36 KB, text/plain)
2011-06-16 22:23 UTC, Sven E.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven E. 2011-06-16 02:00:00 UTC
viking-1.2 fails to configure due to missing symbol in libgps or faulty configure test.

Reproducible: Always

Steps to Reproduce:
1. emerge viking-1.2 with gpsd support

Actual Results:  
configure error

Expected Results:  
successful configure+build

checking whether to enable Realtime GPS Tracking stuff... (cached) yes
checking for gps_poll in -lgps... no
configure: error: libgps is needed for Realtime GPS Tracking feature, but not found. The feature can be disable with --disable-realtime-gps-tracking

objdump -T /usr/lib64/libgps.so.20.0.0|grep gps_poll
yields no symbol with that name either. seems that libgps really lacks this function. Question remains: Is the function gone (after being deprecated) or is it a bug in the configure script?
Comment 1 Rafał Mużyło 2011-06-16 04:35:32 UTC
Depends.

What's the error in config.log ?
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-16 16:45:54 UTC
1) Please attach the config.log.
2) Please attach the entire build log.
3) Please post your `emerge --info' output.
Comment 3 Sven E. 2011-06-16 22:08:22 UTC
Created attachment 277305 [details]
emerge --info
Comment 4 Sven E. 2011-06-16 22:20:55 UTC
Created attachment 277309 [details]
build.log
Comment 5 Sven E. 2011-06-16 22:23:16 UTC
Created attachment 277315 [details]
config.log
Comment 6 Sven E. 2011-06-16 22:34:27 UTC
Guess what, neither build.log nor config.log won't tell you anything more than the original post. Who could have guessed ....
Comment 7 Sven E. 2011-06-16 22:38:53 UTC
(In reply to comment #1)
> Depends.
> 
> What's the error in config.log ?

configure:8527: checking for gps_poll in -lgps
configure:8552: x86_64-pc-linux-gnu-gcc -o conftest -O3 -march=native -pipe  -Wl,-O1 -Wl,--as-needed conftest.c -lgps  -lz -lm  >&5
/var/tmp/portage/sci-geosciences/viking-1.2/temp/ccUdlbar.o: In function `main':
conftest.c:(.text+0x7): undefined reference to `gps_poll'
collect2: ld returned 1 exit status

Which is obvious, since libgps does not have any symbol (and thus function) with that name, as I already pointed out.
Comment 8 Sven E. 2011-06-16 22:58:22 UTC
Making a long story short:

The function got dropped from gpsd and replaced. Some other stuff changed around versuion 2.9 of gpsd roughly a year ago.

A minor new version of viking 1.2.1 but does not yet include the necessary changes.
Comment 9 Sven E. 2011-06-16 23:03:11 UTC
And to complete this:

http://sourceforge.net/tracker/?func=detail&aid=3271943&group_id=83870&atid=570954

Is a bug ID concerning the bug about the gpsd API changes.

Does masking gpsd or fixing the dependency on gpsd within the viking ebuild sound reasonable to the responsible dev.
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-16 23:21:59 UTC
(In reply to comment #6)
> Guess what, neither build.log nor config.log won't tell you anything more than
> the original post. Who could have guessed ....

To get your attitude problem fixed, please file a new bug report.
Comment 11 Sven E. 2011-06-17 00:51:38 UTC
Oh, almost funny.

Better get the chichiness fixed in the first place *D'OH*.
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2011-06-17 08:46:35 UTC
Fixed in main tree.

Most of your investigation on the issue were useless so next time just listen what you are asked for by wranglers.

The issue is around since gpsd-2.96 (gpsd-2.95 would work}, so the breakage is in main tree for ~30 days with possible workaround by downgrading from 2.96 version.
Comment 13 Sven E. 2011-06-17 16:36:58 UTC
(In reply to comment #12)
> Fixed in main tree.
> 
> Most of your investigation on the issue were useless so next time just listen
> what you are asked for by wranglers.

That much for attitude.

Anyway, ever considered that some of the demanded data imposes privacy issues? (I am talking about 'emerge --info' in the first place here)

Every time an ebuild fails there's the output please attach x,y,z. - If this is considered standard procedure anyway, where is the tool-set to report a bug in a straightforward manner?

> 
> The issue is around since gpsd-2.96 (gpsd-2.95 would work}, so the breakage is
> in main tree for ~30 days with possible workaround by downgrading from 2.96
> version.

So gps_poll() got deprecated and removed in 2.96? I am sorry, I didn't know that, my fault then. mea culpa.