[MacPorts] #35874: geoclue compillation error
#35874: geoclue compillation error ---------------------------------------+------------------------------------ Reporter: joop.stakenborg@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ---------------------------------------+------------------------------------ Running "port selfupdate; port upgrade outdated" today failed at compiling geoclue. I will attach the compilation log. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/35874> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35874: geoclue compillation error ---------------------------------------+------------------------------------ Reporter: joop.stakenborg@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: geoclue ---------------------------------------+------------------------------------ Changes (by ciserlohn@…): * owner: macports-tickets@… => jeremyhu@… * port: => geoclue Comment: In the future, please fill in the port field and cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/35874#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35874: geoclue compillation error ---------------------------------------+------------------------------------ Reporter: joop.stakenborg@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: geoclue ---------------------------------------+------------------------------------ Comment(by jeremyhu@…): {{{ 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/35874#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35874: geoclue compillation error ---------------------------------------+------------------------------------ Reporter: joop.stakenborg@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: geoclue ---------------------------------------+------------------------------------ Comment(by joop.stakenborg@…): sh-3.2# port provides /opt/local/include/gps.h /opt/local/include/gps.h is provided by: gpsd -- Ticket URL: <https://trac.macports.org/ticket/35874#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35874: geoclue compillation error ---------------------------------------+------------------------------------ Reporter: joop.stakenborg@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: geoclue ---------------------------------------+------------------------------------ Comment(by jeremyhu@…): 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 }}} -- Ticket URL: <https://trac.macports.org/ticket/35874#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35874: geoclue compillation error ---------------------------------------+------------------------------------ Reporter: joop.stakenborg@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: geoclue ---------------------------------------+------------------------------------ Comment(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. -- Ticket URL: <https://trac.macports.org/ticket/35874#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35874: gpsd breaks geoclue compillation --------------------------------+------------------------ Reporter: joop.stakenborg@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: geoclue gpsd | --------------------------------+------------------------ Changes (by jeremyhu@…): * port: geoclue => geoclue gpsd -- Ticket URL: <https://trac.macports.org/ticket/35874#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35874: gpsd breaks geoclue compillation --------------------------------+------------------------ Reporter: joop.stakenborg@… | Owner: jeremyhu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: geoclue gpsd | --------------------------------+------------------------ Comment (by ak@…): Replying to [comment:6 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. -- Ticket URL: <https://trac.macports.org/ticket/35874#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35874: gpsd breaks geoclue compillation --------------------------------+------------------------ Reporter: joop.stakenborg@… | Owner: jeremyhu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: Port: geoclue gpsd | --------------------------------+------------------------ Changes (by jeremyhu@…): * status: new => closed * resolution: => fixed Comment: r109276 -- Ticket URL: <https://trac.macports.org/ticket/35874#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts