build for libffi assumes tar supports -z
cd libffi && /usr/bin/tar -zxf ../ghc-tarballs/libffi/libffi*.tar.gz
tar: z: unknown function modifier
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPqTvw@[0-7]][bfk][X...] [blocksize] [tarfile] [size] [exclude-file...] {file | -I include-file | -C directory file}...
gmake[1]: *** [libffi/stamp.ffi.configure] Error 1
The libffi/ghc.mk uses
cd libffi && $(TAR) -zxf ../ghc-tarballs/libffi/libffi*.tar.gz
A quick grep indicates this is the only instance that assumes the -z flag. Other instances in the ghc build system that use tar do the compression separately, eg in ghc.mk:
"$(TAR)" chf - $(SRC_DIST_NAME) 2>$src_log | bzip2 >$(TOP)/$(SRC_DIST_TARBALL)
Trac metadata
Trac field | Value |
---|---|
Version | 6.12.1 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Build System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |