[MacPorts] #47459: geoclue broken port

MacPorts noreply at macports.org
Wed Apr 15 06:18:57 PDT 2015

#47459: geoclue broken port
  Reporter:  dersh@…  |      Owner:  macports-tickets@…
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.3.3
Resolution:           |   Keywords:
      Port:  geoclue  |

Comment (by ryandesign@…):

 Replying to [ticket:47459 dersh@…]:
 > I have geoclue 0.12.99_4 installed.  It depends on gpsd.  I had gpsd
 3.11_0 installed, but it just upgraded to 3.14_0.  However, after that
 upgrade macports finds that geoclue is a broken port

 Oh dear. We are using a patch in the gpsd port to set the library's
 `install_name` but we're setting it to the same value as the
 `current_version` and the `compatibility_version` which is almost
 certainly wrong.

 > and attempts, but fails, to rebuild it:

 > I have also attached the full log of the geoclue rebuild attempt.

 > {{{
 > :info:build geoclue-gpsd.c:379:33: error: no member named 'tag' in
 'struct gps_data_t'
 > :info:build         char *tag_str = gpsd->gpsdata->tag;
 > :info:build                         ~~~~~~~~~~~~~  ^
 > }}}

 Oh dear. That sounds like the API has changed between 3.11 and 3.14 which
 would be an unfortunate contravention of the usual meaning of the version
 numbering. The [http://www.catb.org/gpsd/hacking.html#reports
 documentation] still says "Your packet parser is also responsible for
 setting the `tag` field in the `gps_data_t` structure" so if the `tag`
 field has now been removed from the `gps_data_t` structure then the
 documentation is also out of date.

Ticket URL: <https://trac.macports.org/ticket/47459#comment:1>
MacPorts <https://www.macports.org/>
Ports system for OS X

More information about the macports-tickets mailing list