Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280859 - sci-geosciences/viking-0.9.8: merge error: field 'realtime_gpsd_unit' has incomplete type
Summary: sci-geosciences/viking-0.9.8: merge error: field 'realtime_gpsd_unit' has inc...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Hanno Böck
URL: http://bugs.debian.org/cgi-bin/bugrep...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-09 08:44 UTC by Emile de Weerd
Modified: 2009-08-10 22:01 UTC (History)
1 user (show)

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


Attachments
emerge --info output (emerge.info,11.35 KB, text/plain)
2009-08-09 08:46 UTC, Emile de Weerd
Details
Build.log of the failed merge (build.log,98.79 KB, text/plain)
2009-08-09 08:48 UTC, Emile de Weerd
Details
ebuild correction (viking-0.9.8.ebuild.diff,829 bytes, patch)
2009-08-09 08:53 UTC, Emile de Weerd
Details | Diff
Source patch - correcting the bug (0.9.8-realtime_gpsd_unit-has-incomplete-type.patch,1.39 KB, patch)
2009-08-09 08:54 UTC, Emile de Weerd
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Emile de Weerd 2009-08-09 08:44:57 UTC
When merging viking-0.9.8 with USE flag "gps", an error occur:


vikgpslayer.c:237: error: field 'realtime_gpsd_unit' has incomplete type
vikgpslayer.c: In function 'vik_gps_layer_new':
vikgpslayer.c:473: warning: implicit declaration of function 'gpsd_units'
vikgpslayer.c: In function 'rt_gpsd_try_connect':
vikgpslayer.c:1321: warning: passing argument 2 of 'gps_set_raw_hook' from incompatible pointer type
make[4]: *** [vikgpslayer.o] Error 1


Reproducible: Always

Steps to Reproduce:
1. USE flag "gps" activated
2. emerge =sci-geosciences/viking-0.9.8

Actual Results:  
Merge error

Expected Results:  
Merge successful
Comment 1 Emile de Weerd 2009-08-09 08:46:22 UTC
Created attachment 200664 [details]
emerge --info output
Comment 2 Emile de Weerd 2009-08-09 08:48:45 UTC
Created attachment 200665 [details]
Build.log of the failed merge
Comment 3 Emile de Weerd 2009-08-09 08:53:37 UTC
Created attachment 200666 [details, diff]
ebuild correction

epatch command correcting the bug
Comment 4 Emile de Weerd 2009-08-09 08:54:34 UTC
Created attachment 200668 [details, diff]
Source patch - correcting the bug
Comment 5 vyp08 2009-08-10 05:06:16 UTC
Thanks.
Comment 6 Hanno Böck gentoo-dev 2009-08-10 22:01:31 UTC
I've commited a fix from upstream trunk, they've a much nicer patch.