[MacPorts] #37315: impossible to install FreeTDS +odbc
#37315: impossible to install FreeTDS +odbc --------------------------+-------------------------------- Reporter: dhalperi@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: freetds,odbc | Port: --------------------------+-------------------------------- I am trying to install the `freetds +odbc` variant. There appears to be no copy of any of the files it tries to fetch on the Internet, so I had to finally follow the instructions here (`https://trac.macports.org/wiki/howto/InstallingOlderPort`) to install an old version (@0.91, found via `https://trac.macports.org/browser/trunk/dports/databases/freetds/Portfile?rev=98613#L5`) that was available on the macports download site (`http://distfiles.macports.org/freetds/`). I find it strange that the portfile would be updated out without the new version being available in any of the macports mirrors! Just wanted to report the problem. Any feedback on what I should do differently in the future is welcome! -- Ticket URL: <https://trac.macports.org/ticket/37315> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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 dhalperi@…): Thanks! My system did indeed try to fetch from `ftp.freetds.org` like yours did; the connection timed out. I just switched ISPs (walked to a nearby coffee shop from the university) and this time the download succeeded! Bugs in the tubes, I guess. I'm still a bit confused why the macports mirrors have older versions of the `tar.gz` file but not the newest one (the port was changed 5 weeks ago, so it shouldn't be propagation time). Thanks again! p.s. I went and looked for `main.log`, but couldn't find it. Maybe it was auto-deleted when the port cleanly installed this time? -- Ticket URL: <https://trac.macports.org/ticket/37315#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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@…): Replying to [comment:2 dhalperi@…]:
Thanks! My system did indeed try to fetch from `ftp.freetds.org` like yours did; the connection timed out.
I just switched ISPs (walked to a nearby coffee shop from the university) and this time the download succeeded! Bugs in the tubes, I guess.
Some ISPs do impose restrictions; we commonly encounter tickets involving blocked `rsync` connections on port 873 that interfere with `port selfupdate`.
p.s. I went and looked for `main.log`, but couldn't find it. Maybe it was auto-deleted when the port cleanly installed this time?
Yes, by default the logs are auto-cleaned after successful builds, unless you set `keeplogs` in `macports.conf` or use `-k` on the command line. -- Ticket URL: <https://trac.macports.org/ticket/37315#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37315: distfiles available only via FTP are not mirrored -----------------------------+------------------------- Reporter: dhalperi@… | Owner: wsiegrist@… Type: defect | Status: new Priority: Normal | Milestone: Component: server/hosting | Version: Resolution: | Keywords: Port: | -----------------------------+------------------------- Changes (by jmr@…): * owner: macports-tickets@… => wsiegrist@… * keywords: freetds,odbc => * version: 2.1.2 => * component: ports => server/hosting Comment: The distfiles mirror is currently unable to download from FTP sites. -- Ticket URL: <https://trac.macports.org/ticket/37315#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#37315: distfiles available only via FTP are not mirrored -----------------------------+------------------------- Reporter: dhalperi@… | Owner: wsiegrist@… Type: defect | Status: closed Priority: Normal | Milestone: Component: server/hosting | Version: Resolution: fixed | Keywords: Port: | -----------------------------+------------------------- Changes (by wsiegrist@…): * status: new => closed * resolution: => fixed Comment: We recently worked around the no-FTP issue for the slaves but I forgot to apply the workaround to the distfiles server. A full mirror run is in progress now and I manually triggered the mirroring of freetds in the meantime. [http://distfiles.macports.org/freetds/freetds-0.92.405.tar.gz http://distfiles.macports.org/freetds/freetds-0.92.405.tar.gz] -- Ticket URL: <https://trac.macports.org/ticket/37315#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts