Opened 12 years ago
Closed 11 years ago
#35874 closed defect (fixed)
gpsd breaks geoclue compillation
Reported by: | joop.stakenborg@… | Owned by: | jeremyhu (Jeremy Huddleston Sequoia) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | EnekoGotzon, cooljeanius (Eric Gallager) | |
Port: | geoclue gpsd |
Description
Running "port selfupdate; port upgrade outdated" today failed at compiling geoclue. I will attach the compilation log. Thanks.
Attachments (1)
Change History (11)
Changed 12 years ago by joop.stakenborg@…
comment:1 Changed 12 years ago by ci42
Owner: | changed from macports-tickets@… to jeremyhu@… |
---|---|
Port: | geoclue added |
In the future, please fill in the port field and cc the maintainer.
comment:2 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
105 :info:build CC geoclue_gpsd-geoclue-gpsd.o 106 :info:build geoclue-gpsd.c:43:27: error: redefinition of 'gps_data' as different kind of symbol 107 :info:build typedef struct gps_data_t gps_data; 108 :info:build ^ 109 :info:build /opt/local/include/gps.h:1727:40: note: previous definition is here 110 :info:build extern const char /*@null observer@*/ *gps_data(const struct gps_data_t *); 111 :info:build ^ 112 :info:build
What is the output of:
port provides /opt/local/include/gps.h
comment:3 Changed 12 years ago by joop.stakenborg@…
sh-3.2# port provides /opt/local/include/gps.h /opt/local/include/gps.h is provided by: gpsd
comment:4 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Can you try this:
Index: Portfile =================================================================== --- Portfile (revision 97138) +++ Portfile (working copy) @@ -24,3 +24,6 @@ depends_lib \ port:gtk2 \ port:dbus-glib + +# https://trac.macports.org/ticket/35874 +configure.cppflags-delete -I${prefix}/include
comment:5 Changed 12 years ago by joop.stakenborg@…
Okay, modified the Portfile:
sh-3.2# cat Portfile # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id: Portfile 96912 2012-08-21 11:56:03Z jmr@macports.org $ PortSystem 1.0 name geoclue version 0.12.99 categories devel net license LGPL-2.1+ platforms darwin maintainers jeremyhu openmaintainer description Geolocation library long_description Geoclue is a modular geoinformation service built on top of the D-Bus messaging system. The goal of the Geoclue project is to make creating location-aware applications as simple as possible. homepage http://www.freedesktop.org/wiki/Software/GeoClue master_sites http://freedesktop.org/~hadess/ checksums sha1 32958b36e679c9fb9b35b25d29c43d5ae6a0be27 \ rmd160 f95c8a0aac9ef1d0a011fc2cfc151f62bf400a6c \ sha256 fe396c91cb52de4219281f4d9223156338fc03670d34700281e86d1399b80a72 depends_build \ port:pkgconfig depends_lib \ port:gtk2 \ port:dbus-glib configure.cppflags-delete -I${prefix}/include
Compilation failed at exactly the same point as my first report, with the same errors.
comment:6 follow-up: 7 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Port: | gpsd added |
---|---|
Summary: | geoclue compillation error → gpsd breaks geoclue compillation |
comment:7 Changed 12 years ago by ak@…
Replying to jeremyhu@…: Hello everybody,
I ran into the same problem. GPSD changed its API. The gentoo project has a patch for this in their ports. http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/app-misc/geoclue/files/geoclue-0.12.99-gpsd.patch?revision=1.1 I applied this patch and geoclue now compiles.
comment:10 Changed 11 years ago by jeremyhu (Jeremy Huddleston Sequoia)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
geoclue compilation log