Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#76615 - [virtualbox] 7.0.4 Recording disabled - Missing depends

Attached to Project: Community Packages
Opened by Avery (nullableVoidPtr) - Friday, 18 November 2022, 07:55 GMT
Last edited by Toolybird (Toolybird) - Saturday, 19 November 2022, 21:14 GMT
Task Type Bug Report
Category Packages
Status Assigned
Assigned To Christian Hesse (eworm)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


The current virtualbox PKGBUILD may build and statically link in an in-tree copy of libvorbis (@ $srcdir/src/libs/libvorbis-1.3.7) within a clean chroot. This library is used for video capture.
VirtualBox 7 had switched from libopus to libvorbis and with 7.0.2, the configure script at the time still had no ability to identify the available system lib using pkgconfig. However, this was recently implemented with revision 97397 in the SVN trunk ( ), and should be used with the next upstream version bump (e.g. 7.0.3) by specifying libvorbis as a runtime dependency.

Additional info:
As of 7.0.2-2, the symbol table for a VirtualBox component contains several libvorbis symbols, indicating static linking:

$ nm -gDC /usr/lib/virtualbox/components/ | grep vorbis
000000000031b330 T vorbis_analysis
000000000031c470 T vorbis_analysis_blockout
000000000031c1b0 T vorbis_analysis_buffer
0000000000316ac0 T vorbis_analysis_headerout
000000000031c130 T vorbis_analysis_init
000000000031c2d0 T vorbis_analysis_wrote
000000000032aef0 T _vorbis_apply_window
This task depends upon

Comment by Avery (nullableVoidPtr) - Friday, 18 November 2022, 07:59 GMT
P.S. I realize now that this is more of a general gripe rather than a bug after submitting it, as it lies in the upstream 7.0.2 tar, though it seems I can't change the task details now. Apologies!
Comment by Toolybird (Toolybird) - Friday, 18 November 2022, 22:02 GMT
7.0.4 is out now and it includes the linked changeset. However, things seem to have changed as I cannot find any evidence of the in-tree copies of libvorbis and libogg being compiled at all. Because of this, I suspect audio recording does not work in our 7.0.4 build. Can you confirm?

If audio recording is supposed to work then we now probably need to pass `--enable-libvorbis' and `--enable-libogg' to configure and adjust the deps.
Comment by Avery (nullableVoidPtr) - Saturday, 19 November 2022, 08:38 GMT
I can confirm that there is no audio option when enabling recordings in a virtual machine with the 7.0.4 build. The above linked changeset appears to not only removed libopus references but also disabled audio recording by default.