automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tar2.test


From: Patrick Welche
Subject: tar2.test
Date: Wed, 21 Apr 2004 15:07:59 +0100
User-agent: Mutt/1.5.6i

Not many clues here.. highlights:

gmake MAKE=gmake VERBOSE=-x TESTS=tar2.test check
...
checking how to create a pax tar archive... none
...
config.status: creating Makefile
{ test ! -d tar2-1.0 || { find tar2-1.0 -type d ! -perm -200 -exec chmod u+w {} 
';' && rm -fr tar2-1.0; }; }
mkdir tar2-1.0
find tar2-1.0 -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -444 -exec /bin/ksh 
/usr/src/local/automake/tests/testSubDir/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r tar2-1.0
tardir=tar2-1.0 && false | GZIP=--best gzip -c >tar2-1.0.tar.gz
{ test ! -d tar2-1.0 || { find tar2-1.0 -type d ! -perm -200 -exec chmod u+w {} 
';' && rm -fr tar2-1.0; }; }
case 'tar2-1.0.tar.gz' in \
*.tar.gz*) \
  GZIP=--best gunzip -c tar2-1.0.tar.gz | false ;;\
*.tar.bz2*) \
  bunzip2 -c tar2-1.0.tar.bz2 | false ;;\
*.tar.Z*) \
  uncompress -c tar2-1.0.tar.Z | false ;;\
*.shar.gz*) \
  GZIP=--best gunzip -c tar2-1.0.shar.gz | unshar ;;\
*.zip*) \
  unzip tar2-1.0.zip ;;\
esac
gmake: *** [distcheck] Error 1
FAIL: tar2.test


So, from the above it's hard to no what the Error actually is, however
from the configure point of view, this is quite amusing:

configure:1895: checking how to create a pax tar archive
configure:1904: tar --version
tar: unknown option -- version
usage: tar [-]{crtux}[-befhjlmopqvwzHLOPXZ014578] [archive] [blocksize]
           [-C directory] [-T file] [-s replstr] [file ...]
configure:1907: $? = 1
configure:1904: gnutar --version
./configure[1961]: gnutar: not found
configure:1907: $? = 127
configure:1904: gtar --version
./configure[1961]: gtar: not found
configure:1907: $? = 127
configure:1947: tardir=conftest.dir && eval gtar --format=posix -chf - 
"$tardir" >conftest.tar
./configure: gtar: not found
configure:1950: $? = 127
configure:1947: tardir=conftest.dir && eval pax -L -x pax -w "$tardir" 
>conftest.tar
pax: Unknown -x format: pax
pax: Known -x formats are: bcpio cpio sv4cpio sv4crc tar ustar
...
configure:1947: tardir=conftest.dir && eval find "$tardir" -print | cpio -H pax 
-L -o >conftest.tar
cpio: Unknown -H format: pax
cpio: Known -H formats are: bcpio cpio sv4cpio sv4crc tar ustar
...


and the amusement is that on my system (NetBSD-2.0/i386) tar and cpio are both
hard links to pax with suitable argv[0] & option preprocesssing. The next
thing is it isn't clear to me what a "pax" archive is, given that from
our pax(1) man page:

     -x format
           Specify the output archive format, with the default format being
           ustar...

Cheers,

Patrick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]