Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677610 - media-plugins/gst-plugins-vpx-1.14.4 with media-libs/libvpx-1.8.0: ext/vpx/gstvpxdec.c:65:15: error: ‘VP8_DEBUG_TXT_FRAME_INFO’ undeclared (first use in this function); did you mean ‘VP9D_GET_FRAME_SIZE’?
Summary: media-plugins/gst-plugins-vpx-1.14.4 with media-libs/libvpx-1.8.0: ext/vpx/gs...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: GStreamer package maintainers
URL: https://gitlab.freedesktop.org/gstrea...
Whiteboard:
Keywords:
: 677646 677688 (view as bug list)
Depends on:
Blocks: libvpx-1.8
  Show dependency tree
 
Reported: 2019-02-10 09:27 UTC by Dennis Schridde
Modified: 2019-02-12 14:03 UTC (History)
14 users (show)

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


Attachments
build.log (build.log,77.44 KB, text/x-log)
2019-02-10 09:27 UTC, Dennis Schridde
Details
Patch to fix gst-plugin-vpx-1.14.4 with vpx-1.8 (gst-plugins-vpx-1.14.4-vpx-1.8.patch,4.26 KB, patch)
2019-02-10 18:24 UTC, Alexandre Ferreira
Details | Diff
ebuild to use the previous patch (gst-plugins-vpx-1.14.4.ebuild,446 bytes, text/plain)
2019-02-10 18:26 UTC, Alexandre Ferreira
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dennis Schridde 2019-02-10 09:27:36 UTC
Created attachment 564418 [details]
build.log

/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:65:15: error: ‘VP8_DEBUG_TXT_FRAME_INFO’ undeclared (first use in this function); did you mean ‘VP9D_GET_FRAME_SIZE’?                                                                                                                                                   
     {C_FLAGS (VP8_DEBUG_TXT_FRAME_INFO),
               ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:56:29: note: in definition of macro ‘C_FLAGS’
 #define C_FLAGS(v) ((guint) v)
                             ^
/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:65:15: note: each undeclared identifier is reported only once for each function it appears in                                                                                                                                                                           
     {C_FLAGS (VP8_DEBUG_TXT_FRAME_INFO),
               ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:56:29: note: in definition of macro ‘C_FLAGS’
 #define C_FLAGS(v) ((guint) v)
                             ^
/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:68:15: error: ‘VP8_DEBUG_TXT_MBLK_MODES’ undeclared (first use in this function)
     {C_FLAGS (VP8_DEBUG_TXT_MBLK_MODES),
               ^~~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:56:29: note: in definition of macro ‘C_FLAGS’
 #define C_FLAGS(v) ((guint) v)
                             ^
/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:71:15: error: ‘VP8_DEBUG_TXT_DC_DIFF’ undeclared (first use in this function)
     {C_FLAGS (VP8_DEBUG_TXT_DC_DIFF),
               ^~~~~~~~~~~~~~~~~~~~~
/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:56:29: note: in definition of macro ‘C_FLAGS’
 #define C_FLAGS(v) ((guint) v)
                             ^
/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:74:15: error: ‘VP8_DEBUG_TXT_RATE_INFO’ undeclared (first use in this function)
     {C_FLAGS (VP8_DEBUG_TXT_RATE_INFO),
               ^~~~~~~~~~~~~~~~~~~~~~~
/tmp/portage/media-plugins/gst-plugins-vpx-1.14.4/work/gst-plugins-good-1.14.4/ext/vpx/gstvpxdec.c:56:29: note: in definition of macro ‘C_FLAGS’
 #define C_FLAGS(v) ((guint) v)
                             ^

Portage 2.3.59 (python 2.7.13-final-42, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-8.2.0, glibc-2.28-r5, 4.20.7-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.7-gentoo-x86_64-AMD_Ryzen_5_2400G_with_Radeon_Vega_Graphics-with-gentoo-2.6
KiB Mem:    15190988 total,   3178828 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sun, 10 Feb 2019 06:15:01 +0000
Head commit of repository gentoo: 73ccf4a6bbacf812ff1d4da6e5e7f30de7d67aa4
Head commit of repository flatpak-overlay: 1fb00e4498c7e6951b50197eb23686e7b8f57024

Timestamp of repository gnome: Thu, 07 Feb 2019 20:44:13 +0000
Head commit of repository gnome: e2c028c6e674227a659a3c15d5bcaacdffc189b6

Timestamp of repository steam-overlay: Sun, 20 Jan 2019 09:03:39 +0000
Head commit of repository steam-overlay: fed99f4de5b759367c04826841d86ef30a346848

Head commit of repository local: 20f2ac14d721e48711d1fdd4dd93fbefdd53b59d

sh bash 5.0_p2
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
ccache version 3.6 [disabled]
app-shells/bash:          5.0_p2::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/ccache:          3.6::gentoo
dev-util/cmake:           3.13.4::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/sandbox:         2.15::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /var/cache/portage/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

flatpak-overlay
    location: /var/db/repos/flatpak-overlay
    sync-type: git
    sync-uri: https://github.com/fosero/flatpak-overlay.git
    masters: gentoo

gnome
    location: /var/db/repos/gnome
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gnome.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

local
    location: /var/cache/portage/local
    sync-type: git
    sync-uri: https://github.com/devurandom/gentoo-overlay.git
    masters: gentoo gnome
    priority: 1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-pipe -O2 -march=znver1"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/grs/systems.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.6/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-pipe -O2 -march=znver1"
DISTDIR="/var/cache/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --nospinner --verbose-conflicts"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildsyspkg cgroup compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j6 -l4"
PKGDIR="/var/cache/portage/packages"
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="/tmp"
USE="7z 7zip X a52 aac aacplus aacs acl acpi activities aio alsa amd64 appindicator appstream archive audit avahi ayatana bash-completion bdplus berkdb bluetooth bluray branding brotli bs2b btrfs bzip2 cairo caps cdda cddb cdio cdr celt chromaprint cjk clang cli clipboard colord colorio conntrack crypt cups cxx d3d9 dbus declarative device-mapper dirac djvu dri drm dts dvb dvd dvdr editorconfig egl elf emboss encode epub exif fam fax fbcon ffmpeg fftw filecaps firefox firewalld fish-completion fits flac fontconfig fontforge fortran fribidi gbm gdbm geoclue geolocation gif git glamor gles gmp google googledrive gpg gps graphicsmagick gstreamer gtk gtk3 gzip harfbuzz hdf5 heif http2 ibus iconv icu idn imlib inotify introspection ipv6 jemalloc jpeg jpeg2k json kde kipi kms kwallet ladspa latex lcms ldap libatomic libidn2 libinput libnotify libproxy libsecret libsoxr libtirpc libvirt lm_sensors lrz lv2 lvm lz4 lzma lzo mad markdown mbim mercurial mjpeg mng mobi modemmanager modplug mp3 mp4 mpeg mplayer mpris mtp multilib mysql ncurses netlink networkmanager nls nptl office ofx ogg openal opencl opencv openexr opengl openh264 openmax openmp opus pam pango pcap pch pcre pcre2 pdf pgo phonon pixman plasma png policykit postscript ppds prison pulseaudio python qml qt5 rar raw readline redfish samba sasl scanner schroedinger sctp sdl sdl2 seccomp semantic-desktop share snappy sparse speech speex spell ssl startup-notification steamruntime stemmer svg systemd systemtap tbb tcpd teamd telepathy tga theora threads tiff timezone truetype tslib udev udisks unicode unwind upnp upnp-av upower usb utempter v4l v4l2 vaapi vdpau vkd3d vorbis vpx vulkan wasm wavpack wayland webchannel webengine webkit webp widgets wmf wps x264 x265 xattr xcb xcomposite xinerama xkb xml xmp xrandr xscreensaver xv xvid xwayland xz yaml zeroconf zeromq zlib zstd" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="*" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="joystick libinput" KERNEL="linux" L10N="de de-DE en en-GB ar fa tr ja ko zh zh-CN zh-TW" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" LLVM_TARGETS="AMDGPU BPF" LUA_TARGET="lua5-2" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 pypy pypy3" QEMU_SOFTMMU_TARGETS="riscv32 riscv64 x86_64" QEMU_USER_TARGETS="riscv32 riscv64" RUBY_TARGETS="ruby24" STEAMGAMES="dirt_rally dont_starve portal source_engine te120 trine2 witcher2" USERLAND="GNU" VIDEO_CARDS="amdgpu virgl" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-libs/libvpx-1.8.0::gentoo was built with the following:
USE="highbitdepth postproc svc threads -doc -static-libs -test" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="avx avx2 mmx sse sse2 sse3 sse4_1 ssse3"


media-plugins/gst-plugins-vpx-1.14.4::gentoo was built with the following:
USE="" ABI_X86="32 (64) (-x32)"
Comment 1 Fabio Coatti 2019-02-10 11:46:59 UTC
Confirmed here, same relevant packages versions
Comment 2 Reto Gantenbein (ganto) 2019-02-10 12:52:39 UTC
I'm also experiencing this build failure. Same flags, same package versions.
Comment 3 Jura 2019-02-10 13:47:37 UTC
same problem
Comment 4 Martin Samek 2019-02-10 13:49:30 UTC
I'm experiencing same type of error.

media-libs/libvpx-1.8.0-r1
media-plugins/gst-plugins-vpx-1.14.4
Comment 5 Mike Lothian 2019-02-10 13:53:47 UTC
Everyone will be leaving having this issue

Adding a comment saying so won't fix the bug any quicker 

Best masking >=1.8 until it's fixed
Comment 6 Mike Auty (RETIRED) gentoo-dev 2019-02-10 14:10:21 UTC
*** Bug 677646 has been marked as a duplicate of this bug. ***
Comment 7 Mike Auty (RETIRED) gentoo-dev 2019-02-10 15:25:13 UTC
Upstream merge request that was accepted appears to be:

https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/merge_requests/108

Since we don't use meson, it requires an eautoreconf (which sadly means /etc/portage/patches isn't enough).
Comment 8 Alexandre Ferreira 2019-02-10 18:24:35 UTC
Created attachment 564598 [details, diff]
Patch to fix gst-plugin-vpx-1.14.4 with vpx-1.8
Comment 9 Alexandre Ferreira 2019-02-10 18:25:51 UTC
The patch applies over configure, config.h.in and the source code so it does not use econfigure. It is a hack but at least allows the use of vpx-1.8
Comment 10 Alexandre Ferreira 2019-02-10 18:26:54 UTC
Created attachment 564602 [details]
ebuild to use the previous patch
Comment 11 Mike Auty (RETIRED) gentoo-dev 2019-02-10 18:36:45 UTC
@alexandre, thanks for the easy-to-apply patch.  The ebuild is already EAPI=6, meaning you could just drop the patch in /etc/portage/patches/media-plugins/gst-plugins-vpx/ and it would get applied.  5:)

If you're going to the effort of providing an additional ebuild for people to use until we get the main package updated, why not just provide one which can take the upstream patch and apply it (using eautoreconf after inheriting it from autotools), since it then wouldn't feel as much of a hack?
Comment 12 Arfrever Frehtes Taifersar Arahesis 2019-02-11 01:42:11 UTC
*** Bug 677688 has been marked as a duplicate of this bug. ***
Comment 13 Larry the Git Cow gentoo-dev 2019-02-12 14:03:00 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c26cfec5df7be990f64d0b53143404928a8af78

commit 9c26cfec5df7be990f64d0b53143404928a8af78
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2019-02-12 14:02:23 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2019-02-12 14:02:23 +0000

    media-plugins/gst-plugins-vpx: fix compatibility with libvpx-1.8
    
    Closes: https://bugs.gentoo.org/677610
    Package-Manager: Portage-2.3.52, Repoman-2.3.12
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>

 .../files/1.14.4-libvpx-1.8-compat.patch           | 65 ++++++++++++++++++++++
 .../gst-plugins-vpx/gst-plugins-vpx-1.14.4.ebuild  |  9 ++-
 2 files changed, 73 insertions(+), 1 deletion(-)