Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676032 - media-video/vlc-3.0.6: ‘AV_CODEC_ID_AYUV’ undeclared here (not in a function); did you mean ‘AV_CODEC_ID_CYUV’?
Summary: media-video/vlc-3.0.6: ‘AV_CODEC_ID_AYUV’ undeclared here (not in a function)...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL: https://trac.videolan.org/vlc/ticket/...
Whiteboard:
Keywords:
Depends on:
Blocks: 678702
  Show dependency tree
 
Reported: 2019-01-22 10:57 UTC by Andrey Grozin
Modified: 2019-02-27 22:20 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey Grozin gentoo-dev 2019-01-22 10:57:11 UTC
../doltcompile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I..  -DMODULE_STRING=\"$(p="demux/xiph_metadat
a.lo"; p="${p##*/}"; p="${p#lib}"; p="${p%_plugin*}"; p=$(echo "$p"|sed 's/-/_/g'); p="${p%.lo}"; echo "$p
")\" -D__PLUGIN__  -I./access -I./codec -I../include -I../include   -O2 -march=native -pipe  -Wall -Wextra
 -Wsign-compare -Wundef -Wpointer-arith -Wvolatile-register-var -Wformat -Wformat-security -Wbad-function-
cast -Wwrite-strings -Wmissing-prototypes -Werror-implicit-function-declaration -Winit-self -Wlogical-op -
Wshadow=local -fvisibility=hidden -c -o demux/xiph_metadata.lo demux/xiph_metadata.c
codec/avcodec/encoder.c: In function ‘InitVideoEnc’:
codec/avcodec/encoder.c:584:37: warning: assignment discards ‘const’ qualifier from pointer target type [-
Wdiscarded-qualifiers]
             p_context->intra_matrix = mpeg4_default_intra_matrix;
                                     ^
codec/avcodec/encoder.c:585:37: warning: assignment discards ‘const’ qualifier from pointer target type [-
Wdiscarded-qualifiers]
             p_context->inter_matrix = mpeg4_default_non_intra_matrix;
                                     ^
codec/avcodec/fourcc.c:185:23: error: ‘AV_CODEC_ID_AYUV’ undeclared here (not in a function); did you mean ‘AV_CODEC_ID_CYUV’?
     { VLC_CODEC_VUYA, AV_CODEC_ID_AYUV },
                       ^~~~~~~~~~~~~~~~
                       AV_CODEC_ID_CYUV
codec/avcodec/fourcc.c:185:5: warning: missing initializer for field ‘i_codec’ of ‘const struct vlc_avcodec_fourcc’ [-Wmissing-field-initializers]
     { VLC_CODEC_VUYA, AV_CODEC_ID_AYUV },
     ^
codec/avcodec/fourcc.c:42:14: note: ‘i_codec’ declared here
     unsigned i_codec;
              ^~~~~~~
<skipped>
make[4]: *** [Makefile:21171: codec/avcodec/libavcodec_common_la-fourcc.lo] Error 1

Пароль: 
bilbo ~ # l '/var/log/portage/media-video:vlc-3.0.6:20190122-103434.log'
bilbo ~ # 
bilbo ~ # emerge --info '=media-video/vlc-3.0.6::gentoo'
Portage 2.3.57 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.2.0, glibc-2.28-r5, 4.20.0-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-gentoo-2.6
KiB Mem:     8022456 total,   4405068 free
KiB Swap:   16777212 total,  16776948 free
Timestamp of repository gentoo: Tue, 22 Jan 2019 09:30:01 +0000
Head commit of repository gentoo: 38a9f5f27d9bb26b08e6c81bba68b1241a303e1b
sh bash 5.0_p2
ld GNU ld (Gentoo 2.30 p5) 2.30.0
app-shells/bash:          5.0_p2::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/cmake:           3.13.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.40.3::gentoo
sys-apps/sandbox:         2.15::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.30-r4::gentoo, 2.31.1-r3::gentoo
sys-devel/gcc:            7.3.0-r6::gentoo, 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: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts: 

grozin
    location: /usr/local/portage
    masters: gentoo
    priority: 60

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/distfiles"
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 -march=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j12"
PKGDIR="/usr/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="/var/tmp"
USE="X a52 aac acpi activities alsa amd64 bash-completion berkdb blas bluetooth boehm-gc branding bzip2 cairo cli consolekit crypt cups curl cxx dbus declarative dri emacs encode exif fam fftw flac fortran gdbm gif glamor gmp gpm gsl gtk iconv imagemagick jpeg kde kipi kwallet lapack latex lcms ldap libav libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf phonon plasma png policykit postscript ppds python qml qt5 readline sdl seccomp smp sound spell ssl startup-notification svg tcl tcpd tiff tk truetype udev udisks umfpack unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" 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 ssse3" ELIBC="glibc" 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" INPUT_DEVICES="evdev synaptic" KERNEL="linux" L10N="ru en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 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 python3_7" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

bilbo ~ # emerge -pqv '=media-video/vlc-3.0.6::gentoo'
[ebuild     U ] media-video/vlc-3.0.6 [3.0.4] USE="X a52 alsa dbus dvbpsi encode ffmpeg flac gcrypt jpeg libav libnotify libsamplerate mad%* mp3 mpeg ncurses ogg png qt5 ssl svg truetype udev vorbis x264 xml -10bit% (-altivec) -aom -archive -aribsub -bidi -bluray -cddb -chromaprint -chromecast -dav1d% -dc1394 -debug (-directx) -dts -dvd -faad -fdk -fluidsynth -fontconfig -gme -gnome-keyring -gstreamer -ieee1394 -jack -kate -libass -libcaca -libtar -libtiger -linsys -lirc -live -lua -macosx-notifications (-macosx-qtkit) -matroska -modplug -mtp -musepack (-neon) -nfs -omxil -opencv -optimisememory -opus -postproc -projectm -pulseaudio -rdp -run-as-root -samba -sdl-image -sftp -shout -sid -skins -soxr -speex -srt -taglib -test -theora -tremor -twolame -upnp -v4l -vaapi -vdpau -vnc -vpx -wayland -wma-fixed -x265 -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" 

bilbo ~ # eix media-video/libav
[I] media-video/libav
     Available versions:  12.3(0/12)^d [M](~)13_pre20171219(0/13)^d **9999(0/13)^d {X aac alsa altivec amr armv5te armv6 armv6t2 armvfp bs2b +bzip2 cdio cpudetection custom-cflags debug doc +encode faac fdk fontconfig frei0r +gpl gsm +hardcoded-tables ieee1394 jack jpeg2k libressl mp3 neon +network nvidia openssl opus oss pic pulseaudio rtmp sdl speex ssl static-libs test theora threads tools truetype twolame v4l vaapi vdpau vorbis vpx wavpack webp x264 x265 xvid +zlib ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32" CPU_FLAGS_X86="3dnow 3dnowext avx avx2 fma3 fma4 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 xop"}
     Installed versions:  12.3(0/12)(07:55:04 AM 12/28/2018)(X aac alsa bzip2 encode gpl hardcoded-tables mp3 network sdl ssl truetype vorbis x264 xvid zlib -altivec -amr -armv5te -armv6 -armv6t2 -armvfp -bs2b -cdio -cpudetection -custom-cflags -debug -doc -faac -fdk -fontconfig -frei0r -gsm -ieee1394 -jack -jpeg2k -libressl -neon -nvidia -openssl -opus -oss -pic -pulseaudio -rtmp -speex -static-libs -test -theora -threads -tools -twolame -v4l -vaapi -vdpau -vpx -wavpack -webp -x265 ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="avx avx2 fma3 mmx mmxext sse sse2 sse3 sse4_1 sse4_2 ssse3 -3dnow -3dnowext -fma4 -xop")
     Homepage:            https://libav.org/
     Description:         Complete solution to record, convert and stream audio and video
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2019-01-28 13:42:10 UTC
live ebuild 3.0.9999 also still fails. maybe we should mask libav support here.
Comment 2 Andreas Sturmlechner gentoo-dev 2019-01-28 18:12:05 UTC
Sure, we did it in the past, we can do that again.
Comment 3 Larry the Git Cow gentoo-dev 2019-02-27 22:20:47 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ecc010a8cf7a9e8a22e8ca24e927102bb2c433b

commit 2ecc010a8cf7a9e8a22e8ca24e927102bb2c433b
Author:     Thomas Raschbacher <lordvan@gentoo.org>
AuthorDate: 2019-02-27 22:20:05 +0000
Commit:     Thomas Raschbacher <lordvan@gentoo.org>
CommitDate: 2019-02-27 22:20:05 +0000

    media-video/vlc: fix libav compile bug
    
    Closes: https://bugs.gentoo.org/show_bug.cgi?id=676032
    Package-Manager: Portage-2.3.62, Repoman-2.3.12
    Signed-off-by: Thomas Raschbacher <lordvan@gentoo.org>

 media-video/vlc/files/vlc-3.0.6-libav.patch | 12 ++++++++++++
 media-video/vlc/vlc-3.0.6-r1.ebuild         |  1 +
 2 files changed, 13 insertions(+)