Is anyone else having issues with tar or pax complaining about invalid
pledge arguments?
When i try to decompress a tarball i get this output:

$ tar xvzf Downloads/xmem.tar
tar: pledge: Invalid argument

So I tried to update the src tree and rebuild, but i ran into another issue
which  go solved. Now updated the src tree ,cleaned out obj/ as per
the release(8)
man page in -current,  ran  make obj && make build. make obj seems
fine but then make build starts and then fails with this output:

preparing in /usr/src/include/../gnu/lib/libstdc++-v3
sed -e "s/\\(define __GLIBCXX__\\)/\1 20070719/"  -e 's/\(define
_GLIBCXX_HAVE_ATTRIBUTE_VISIBILITY\)/\1 1/'  -e 's/\(define
_GLIBCXX_NAMESPACE_ASSOCIATION_VERSION\)/\1 0/'  <
/usr/src/gnu/lib/libstdc++-v3/../../gcc/libstdc++-v3/include/bits/c++config
> c++config.h &&  sed -e 's/HAVE_/_GLIBCXX_HAVE_/g'  -e
's/PACKAGE/_GLIBCXX_PACKAGE/g'  -e 's/VERSION/_GLIBCXX_VERSION/g'  -e
's/WORDS_/_GLIBCXX_WORDS_/g'  < /usr/src/gnu/lib/libstdc++-v3/config.h
>> c++config.h &&  echo "#endif // _CXXCONFIG_" >> c++config.h
sed -e '/^#pragma/b'  -e
'/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g'
 -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g'  -e 's,^#include
"\(.*\)",#include <bits/\1>,g'  <
/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gthr.h > gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g'  -e
's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g'  <
/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gthr-single.h >
gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g'  -e
's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g'  -e
's/SUPPORTS_WEAK/__GXX_WEAK__/g'  -e
's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g'  <
/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gthr-posix.h >
gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g'  -e
's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g'  -e
's/SUPPORTS_WEAK/__GXX_WEAK__/g'  -e
's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g'  <
/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gthr-posix.h > gthr-tpf.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g'  -e
's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g'  -e
's/SUPPORTS_WEAK/__GXX_WEAK__/g'  -e
's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g'  -e
's,^#include "\(.*\)",#include <bits/\1>,g'  <
/usr/src/gnu/lib/libstdc++-v3/../../gcc/gcc/gthr-posix.h >
gthr-default.h
preparing in /usr/src/include/../gnu/usr.bin/cc/include
copies: crypto ddb dev isofs miscfs msdosfs net netinet netinet6
netmpls net80211 nfs ntfs scsi sys ufs uvm
cd ../sys;  pax -rw -pa -L  `find crypto ddb dev isofs miscfs msdosfs
net netinet netinet6  netmpls net80211 nfs ntfs scsi sys ufs uvm
-follow -type f -name '*.h' '!'  '(' -path 'dev/microcode/*' -or -path
'dev/pci/drm/*' ')'  -print` /usr/include
pax: pledge: Invalid argument
*** Error 1 in include (Makefile:117 'copies')
*** Error 1 in . (Makefile:55 'includes')
*** Error 1 in . (Makefile:87 'do-build')
*** Error 1 in /usr/src (Makefile:74 'build')

As you can see that pax also complains about invalid arguments for
pledge as well:
pax: pledge: Invalid argument
*** Error 1 in include (Makefile:117 'copies')
*** Error 1 in . (Makefile:55 'includes')
*** Error 1 in . (Makefile:87 'do-build')
*** Error 1 in /usr/src (Makefile:74 'build')

I have not updated my -current box for about a week and a half so I
don't know if that has something to with this. Should I update with a
newer snapshot from the mirrors?

Thanks,

Mitch

Reply via email to