Medialibrary should be available in debian job
According to the job failure there https://code.videolan.org/alexandre-janniaux/vlc/-/jobs/1259317
It seems that medialibrary is not available in the debian job. It's probably a good idea to enable it somehow and ensure it is picked at configure time.
It would also enable the medialibrary module testing code.