[MacPorts] #49239: "gzip: /usr/bin/gzip: unknown suffix -- ignored" error during MacPorts 2.3.4 build
MacPorts
noreply at macports.org
Mon Oct 12 16:46:50 PDT 2015
#49239: "gzip: /usr/bin/gzip: unknown suffix -- ignored" error during MacPorts
2.3.4 build
------------------------+--------------------------------
Reporter: thecloud@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: base | Version: 2.3.4
Keywords: | Port:
------------------------+--------------------------------
Steps to reproduce:
$ export GZIP="-9"
$ tar xvzf MacPorts-2.3.4.tar.gz -C /tmp/
$ cd /tmp/MacPorts-2.3.4/
$ ./configure && make
If the GZIP environment variable is set to a whitespace-separated list of
options (as is documented on the man page for gzip), the configure script
for MacPorts fails with this error:
configure: === extracting vendor/tcl8.5.15-src.tar.gz
gzip: /usr/bin/gzip: unknown suffix -- ignored
configure: error: tarball vendor/tcl8.5.15-src.tar.gz did not extract to
vendor/tcl8.5.15/unix
Workaround:
$ unset GZIP
Diagnosis:
The configure script (incorrectly) expects that if the GZIP environment
variable is set, it contains a path to the gzip binary. This directly
conflicts with the documented contents of the GZIP variable, as understood
by /usr/bin/gzip. Unsetting GZIP shouldn't be necessary to build MacPorts
successfully, since it shouldn't overload the contents of an existing
variable.
--
Ticket URL: <https://trac.macports.org/ticket/49239>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list