Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461622 - sci-geosciences/gpsd-3.8 needs nmea2000 in iuse and fails with nmea2000 enabled
Summary: sci-geosciences/gpsd-3.8 needs nmea2000 in iuse and fails with nmea2000 enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sci-geo Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-03-13 11:27 UTC by Thomas Witt
Modified: 2013-03-27 20:04 UTC (History)
1 user (show)

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


Attachments
fixed ebuild for gpsd-3.8 (gpsd-3.8.ebuild.patch,1.14 KB, patch)
2013-03-13 21:05 UTC, Thomas Witt
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Witt 2013-03-13 11:27:22 UTC
1) The GPSD_PROTOCOLS array in the ebuild should include nmea2000.
2) If I install gpsd with nmea2000 enabled (which seems to be the default) building fails:

Reproducible: Always

Actual Results:  
river_nmea2000.c: In function 'print_data':
driver_nmea2000.c:62:39: warning: unused parameter 'buffer' [-Wunused-parameter]
driver_nmea2000.c:62:51: warning: unused parameter 'len' [-Wunused-parameter]
driver_nmea2000.c:62:61: warning: unused parameter 'pgn' [-Wunused-parameter]
driver_nmea2000.c: In function 'hnd_129809':
driver_nmea2000.c:649:42: error: 'struct gps_device_t' has no member named 'aivdm'
driver_nmea2000.c:650:49: error: 'struct gps_device_t' has no member named 'aivdm'
driver_nmea2000.c:663:9: error: 'struct gps_device_t' has no member named 'aivdm'
driver_nmea2000.c: In function 'hnd_129810':
driver_nmea2000.c:682:17: error: 'struct gps_device_t' has no member named 'aivdm'
driver_nmea2000.c:684:48: error: 'struct gps_device_t' has no member named 'aivdm'
driver_nmea2000.c:725:10: error: 'struct gps_device_t' has no member named 'aivdm'
scons: *** [driver_nmea2000.os] Error 1
scons: building terminated because of errors.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2013-03-13 16:43:38 UTC
1) Please post your `emerge --info' output in a comment.
2) Please attach the entire build log to this bug report.
Comment 2 Thomas Witt 2013-03-13 21:05:14 UTC
Created attachment 341950 [details, diff]
fixed ebuild for gpsd-3.8

That makes it install, at least. I am pretty shure nmea2000 needs CAN support in the Kernel, but I can't test that here.