D: [iurt_root_command] chroot
Building target platforms: x86_64
Building for target x86_64
Package xorg-server was not found in the pkg-config search path.
Perhaps you should add the directory containing `xorg-server.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xorg-server' not found
Wrote: /home/pterjan/rpmbuild/SRPMS/virtualbox-7.1.8-1.mga10.src.rpm
D: [iurt_root_command] Success!