The PKGBUILD for this package does not follow best practices as outlined in ArchWiki. Section 4.1 of the ArchWiki page on PKGBUILD:
https://wiki.archlinux.org/title/PKGBUILD#depends
4.1 depends
An array of packages that must be installed for the software to build and run. Dependencies defined inside the package() function are only required to run the software.
Since the virtualbox package is not required to build the package, the depends line should be moved inside the package() function.
Pinned Comments
eworm commented on 2025-10-28 16:29 (UTC)
Please build in a clean environment, and the version dependency is not an issue: https://wiki.archlinux.org/title/DeveloperWiki:Building_in_a_clean_chroot