>
> https://web.cs.ucla.edu/~eggert/tar-1.35.90.tar.xz
I promised too much: MacPorts only seems to be able download an archive from a
built-in list of servers…
Build was fast, tests took almost as much time as I had to invest in order to
clear the fallen snow away. And there is a failure:
95: extracting even when . and .. are unreadable FAILED (extrac09.at:37)
In testdir I could find this log:
# -*- compilation -*-
95. extrac09.at:34: testing extracting even when . and .. are
unreadable ...
./extrac09.at:37:
mkdir gnu
(cd gnu
TEST_TAR_FORMAT=gnu
export TEST_TAR_FORMAT
TAR_OPTIONS="-H gnu"
export TAR_OPTIONS
rm -rf *
echo "test" > $$
chmod 0 $$
cat $$ > /dev/null 2>&1
result=$?
rm -f $$
test $result -eq 0 && exit 77
mkdir dir
mkdir dir/sub
mkdir dir/sub/extract
genfile --file dir/sub/f
cd dir/sub
tar -cf archive.tar f
chmod a-r . ..
tar -xvf archive.tar -C extract f
status=$?
chmod a+r . ..
cmp f extract/f || status=$?
exit $status
)
--- /dev/null 2026-02-19 10:27:07.000000000 +0100
+++
/opt/local/var/macports/build/gnutar-7f9e2dd8/work/tar-1.35.90/tests/testsuite.dir/at-groups/95/stderr
2026-02-19 10:27:07.000000000 +0100
@@ -0,0 +1,2 @@
+tar: unable to record current working directory: Permission denied
+cmp: extract/f: No such file or directory
./extrac09.at:37: exit code was 2, expected 0
95. extrac09.at:34: 95. extracting even when . and .. are unreadable
(extrac09.at:34): FAILED (extrac09.at:37)
I'll try to find out what went wrong with permissions. Although I have to start
MacPorts with sudo, all the builds and tests are performed by the user
"macports" who has no $HOME.
The testlog was sent by eMail to [email protected] as recommended, 2.2 MB.
--
Greetings
Pete
Atheism is a non prophet organisation.