error building gstva plugins with cerbero

Jon Beare jon.beare at meghcomputing.com
Mon Apr 17 16:04:28 UTC 2023


Hello,

I'm building gstreamer 1.22.2 for ubuntu 20.04 with cerbero and I would
like to include the new 'va' plugins.

My recipe is:
docker run -it -u 0 ubuntu:20.04 /bin/bash
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get install git python3-distro
python3-pip wget va-driver-all libva-dev
git clone https://gitlab.freedesktop.org/gstreamer/cerbero
cd cerbero/
git checkout 1.22.2
DEBIAN_FRONTEND=noninteractive ./cerbero-uninstalled bootstrap
./cerbero-uninstalled -v vaapi package gstreamer-1.0

On the last command, I get a build error:
../meson.build:1:0: ERROR: Unknown options: "with_drm, with_encoders,
with_wayland, with_x11"

My questions are:
1) Is building the vaapi variant via cerbero the correct way to build the
new gstva plugins?
2) If so, what are the steps required to successfully run "
./cerbero-uninstalled -v vaapi package gstreamer-1.0"?
3) I ran into several other issues prior to this which led me to installing
the va-driver-all and libva-dev packages. Should cerbero be taking care of
these dependencies?
4) Is there a way to force cerbero to create the tarball even if some files
are missing?

Thank you,
Jon

--- Log ---
-----> Contents of
/cerbero/build/logs/linux_x86_64/gstreamer-vaapi-1.0-configure.log:
Running command ['/cerbero/build/build-tools/bin/meson',
'--prefix=/cerbero/build/dist/linux_x86_64', '--libdir=lib',
'-Ddebug=true', '--default-library=both', '-Doptimization=2',
'--backend=ninja', '--wrap-mode=nodownload',
'-Dpkgconfig.relocatable=true', '--native-file',
'/cerbero/build/sources/linux_x86_64/gstreamer-vaapi-1.0-1.22.2/_builddir/meson-native-file.txt',
'-Dwith_encoders=auto', '-Dwith_drm=auto', '-Dwith_wayland=auto',
'-Dwith_x11=yes', '-Dexamples=disabled'] in
/cerbero/build/sources/linux_x86_64/gstreamer-vaapi-1.0-1.22.2/_builddir
DEPRECATION: c_args in the [properties] section of the machine file is
deprecated, use the [built-in options] section.
DEPRECATION: cpp_args in the [properties] section of the machine file is
deprecated, use the [built-in options] section.
DEPRECATION: objc_args in the [properties] section of the machine file is
deprecated, use the [built-in options] section.
DEPRECATION: objcpp_args in the [properties] section of the machine file is
deprecated, use the [built-in options] section.
DEPRECATION: c_link_args in the [properties] section of the machine file is
deprecated, use the [built-in options] section.
DEPRECATION: cpp_link_args in the [properties] section of the machine file
is deprecated, use the [built-in options] section.
DEPRECATION: objc_link_args in the [properties] section of the machine file
is deprecated, use the [built-in options] section.
DEPRECATION: objcpp_link_args in the [properties] section of the machine
file is deprecated, use the [built-in options] section.
The Meson build system
Version: 1.0.0
Source dir: /cerbero/build/sources/linux_x86_64/gstreamer-vaapi-1.0-1.22.2
Build dir:
/cerbero/build/sources/linux_x86_64/gstreamer-vaapi-1.0-1.22.2/_builddir
Build type: native build

../meson.build:1:0: ERROR: Unknown options: "with_drm, with_encoders,
with_wayland, with_x11"

A full log can be found at
/cerbero/build/sources/linux_x86_64/gstreamer-vaapi-1.0-1.22.2/_builddir/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson
setup [options]` is ambiguous and deprecated.


Recipe 'gstreamer-vaapi-1.0' failed at the build step 'configure'
Command Error: Running ['/cerbero/build/build-tools/bin/meson',
'--prefix=/cerbero/build/dist/linux_x86_64', '--libdir=lib',
'-Ddebug=true', '--default-library=both', '-Doptimization=2',
'--backend=ninja', '--wrap-mode=nodownload',
'-Dpkgconfig.relocatable=true', '--native-file',
'/cerbero/build/sources/linux_x86_64/gstreamer-vaapi-1.0-1.22.2/_builddir/meson-native-file.txt',
'-Dwith_encoders=auto', '-Dwith_drm=auto', '-Dwith_wayland=auto',
'-Dwith_x11=yes', '-Dexamples=disabled'] returned 1
Output in logfile
/cerbero/build/logs/linux_x86_64/gstreamer-vaapi-1.0-configure.log
Select an action to proceed:
[0] Enter the shell
[1] Rebuild the recipe from scratch
[2] Rebuild starting from the failed step
[3] Skip recipe
[4] Abort
3
[(74/78) gstreamer-vaapi-1.0 -> built]
[(75/78) gst-rtsp-server-1.0 -> built]
[(76/78) gst-devtools-1.0 -> built]
[(77/78) gst-editing-services-1.0 -> built]
[(78/78) gst-plugins-rs -> built]
All done!
-----> Creating package for gstreamer-1.0
WARNING: No specific packager available for the distro version
ubuntu_20_04_focal, using generic packager for distro debian
WARNING: Creation of Debian packages is currently broken, please see
https://gitlab.freedesktop.org/gstreamer/cerbero/issues/56
Creating tarballs instead...
***** Error running 'package' command:
The following files required by this package are missing:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230417/a00e44ce/attachment-0001.htm>


More information about the gstreamer-devel mailing list