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