Re: CURRENT: can't build 13-STABLE anymore: cp: [vdso]: No such file or directory *** Error

From: FreeBSD User <freebsd_at_walstatt-de.de>
Date: Fri, 01 Apr 2022 16:03:42 UTC
Am Fri, 1 Apr 2022 10:08:11 -0400
Ed Maste <emaste@freebsd.org> schrieb:

> On Fri, 1 Apr 2022 at 10:00, Jens Schweikhardt
> <schweikh@schweikhardt.net> wrote:
> >
> > Hello *,
> > Looks like a semicolon is missing after the "fi".  
> 
> Indeed, and there was a close bracket missing as well. I've put a
> (hopefully) fixed version in review at
> https://reviews.freebsd.org/D34734.
> 

I tried the patch given at the URL above (Phabricator). Patch applied on recent CURRENT and
trying to "make installworld" leaves me with this error, see bewlo. What I'm doing weong here?

Kind reagrds,

O. Hartmann


[...]
>>> Install check world
--------------------------------------------------------------
--- installworld ---
mkdir -p /tmp/install.7P7AV5IW4F
progs=$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp  date echo egrep find grep
id install   ln make mkdir mtree mv pwd_mkdb  rm sed services_mkdb sh sort strip sysctl test
time true uname wc  zic tzsetup  makewhatis; do  if progpath=`env
PATH=/usr/obj/usr/src/amd64.amd64/tmp/bin:/usr/obj/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/usr/src/amd64.amd64/tmp/legacy/usr/libexec::/sbin:/bin:/usr/sbin:/usr/bin
which $prog`; then  echo $progpath;  else  echo "Required tool $prog not found in PATH
($PATH)." >&2;  exit 1;  fi;  done);  if [ -z "" ] ; then  libs=$(ldd -f "%o %p\n" -f "%o
%p\n" $progs 2>/dev/null | sort -u |  while read line; do  $line;  if [ "$1" = "[preloaded]"
|| "$1" = "[vdso]" ]; then  continue;  fi;   if [ "$2 $3" != "not found" ]; then  echo $2;
else  echo "Required library $1 not found." >&2;  exit 1;  fi;  done);  fi;  cp $libs $progs
/tmp/install.7P7AV5IW4F [: missing ] sh: [preloaded]: not found [: missing ] sh: [vdso]: not
found [: missing ] sh: libc.so.7: not found [: missing ] sh: libcap_fileargs.so.1: not found
[: missing ] sh: libcasper.so.1: not found [: missing ]
sh: libedit.so.8: not found
[: missing ]
sh: libformw.so.6: not found
[: missing ]
sh: libm.so.5: not found
[: missing ]
sh: libmd.so.6: not found
[: missing ]
sh: libncursesw.so.9: not found
[: missing ]
sh: libnv.so.0: not found
[: missing ]
sh: libprivatebsddialog.so.0: not found
[: missing ]
sh: libregex.so.1: not found
[: missing ]
sh: libthr.so.3: not found
[: missing ]
sh: libtinfow.so.9: not found
[: missing ]
sh: libutil.so.9: not found
[: missing ]
sh: libxo.so.0: not found
cp: [vdso]: No such file or directory
*** [installworld] Error code 1

make[1]: stopped in /usr/src


-- 
O. Hartmann