For the audience the solution is:
- install
build-essential
but was not useful because it works withgcc-11
yet - install
gcc-12
update-alternatives
forgcc
forgcc-12
Finally was installed in peace VirtualBox 7.1.14 and even 7.1.18 in peace.
BTW, PPA was not used.