Skip to content
This repository was archived by the owner on Mar 10, 2026. It is now read-only.
This repository was archived by the owner on Mar 10, 2026. It is now read-only.

make install fails when GZIP defined in environment #5595

Description

@sambltc

"env GZIP=-n make install" fails, ending with:

gzip: /bin/gzip.gz: Permission denied
Makefile:151: recipe for target 'install-data' failed
make[1]: *** [install-data] Error 1
Makefile:166: recipe for target 'install-data' failed
make: *** [install-data] Error 1

It seems to be because a variable named "GZIP" is used in the makefiles.
(The existence of GZIP in the environment causes Make to export "GZIP" with it's value (the path to the gzip binary) but gzip itself expects to find command line options in it and fails.)

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions