[MacPorts] #43949: gmp install fails with :debug:extract Error code: NONE
MacPorts
noreply at macports.org
Sun Jun 8 11:28:17 PDT 2014
#43949: gmp install fails with :debug:extract Error code: NONE
-------------------------------+--------------------------------
Reporter: brookemgilbert@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.0
Resolution: | Keywords:
Port: gmp |
-------------------------------+--------------------------------
Changes (by ryandesign@…):
* cc: ryandesign@… (added)
Comment:
Replying to [comment:4 brookemgilbert@…]:
> I looked into that a while back and read [ticket:39868 this topic] about
it. I think the problem is that my ISP automatically redirects me to a
search page if I request a nonexistent address.
The problem is that the DNS servers you are using return results for
queries which should fail.
The search page you mentioned is another symptom of this same problem.
> I don't think that's under my control, but if it's important I could
call them to see if they can turn it off...
You should contact your ISP and tell them that this behavior of their DNS
server is a violation of Internet standards. If they will not fix their
DNS servers to comply with Internet standards, it's within your control to
configure your router or computer to use different DNS servers that do
comply with the standards. For example, I use Google DNS.
> I've got:
> {{{
> $ ls -l /opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2
> -rw-r--r-- 1 macports admin 2319400 5 May 03:01
/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2
> $ file /opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2
> /opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2: bzip2
compressed data, block size = 900k
> $ openssl dgst -sha256
/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2
> SHA256(/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2)=
7f8e9a804b9c6d07164cf754207be838ece1219425d64e28cfa3e70d5c759aaf
> }}}
Ok, that is the right checksum. So you do appear to have the right file.
So the DNS problems don't seem to be contributing to this particular
problem. So what is? We could try to run a version of the command MacPorts
is trying to run to extract the file, and see if we get any additional
errors that MacPorts didn't mention. I'd do this in a temporary directory
that automatically cleans itself up after a few days, such as /tmp:
{{{
cd /tmp
/usr/bin/bzip2 -dc
'/opt/local/var/macports/distfiles/gmp/gmp-6.0.0a.tar.bz2' | /usr/bin/tar
-xf -
}}}
If this is successful, it should print no output, and a directory
"gmp-6.0.0" should have been created. If it's not successful, maybe it
prints a warning or an error. I am wondering if your system's bzip2 and/or
tar utilities may be broken.
--
Ticket URL: <https://trac.macports.org/ticket/43949#comment:5>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list