Ticket #3841 (closed bug: fixed)
build for libffi assumes tar supports -z
Description
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)
Change History
Note: See
TracTickets for help on using
tickets.
