Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 776406 - sci-geosciences/viking-1.8-r1 build error with geoclue
Summary: sci-geosciences/viking-1.8-r1 build error with geoclue
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-03-15 18:04 UTC by José de Paula Rodrigues
Modified: 2021-12-02 06:04 UTC (History)
3 users (show)

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


Attachments
Corrects building with USE=geoclue (geoclue.patch,360 bytes, patch)
2021-03-15 18:05 UTC, José de Paula Rodrigues
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description José de Paula Rodrigues 2021-03-15 18:04:23 UTC
With USE=geoclue, sci-geosciences/viking-1.8-r1 fails to build with:

viklayer.c:99:4: error: 'vik_geoclue_layer_interface' undeclared here (not in a function); did you mean 'vik_georef_layer_interface'?
   99 |   &vik_geoclue_layer_interface,
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |    vik_georef_layer_interface


I think it is actually an upstream bug. The attached patch fixes the problem for the time being.

Reproducible: Always

Steps to Reproduce:
Build sci-geosciences/viking-1.8-r1 with USE=geoclue enabled.
Actual Results:  
viklayer.c:99:4: error: 'vik_geoclue_layer_interface' undeclared here (not in a function); did you mean 'vik_georef_layer_interface'?
   99 |   &vik_geoclue_layer_interface,
      |    ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |    vik_georef_layer_interface



Expected Results:  
Successful building and merging.
Comment 1 José de Paula Rodrigues 2021-03-15 18:05:56 UTC
Created attachment 691620 [details, diff]
Corrects building with USE=geoclue

This user patch allows building with USE=geoclue enabled.
Comment 2 Hans de Graaff gentoo-dev Security 2021-12-02 06:04:02 UTC
This should now be fixed with viking 1.9.