[MacPorts] #32931: ntop fails to upgrade with error "GeoIP library is missing"
#32931: ntop fails to upgrade with error "GeoIP library is missing" ----------------------------------------+----------------------------------- Reporter: stephen.marshall@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ----------------------------------------+----------------------------------- despite having the libGeoIP installed, sudo port install ntop fails during configure with error "Target org.macports.configure returned: configure failure: shell command failed (see log for details)" investigating the log shows: :info:configure checking GeoIP.h usability... yes :info:configure checking GeoIP.h presence... yes :info:configure checking for GeoIP.h... yes :info:configure checking for GeoIP_open in -lGeoIP... no :info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ntop/ntop/work/ntop-3.3.10': :info:configure configure: error: GeoIP library is missing -- Ticket URL: <https://trac.macports.org/ticket/32931> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32931: ntop fails to upgrade with error "GeoIP library is missing" ----------------------------------------+----------------------------------- Reporter: stephen.marshall@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ntop ----------------------------------------+----------------------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => markd@… * port: => ntop Old description:
despite having the libGeoIP installed, sudo port install ntop fails during configure with error "Target org.macports.configure returned: configure failure: shell command failed (see log for details)"
investigating the log shows:
:info:configure checking GeoIP.h usability... yes :info:configure checking GeoIP.h presence... yes :info:configure checking for GeoIP.h... yes :info:configure checking for GeoIP_open in -lGeoIP... no :info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ntop/ntop/work/ntop-3.3.10': :info:configure configure: error: GeoIP library is missing
New description: despite having the libGeoIP installed, sudo port install ntop fails during configure with error "Target org.macports.configure returned: configure failure: shell command failed (see log for details)" investigating the log shows: {{{ :info:configure checking GeoIP.h usability... yes :info:configure checking GeoIP.h presence... yes :info:configure checking for GeoIP.h... yes :info:configure checking for GeoIP_open in -lGeoIP... no :info:configure configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_ntop/ntop/work/ntop-3.3.10': :info:configure configure: error: GeoIP library is missing }}} -- Comment: In the future, please Cc the port maintainer(s), fill in the Port field and use WikiFormatting. Also please attach the complete log. -- Ticket URL: <https://trac.macports.org/ticket/32931#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32931: ntop fails to upgrade with error "GeoIP library is missing" ----------------------------------------+----------------------------------- Reporter: stephen.marshall@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ntop ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: ntop has been updated to 4.1.0 (see #31330). Did that help? -- Ticket URL: <https://trac.macports.org/ticket/32931#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32931: ntop fails to upgrade with error "GeoIP library is missing" ----------------------------------------+----------------------------------- Reporter: stephen.marshall@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ntop ----------------------------------------+----------------------------------- Comment(by stephen.marshall@…): Replying to [comment:2 ryandesign@…]:
ntop has been updated to 4.1.0 (see #31330). Did that help?
Afraid not, for some reason the checksums don't match: ---> Fetching archive for libgeoip ---> Attempting to fetch libgeoip-1.4.8_0+universal.darwin_10.i386-x86_64.tbz2 from http://packages.macports.org/libgeoip ---> Fetching distfiles for libgeoip ---> Attempting to fetch GeoIP-1.4.8.tar.gz from http://www.maxmind.com/download/geoip/api/c/ ---> Verifying checksum(s) for libgeoip Error: Checksum (rmd160) mismatch for GeoIP-1.4.8.tar.gz Error: Checksum (sha256) mismatch for GeoIP-1.4.8.tar.gz Error: org.macports.checksum for port libgeoip returned: Unable to verify file checksums Error: Unable to upgrade port: 1 -- Ticket URL: <https://trac.macports.org/ticket/32931#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32931: ntop fails to upgrade with error "GeoIP library is missing" ----------------------------------------+----------------------------------- Reporter: stephen.marshall@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ntop ----------------------------------------+----------------------------------- Comment(by ryandesign@…): Ok, so we actually don't know yet whether updating the ntop port to version 4.1.0 helped, because you're experiencing a new and unrelated problem with the libgeoip port. I'm not able to reproduce that problem; the checksums seem fine to me, and the file doesn't seem to have been updated in a year. Please "sudo port clean --all libgeoip" and "sudo port selfupdate" and try again, and if it still doesn't work, please file a new ticket about that. -- Ticket URL: <https://trac.macports.org/ticket/32931#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32931: ntop fails to upgrade with error "GeoIP library is missing" ----------------------------------------+----------------------------------- Reporter: stephen.marshall@… | Owner: markd@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ntop ----------------------------------------+----------------------------------- Comment(by stephen.marshall@…): Replying to [comment:4 ryandesign@…]:
Ok, so we actually don't know yet whether updating the ntop port to version 4.1.0 helped, because you're experiencing a new and unrelated problem with the libgeoip port. I'm not able to reproduce that problem; the checksums seem fine to me, and the file doesn't seem to have been updated in a year. Please "sudo port clean --all libgeoip" and "sudo port selfupdate" and try again, and if it still doesn't work, please file a new ticket about that.
Success! cleaning and reinstalling libgeoip separately seems to have fixed it. 4.1.0 installed without issues. Thanks for the update. -- Ticket URL: <https://trac.macports.org/ticket/32931#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32931: ntop fails to upgrade with error "GeoIP library is missing" -----------------------------------------+---------------------------------- Reporter: stephen.marshall@… | Owner: markd@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: ntop | -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Great! -- Ticket URL: <https://trac.macports.org/ticket/32931#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts