Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921293 - media-plugins/gst-plugins-vaapi-1.20.6 fails to build - error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params`
Summary: media-plugins/gst-plugins-vaapi-1.20.6 fails to build - error: ‘GstH265SPS’ {...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-03 15:26 UTC by saarnio
Modified: 2024-04-01 15:30 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log of media-plugins/gst-plugins-vaapi-1.20.6 (build.log,46.57 KB, text/x-log)
2024-01-03 15:26 UTC, saarnio
Details

Note You need to log in before you can comment on or make changes to this bug.
Description saarnio 2024-01-03 15:26:14 UTC
Created attachment 881373 [details]
Build log of media-plugins/gst-plugins-vaapi-1.20.6

Output of emerge --info media-plugins/gst-plugins-vaapi

Portage 3.0.59 (python 3.11.7-final-0, default/linux/amd64/17.1/desktop/plasma/systemd/merged-usr, gcc-13, glibc-2.37-r7, 6.6.9-gentoo-dist x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.6.9-gentoo-dist-x86_64-AMD_Ryzen_7_7800X3D_8-Core_Processor-with-glibc2.37
KiB Mem:    65030932 total,  56052592 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 03 Jan 2024 14:30:01 +0000
Head commit of repository gentoo: a6f3a09d2d960d8b53d28d89c54d2d0f6bbea688
Head commit of repository brave-overlay: b7874f964904ea054cf36dbd7e956af7cce3867d

Timestamp of repository guru: Mon, 01 Jan 2024 14:46:48 +0000
Head commit of repository guru: 7b7eadfe869dc4b446c6f0170b8e5737e3a5faae

Timestamp of repository steam-overlay: Mon, 01 Jan 2024 00:16:53 +0000
Head commit of repository steam-overlay: c7b0a4c499322c5feed8ad20e37266c1e1cede40

sh dash 0.5.12
ld GNU ld (Gentoo 2.41 p2) 2.41.0
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r1::gentoo
dev-lang/python:           3.11.7::gentoo, 3.12.1::gentoo
dev-lang/rust-bin:         1.71.1::gentoo
dev-util/cmake:            3.27.7::gentoo
dev-util/meson:            1.2.3::gentoo
sys-apps/baselayout:       2.14-r1::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-apps/systemd:          254.7::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.41-r2::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/llvm:            16.0.6::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 3
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

brave-overlay
    location: /var/db/repos/brave-overlay
    sync-type: git
    sync-uri: 
    masters: gentoo
    volatile: False

guru
    location: /var/db/repos/guru
    sync-type: git
    sync-uri: 
    masters: gentoo
    volatile: False

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: 
    masters: gentoo
    volatile: False

Binary Repositories:

gentoobinhost
    priority: 1
    sync-uri: 

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build --with-bdeps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance binpkg-request-signature buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=native -O2 -pipe"
GENTOO_MIRRORS=""
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j16 -l16"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aac acl acpi activities alsa amd64 apparmor audit bash-completion bluetooth branding bzip2 cairo cdda cdr cli crypt cryptsetup cups dbus declarative dist-kernel dri dts dvd dvdr encode exif flac flatpak fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg kde kwallet lcms libnotify libtirpc mad mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opencl opengl openmp opus pam pango pcre pdf pipewire plasma png policykit ppds pulseaudio qml qt5 readline screencast sdl seccomp semantic-desktop sound spell ssl startup-notification svg systemd test-rust tiff truetype udev udisks unicode upower usb vaapi vorbis vulkan wayland webp widgets wxwidgets x264 x265 xattr xcb xft xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 aes avx avx2 avx512bw avx512cd avx512dq avx512f avx512vbmi avx512vl f16c fma3 pclmul popcnt rdrand sha sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 saarnio 2024-01-03 15:29:57 UTC
How to reproduce:

emerge -v media-plugins/gst-plugins-vaapi
Comment 2 immolo 2024-01-03 15:30:29 UTC
FAILED: gst-libs/gst/vaapi/libgstlibvaapi-1.0.a.p/gstvaapidecoder_h265.c.o 
x86_64-pc-linux-gnu-gcc -Igst-libs/gst/vaapi/libgstlibvaapi-1.0.a.p -Igst-libs/gst/vaapi -I../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi -I. -I../gstreamer-vaapi-1.20.6 -Igst-libs -I../gstreamer-vaapi-1.20.6/gst-libs -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/orc-0.4 -I/usr/lib64/gstreamer-1.0/include -I/usr/include/libdrm -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -fno-strict-aliasing -march=native -O2 -pipe -fPIC -pthread -DHAVE_CONFIG_H -DGST_USE_UNSTABLE_API '-DGST_VAAPI_VERSION_ID="1.20.6"' -MD -MQ gst-libs/gst/vaapi/libgstlibvaapi-1.0.a.p/gstvaapidecoder_h265.c.o -MF gst-libs/gst/vaapi/libgstlibvaapi-1.0.a.p/gstvaapidecoder_h265.c.o.d -o gst-libs/gst/vaapi/libgstlibvaapi-1.0.a.p/gstvaapidecoder_h265.c.o -c ../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c: In function ‘fill_picture’:
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2049:53: error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params’; did you mean ‘sps_extension_params’?
 2049 |     COPY_REXT_BFM (range_extension_pic_fields, sps->sps_extnsion_params,
      |                                                     ^~~~~~~~~~~~~~~~~~~
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2047:44: note: in definition of macro ‘COPY_REXT_BFM’
 2047 |                 pic_rext_param->a.bits.f = s.f
      |                                            ^
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2051:53: error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params’; did you mean ‘sps_extension_params’?
 2051 |     COPY_REXT_BFM (range_extension_pic_fields, sps->sps_extnsion_params,
      |                                                     ^~~~~~~~~~~~~~~~~~~
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2047:44: note: in definition of macro ‘COPY_REXT_BFM’
 2047 |                 pic_rext_param->a.bits.f = s.f
      |                                            ^
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2053:53: error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params’; did you mean ‘sps_extension_params’?
 2053 |     COPY_REXT_BFM (range_extension_pic_fields, sps->sps_extnsion_params,
      |                                                     ^~~~~~~~~~~~~~~~~~~
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2047:44: note: in definition of macro ‘COPY_REXT_BFM’
 2047 |                 pic_rext_param->a.bits.f = s.f
      |                                            ^
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2055:53: error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params’; did you mean ‘sps_extension_params’?
 2055 |     COPY_REXT_BFM (range_extension_pic_fields, sps->sps_extnsion_params,
      |                                                     ^~~~~~~~~~~~~~~~~~~
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2047:44: note: in definition of macro ‘COPY_REXT_BFM’
 2047 |                 pic_rext_param->a.bits.f = s.f
      |                                            ^
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2057:53: error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params’; did you mean ‘sps_extension_params’?
 2057 |     COPY_REXT_BFM (range_extension_pic_fields, sps->sps_extnsion_params,
      |                                                     ^~~~~~~~~~~~~~~~~~~
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2047:44: note: in definition of macro ‘COPY_REXT_BFM’
 2047 |                 pic_rext_param->a.bits.f = s.f
      |                                            ^
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2059:53: error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params’; did you mean ‘sps_extension_params’?
 2059 |     COPY_REXT_BFM (range_extension_pic_fields, sps->sps_extnsion_params,
      |                                                     ^~~~~~~~~~~~~~~~~~~
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2047:44: note: in definition of macro ‘COPY_REXT_BFM’
 2047 |                 pic_rext_param->a.bits.f = s.f
      |                                            ^
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2061:53: error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params’; did you mean ‘sps_extension_params’?
 2061 |     COPY_REXT_BFM (range_extension_pic_fields, sps->sps_extnsion_params,
      |                                                     ^~~~~~~~~~~~~~~~~~~
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2047:44: note: in definition of macro ‘COPY_REXT_BFM’
 2047 |                 pic_rext_param->a.bits.f = s.f
      |                                            ^
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2063:53: error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params’; did you mean ‘sps_extension_params’?
 2063 |     COPY_REXT_BFM (range_extension_pic_fields, sps->sps_extnsion_params,
      |                                                     ^~~~~~~~~~~~~~~~~~~
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2047:44: note: in definition of macro ‘COPY_REXT_BFM’
 2047 |                 pic_rext_param->a.bits.f = s.f
      |                                            ^
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2065:53: error: ‘GstH265SPS’ {aka ‘struct _GstH265SPS’} has no member named ‘sps_extnsion_params’; did you mean ‘sps_extension_params’?
 2065 |     COPY_REXT_BFM (range_extension_pic_fields, sps->sps_extnsion_params,
      |                                                     ^~~~~~~~~~~~~~~~~~~
../gstreamer-vaapi-1.20.6/gst-libs/gst/vaapi/gstvaapidecoder_h265.c:2047:44: note: in definition of macro ‘COPY_REXT_BFM’
 2047 |                 pic_rext_param->a.bits.f = s.f
      |                                            ^
Comment 3 jms 2024-02-20 13:11:02 UTC
have this error too
Comment 4 Mart Raudsepp gentoo-dev 2024-04-01 15:30:14 UTC
This happened because installed gst-plugins-bad was at version 1.22.3 already, and it changed the codecparsers library a bit, but you were trying to compile 1.20 version of gst-plugins-vaapi, instead of 1.22 for whatever reason (maybe the bump was delayed, or you package.accept_keywords that, but not gst-plugins-vaapi).

While we could tighten the requirements to the same series, I think I'll leave it be and please just don't mix keywords like that.

Though really why I am inclined to leave it be is because 1.22 is going to go stable in a bit, and in 1.24 the general VA-API gstreamer plugins migrate to new ones in gst-plugins-bad[vaapi] instead and gst-plugins-vaapi will be last-rited soon after anyways.