Opened 11 years ago
Closed 11 years ago
#40313 closed defect (fixed)
py27-geoip @1.2.7: build fails with libgeoip 1.5.1
Reported by: | mndavidoff (Monte Davidoff) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | haspatch | Cc: | petrrr |
Port: | py-geoip |
Description
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.
Attachments (2)
Change History (4)
Changed 11 years ago by mndavidoff (Monte Davidoff)
Attachment: | main.log.gz added |
---|
Changed 11 years ago by mndavidoff (Monte Davidoff)
Attachment: | Portfile.diff added |
---|
comment:1 Changed 11 years ago by petrrr
Cc: | Peter.Danecek@… added |
---|
comment:2 Changed 11 years ago by mf2k (Frank Schima)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This was done in r113911.
Note: See
TracTickets for help on using
tickets.
Cc Me!