poudriere cannot build 12.3R jail on a 13-stable system - cp: [vdso]: No such file or directory

From: void <void_at_f-m.fm>
Date: Tue, 27 Sep 2022 02:29:16 UTC
Hello,

On a very recent (amd64) 13-stable system, I try to make an
(amd64) 12.3R poudriere jail like so

poudriere jail -c -j 123R -J8 -m git+https -v releng/12.3

It fails 'installworld' with the following:

'cp: [vdso]: No such file or directory'

A quick ddg search reveals https://lists.freebsd.org/archives/freebsd-current/2022-April/001736.html concerning building 13-stable. But the fix/workaround is to apply a patch and I don't know if that can be done when using the poudriere mechanism to create the jail.

How should I proceed?

The same host creates 13.1R and 13-stable systems fine. I have not yet tried making a 12.2R or a 12-stable system yet.

The output leading up to it follows

--------------------------------------------------------------
>>> Install check world
--------------------------------------------------------------
--- installworld ---
mkdir -p /tmp/install.ELdRMFKz
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 true uname wc zic tzsetup   makewhatis; do  if progpath=`which $prog`; then  echo $progpath;  else  echo "Required tool $prog not found in PATH." >&2;  exit 1;  fi;  done);  libs=$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort -u |  while read line; do  $line;  if [ "$2 $3" != "not found" ]; then  echo $2;  else  echo "Required library $1 not found." >&2;  exit 1;  fi;  done);  cp $libs $progs /tmp/install.ELdRMFKz
cp: [vdso]: No such file or directory
*** [installworld] Error code 1

make[1]: stopped in /usr/local/poudriere/jails/123R/usr/src
1 error

make[1]: stopped in /usr/local/poudriere/jails/123R/usr/src

make: stopped in /usr/local/poudriere/jails/123R/usr/src
[00:40:22] Error: Failed to 'make installworld'
[00:40:22] Error while creating jail, cleaning up.
[00:40:22] Removing 123R jail... done
[00:40:23] Cleaning 123R data... done

TIA,