#37315: impossible to install FreeTDS +odbc -------------------------+-------------------------------- Reporter: dhalperi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: freetds,odbc Port: | -------------------------+-------------------------------- Comment (by larry.velazquez@…): Odd. I can fetch the distfile just fine. {{{ % sudo port -d checksum freetds DEBUG: Copying /Users/larryv/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences DEBUG: Changing to port directory: /Users/larryv/Projects/MacPorts/trunk/dports/databases/freetds DEBUG: OS darwin/12.2.0 (Mac OS X 10.8) arch i386 DEBUG: org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided DEBUG: org.macports.distfiles registered provides 'distfiles', a pre- existing procedure. Target override will not be provided DEBUG: adding the default universal variant DEBUG: Reading variant descriptions from /Users/larryv/Projects/MacPorts/trunk/dports/_resources/port1.0/variant_descriptions.conf DEBUG: Attempting ln -sf /opt/local/var/macports/build/_Users_larryv_Projects_MacPorts_trunk_dports_databases_freetds/freetds/work /Users/larryv/Projects/MacPorts/trunk/dports/databases/freetds/work DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 501 DEBUG: euid changed to: 502 DEBUG: Starting logging for freetds DEBUG: Executing org.macports.main (freetds) DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 501 DEBUG: euid changed to: 502 DEBUG: fetch phase started at Fri Dec 14 23:19:29 EST 2012 ---> Fetching distfiles for freetds DEBUG: Can't run fetch on this port without elevated privileges. Escalating privileges back to root. DEBUG: euid changed to: 0. egid changed to: 0. DEBUG: changing euid/egid - current euid: 0 - current egid: 0 DEBUG: egid changed to: 501 DEBUG: euid changed to: 502 Warning: Your DNS server(s) incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. DEBUG: Executing org.macports.fetch (freetds) ---> freetds-0.92.405.tar.gz doesn't seem to exist in /opt/local/var/macports/distfiles/freetds ---> Attempting to fetch freetds-0.92.405.tar.gz from ftp://ftp.freetds.org/pub/freetds/stable/ % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2044k 100 2044k 0 0 508k 0 0:00:04 0:00:04 --:--:-- 511k DEBUG: Privilege de-escalation not attempted as not running as root. DEBUG: checksum phase started at Fri Dec 14 23:19:33 EST 2012 ---> Verifying checksum(s) for freetds DEBUG: Executing org.macports.checksum (freetds) ---> Checksumming freetds-0.92.405.tar.gz DEBUG: Correct (rmd160) checksum for freetds-0.92.405.tar.gz DEBUG: Correct (sha256) checksum for freetds-0.92.405.tar.gz % }}} Replying to [ticket:37315 dhalperi@…]:
I find it strange that the portfile would be updated out without the new version being available in any of the macports mirrors! Do you remember if your system tried to fetch from ftp://ftp.freetds.org/pub/freetds/stable/, like mine did?
Just wanted to report the problem. Any feedback on what I should do differently in the future is welcome! You should generally try to attach `main.log`, which contains a lot of useful debugging information. Its location is usually printed after a failed install attempt.
-- Ticket URL: <https://trac.macports.org/ticket/37315#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS