[MacPorts] #40313: py27-geoip @1.2.7: build fails with libgeoip 1.5.1
MacPorts
noreply at macports.org
Fri Aug 30 21:41:19 PDT 2013
#40313: py27-geoip @1.2.7: build fails with libgeoip 1.5.1
-----------------------------+--------------------------------
Reporter: md14-macports@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.2.0
Keywords: haspatch | Port: py-geoip
-----------------------------+--------------------------------
The py27-geoip @1.2.7 port fails to build after the libgeoip 1.5.1 update:
{{{
$ sudo port -vs install py27-geoip
...
creating build/temp.macosx-10.6-x86_64-2.7
/usr/bin/gcc-4.2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -arch
x86_64 -I/opt/local/include
-I/opt/local/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7
-c py_GeoIP.c -o build/temp.macosx-10.6-x86_64-2.7/py_GeoIP.o
py_GeoIP.c: In function ‘GeoIP_SetAccuracyItemInt’:
py_GeoIP.c:272: error: ‘GEOIP_UNKNOWN_ACCURACY_RADIUS’ undeclared (first
use in this function)
py_GeoIP.c:272: error: (Each undeclared identifier is reported only once
py_GeoIP.c:272: error: for each function it appears in.)
error: command '/usr/bin/gcc-4.2' failed with exit status 1
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
.org_release_tarballs_ports_python_py-geoip/py27-geoip/work/GeoIP-
Python-1.2.7" &&
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
setup.py --no-user-cfg build
}}}
The attached patch fixes this problem by updating py-geoip to 1.2.8.
--
Ticket URL: <https://trac.macports.org/ticket/40313>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list