Bug 8401 - gpsd 3.15 NMEA support
Summary: gpsd 3.15 NMEA support
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-14 20:34 UTC by kevin.alden2
Modified: 2015-10-14 21:25 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kevin.alden2 2015-10-14 20:34:53 UTC
There is a bug with gpsd 3.15 where is is impossible to compile in NMEA 0183 support.  It has been reported and resolved (http://savannah.nongnu.org/bugs/?46082), but there has not yet been a release for buildroot to pull in.

The following patch resolves the issue:


--- a/SConstruct	2015-06-03 10:09:31.000000000 -0400
+++ b/SConstruct	2015-09-30 13:41:54.372157623 -0400
@@ -95,7 +95,7 @@ imloads = True
 
 boolopts = (
     # GPS protocols
-    ("nmea0183",      True,  "NMEA0183 support"),
+    ("nmea",          True,  "NMEA0183 support"),
     ("ashtech",       True,  "Ashtech support"),
     ("earthmate",     True,  "DeLorme EarthMate Zodiac support"),
     ("evermore",      True,  "EverMore binary support"),
Comment 1 Thomas Petazzoni 2015-10-14 20:46:39 UTC
Thanks for your report. Can you point to the upstream commit that fixes the problem? I've looked quickly into gpsd's git repository, and I don't see this problem fixed.
Comment 2 kevin.alden2 2015-10-14 20:50:56 UTC
(In reply to comment #1)
> Thanks for your report. Can you point to the upstream commit that fixes the
> problem? I've looked quickly into gpsd's git repository, and I don't see this
> problem fixed.

http://git.savannah.gnu.org/cgit/gpsd.git/commit/?id=3e25e2167beb3936de3986fad9b6c9bdec82b81f

It looks like they fixed the problem by changing the #ifdefs in the code as opposed to changing the SConstruct file back
Comment 3 Thomas Petazzoni 2015-10-14 21:25:47 UTC
Fixed by http://git.buildroot.net/buildroot/commit/?id=1ead17ad131e04eab35a242a1a397ecdd0af3d44. Thanks for the report!