vlc-9999 running on this box for well over a year, but fails now to patch with the above patch which has worked since March. Reproducible: Always Calculating dependencies... done! [ebuild R *] media-video/vlc-9999:0/5-8::gentoo USE="X a52 alsa avcodec avformat bidi dbus directfb dts dvbpsi dvd encode ffmpeg flac gcrypt httpd jack jpeg libass libnotify libsamplerate libtar live lua matroska mp3 mpeg musepack ncurses ogg opengl png qt5 samba sdl skins swscale truetype udev vlm vorbis x264 xcb xml xv -aalib (-altivec) (-audioqueue) -bluray -cddb -chromaprint -chromecast -dc1394 -debug (-directx) -dvb (-dxva2) -faad -fdk -fluidsynth -fontconfig -gme -gnutls -gstreamer -ieee1394 -kate -kde -libav -libcaca -libtiger -linsys -lirc (-macosx-eyetv) -macosx-notifications (-macosx-qtkit) -modplug -mtp (-neon) -omxil -opencv -optimisememory -opus -postproc -projectm -pulseaudio -qt4 -rdp -rtsp -run-as-root -schroedinger -sdl-image -sftp -shout -sid -speex -svg -taglib {-test} -theora -tremor -twolame -upnp -v4l -vaapi -vcd -vdpau -vnc -vpx -wma-fixed -x265 -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-video/vlc-9999::gentoo >>> Unpacking source... * Fetching https://git.videolan.org/git/vlc.git ... git fetch https://git.videolan.org/git/vlc.git +HEAD:refs/git-r3/HEAD remote: Counting objects: 116, done. remote: Compressing objects: 100% (116/116), done. remote: Total 116 (delta 101), reused 0 (delta 0) Receiving objects: 100% (116/116), 19.44 KiB | 390.00 KiB/s, done. Resolving deltas: 100% (101/101), completed with 52 local objects. From https://git.videolan.org/git/vlc 8aeb66fe63..bcc7343ceb -> refs/git-r3/HEAD git symbolic-ref refs/git-r3/media-video/vlc/0/__main__ refs/git-r3/HEAD * Checking out https://git.videolan.org/git/vlc.git to /var/tmp/portage/media-video/vlc-9999/work/vlc-9999 ... git checkout --quiet refs/git-r3/HEAD GIT update --> repository: https://git.videolan.org/git/vlc.git updating from commit: 8aeb66fe635763b72fd35c977892ec7897a53984 to commit: bcc7343ceb860681e2cd6704e3831a291d102445 include/vlc_es.h | 4 +- include/vlc_fourcc.h | 7 +- modules/access/decklink.cpp | 2 +- modules/codec/cc.c | 120 ++++++++++++--------------------- modules/codec/substext.h | 2 + modules/demux/mp4/essetup.c | 3 +- modules/demux/mp4/mp4.c | 2 +- modules/demux/subtitle.c | 3 +- modules/demux/ty.c | 9 +-- modules/gui/macosx/UI/AudioEffects.xib | 18 +++-- modules/gui/macosx/UI/CoreDialogs.xib | 39 +++++------ modules/gui/macosx/UI/Open.xib | 83 ++++++++++++----------- modules/gui/macosx/UI/StreamOutput.xib | 477 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++------------------------------------------------------ modules/packetizer/h264.c | 3 +- modules/packetizer/hevc.c | 3 +- modules/packetizer/hxxx_common.c | 7 +- modules/packetizer/hxxx_common.h | 3 +- modules/packetizer/mpegvideo.c | 4 +- modules/packetizer/vc1.c | 7 +- modules/stream_out/chromecast/chromecast_demux.cpp | 4 +- modules/text_renderer/freetype/fonts/android.c | 219 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++----- modules/text_renderer/freetype/freetype.c | 5 +- modules/text_renderer/freetype/platform_fonts.c | 2 +- modules/text_renderer/freetype/platform_fonts.h | 10 +-- src/input/control.c | 2 +- src/input/decoder.c | 9 +-- src/input/demux.c | 17 ++--- src/input/demux.h | 17 ++++- src/input/es_out.c | 31 ++++----- src/input/input_internal.h | 2 +- src/input/stream.h | 47 ++++++++++--- src/linux/getaddrinfo.c | 1 + src/misc/fourcc_list.h | 6 +- 33 files changed, 720 insertions(+), 448 deletions(-) >>> Source unpacked in /var/tmp/portage/media-video/vlc-9999/work >>> Preparing source in /var/tmp/portage/media-video/vlc-9999/work/vlc-9999 ... * Applying vlc-2.1.0-fix-libtremor-libs.patch ... [ ok ] * Applying vlc-9999-libva-1.2.1-compat.patch ... 1 out of 1 hunk FAILED -- saving rejects to file modules/codec/avcodec/vaapi.c.rej [ !! ] * ERROR: media-video/vlc-9999::gentoo failed (prepare phase): * patch -p1 failed with /var/tmp/portage/media-video/vlc-9999/files/vlc-9999-libva-1.2.1-compat.patch * * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 3720: Called default * phase-functions.sh, line 853: Called default_src_prepare * phase-functions.sh, line 918: Called __eapi6_src_prepare * environment, line 523: Called eapply '/var/tmp/portage/media-video/vlc-9999/files/vlc-2.1.0-fix-libtremor-libs.patch' '/var/tmp/portage/media-video/vlc-9999/files/vlc-9999-libva-1.2.1-compat.patch' '/var/tmp/portage/media-video/vlc-9999/files/vlc-2.1.0-TomWij-bisected-PA-broken-underflow.patch' '/var/tmp/portage/media-video/vlc-9999/files/vlc-2.2.4-libav-11.7.patch' * environment, line 1450: Called _eapply_patch '/var/tmp/portage/media-video/vlc-9999/files/vlc-9999-libva-1.2.1-compat.patch' * environment, line 1388: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/media-video/vlc-9999/files/vlc-9999-libva-1.2.1-compat.patch' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=media-video/vlc-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/vlc-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/vlc-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-9999/temp/environment'. * Working directory: '/var/tmp/portage/media-video/vlc-9999/work/vlc-9999' * S: '/var/tmp/portage/media-video/vlc-9999/work/vlc-9999' >>> Failed to emerge media-video/vlc-9999, Log file: >>> '/var/tmp/portage/media-video/vlc-9999/temp/build.log' * Messages for package media-video/vlc-9999: * ERROR: media-video/vlc-9999::gentoo failed (prepare phase): * patch -p1 failed with /var/tmp/portage/media-video/vlc-9999/files/vlc-9999-libva-1.2.1-compat.patch * * Call stack: * ebuild.sh, line 124: Called src_prepare * environment, line 3720: Called default * phase-functions.sh, line 853: Called default_src_prepare * phase-functions.sh, line 918: Called __eapi6_src_prepare * environment, line 523: Called eapply '/var/tmp/portage/media-video/vlc-9999/files/vlc-2.1.0-fix-libtremor-libs.patch' '/var/tmp/portage/media-video/vlc-9999/files/vlc-9999-libva-1.2.1-compat.patch' '/var/tmp/portage/media-video/vlc-9999/files/vlc-2.1.0-TomWij-bisected-PA-broken-underflow.patch' '/var/tmp/portage/media-video/vlc-9999/files/vlc-2.2.4-libav-11.7.patch' * environment, line 1450: Called _eapply_patch '/var/tmp/portage/media-video/vlc-9999/files/vlc-9999-libva-1.2.1-compat.patch' * environment, line 1388: Called __helpers_die 'patch -p1 failed with /var/tmp/portage/media-video/vlc-9999/files/vlc-9999-libva-1.2.1-compat.patch' * isolated-functions.sh, line 117: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=media-video/vlc-9999::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-video/vlc-9999::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-video/vlc-9999/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-video/vlc-9999/temp/environment'. * Working directory: '/var/tmp/portage/media-video/vlc-9999/work/vlc-9999' * S: '/var/tmp/portage/media-video/vlc-9999/work/vlc-9999'
Created attachment 495618 [details] emerge --info
root@Q6600: ~# emerge --info Portage 2.3.10 (python 3.6.1-final-0, default/linux/amd64/13.0/desktop, gcc-6.4.0, glibc-2.25-r5, 4.12.11-ck x86_64) ================================================================= System uname: Linux-4.12.11-ck-x86_64-Intel-R-_Core-TM-2_Extreme_CPU_X9650_@_3.00GHz-with-gentoo-2.4.1 KiB Mem: 8168932 total, 4068264 free KiB Swap: 1060860 total, 1060860 free Timestamp of repository gentoo: Wed, 20 Sep 2017 08:30:01 +0000 Head commit of repository gentoo: 83720d9fdb71818e63df7e3f373a76903496c741 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29 p1.0) 2.29 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.24.2::gentoo dev-lang/python: 2.7.14::gentoo, 3.5.4::gentoo, 3.6.1-r1::gentoo dev-util/cmake: 3.9.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.31.2::gentoo sys-apps/sandbox: 2.10-r4::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.15.1-r1::gentoo sys-devel/binutils: 2.29::gentoo sys-devel/gcc: 4.9.4::gentoo, 6.4.0::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r5::gentoo Repositories: gentoo location: /mnt/ext4_STORAGE/usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: --verbose --progress --exclude-from=/etc/portage/rsync_excludes palemoon location: /mnt/ext4_STORAGE/var/lib/layman/palemoon sync-type: laymansync sync-uri: https://github.com/deuiore/palemoon-overlay.git masters: gentoo priority: 50 torbrowser location: /mnt/ext4_STORAGE/var/lib/layman/torbrowser sync-type: laymansync sync-uri: git://github.com/MeisterP/torbrowser-overlay.git masters: gentoo priority: 50 BZ-overlay location: /mnt/ext4_STORAGE/usr/local/portage masters: gentoo priority: 60 ACCEPT_KEYWORDS="amd64 ~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/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" 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 /etc/terminfo" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/mnt/ext4_STORAGE/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://ftp.lecl.net/pub/gentoo/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/mnt/ext4_STORAGE/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--verbose --progress --exclude-from=/etc/portage/rsync_excludes" 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 acl acpi alsa amd64 branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus device-mapper directfb dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac fortran gdbm gif glamor gpm gtk iconv infinality ipv6 jack jpeg lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp openssl pam pango pcre pdf png policykit ppds python qt5 readline samba sdl seccomp session spell sse sse2 ssh ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode usb uuid vorbis wxwidgets x264 xattr xcb xcomposite xft xml xv xvid zlib" ABI_X86="32 64" ALSA_CARDS="ca0106" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 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" KERNEL="linux" 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" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Please ignore my comment re the patch being in use since March. That's incorrect; it's been there ever since I first emerged vlc-9999
@maintainers: https://github.com/videolan/vlc/commit/c7b1c2b30e9d9d54a3b9214e2546cdf6943f2450 The backend that this patch applied to VLC_VA_BACKEND_XLIB, no longer exists. I suggest we just drop this patch since it is no longer applicable. I'd be happy to do it if there are no objections.
@NP-Hardass: Thank you for confirming the problem. Since apparently no one except me is interested in your offer to fix this thing, is there any way I can do it manually using my local overlay? I suspect not, since a git snapshot is required.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2805b7ce032e415956919a4d7ad98b64d50f54d commit e2805b7ce032e415956919a4d7ad98b64d50f54d Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2017-12-06 23:29:54 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2017-12-07 00:01:54 +0000 media-video/vlc: Sync 9999 with upstream changes Added USE: aom, archive, nfs Dropped USE: audioqueue, directfb, httpd, macosx-eyetv, qt4, sdl Dropped patch: vlc-9999-libva-1.2.1-compat.patch New options: --disable-libplacebo, --disable-spatialaudio, --disable-srt Old options: --disable-gles1, --disable-vda Raised minimum: >=sys-devel/gettext-0.19.8 Closes: https://bugs.gentoo.org/631526 Closes: https://bugs.gentoo.org/556280 Closes: https://bugs.gentoo.org/610762 Package-Manager: Portage-2.3.16, Repoman-2.3.6 media-video/vlc/metadata.xml | 3 ++ media-video/vlc/vlc-9999.ebuild | 63 ++++++++++++++--------------------------- 2 files changed, 25 insertions(+), 41 deletions(-)