tar --help is failing on Solaris.

Karel Gardas karel.gardas at centrum.cz
Sat Sep 27 19:46:13 UTC 2014

Hi Mikhail,

On 09/27/14 09:09 PM, Mikhail Glushenkov wrote:
> On 27 September 2014 20:19, Karel Gardas<karel.gardas at centrum.cz>  wrote:
>> [...]
>> Could you be so kind and revert this patch or fix it to also work on
>> Solaris? For Solaris the change should be easy, simply if you invoke
>> Solaris' tar with --help, it'll fail with exit code 1 and help message
>> printed into the stderr. If you are curious if it supports --format, then
>> no.
> Should be fixed now. Thanks for the heads-up!

Have you already pushed? I don't see it fixed on my end yet:

"inplace/bin/ghc-cabal" configure libraries/binary dist-boot "" 
--disable-library-for-ghci --enable-library-vanilla 
--disable-library-profiling --disable-shared 
--configure-option=CFLAGS=" -U__i686 -fno-stack-protector   " 
--configure-option=LDFLAGS="   " --configure-option=CPPFLAGS="   " 
--gcc-options=" -U__i686 -fno-stack-protector       " 
--configure-option=--with-gmp-libraries="/usr/lib/"   --constraint 
"binary =="   --constraint "Cabal =="   --constraint 
"hpc =="   --constraint "bin-package-db ==" 
--constraint "hoopl =="   --constraint "transformers =="   --constraint "terminfo ==" --with-gcc="/usr/bin//gcc" 
Configuring binary-
ghc-cabal: '/usr/bin/tar' exited with an error:
Usage: tar {c|r|t|u|x}[BDeEFhilmnopPTvw@/[0-7]][bf][X...] [j|z|Z] 
[tarfile] [size] [exclude-file...] {file | -I include-file | -C directory
gmake[1]: *** [libraries/binary/dist-boot/package-data.mk] Error 1
gmake: *** [all] Error 2

and I've got whole new ghc tree for this test...


More information about the ghc-devs mailing list