tar not found in fresh install, cant install ports

Hi, I just installed 13.1 on my laptop and when I try to make install from /usr/ports/whatever it fails because of this
Code:
bob@FreeTop /u/p/x/i3 (main) [1]> doas make install clean
===>  License BSD3CLAUSE accepted by the user
===>   i3-4.22 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by i3-4.22 for building
===>  Extracting for i3-4.22
=> SHA256 Checksum OK for i3-4.22.tar.xz.
/bin/sh: /usr/bin/tar: not found
===>  Failed to extract "/usr/ports/distfiles//i3-4.22.tar.xz".
*** Error code 1

my path looks like this:
Code:
echo $PATH
/sbin /bin /usr/sbin /usr/bin /usr/local/sbin /usr/local/bin /home/bob/bin
libarchive, bsdtar and gtar are present

What do I do ?
 
PATH shouldn't be an issue as the executable is started from a fully qualified path.

What does ls -l /usr/bin/tar* output?
 
What did you use to install FreeBSD? Because /usr/bin/tar should exist, it's part of the base OS.
 
I used FreeBSD-13.1-RELEASE-amd64-memstick and followed standard install procedure (most default settings)
 
Being /usr/bin/tar a symlink to /usr/bin/bsdtar something went wrong during installation, maybe. However given this, probably a re-install seems needed to me. Who knows if something other was left behind?
 
Being /usr/bin/tar a symlink to /usr/bin/bsdtar something went wrong during installation, maybe. However given this, probably a re-install seems needed to me. Who knows if something other was left behind?
Yeah, you could simply fix this issue by creating the symlink. But it does beg the question, what else might be missing?
 
Back
Top