Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 575934

Summary: media-video/mpv-0.15.0-r1: died in configure phase
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Ben de Groot (RETIRED) <yngwin>
Status: RESOLVED INVALID    
Severity: normal CC: itumaykin+gentoo, maksbotan
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Toralf Förster gentoo-dev 2016-02-28 19:22:28 UTC
t44 ~ # emerge -u mpv

These are the packages that would be merged, in reverse order:

Calculating dependencies  .... done!
[ebuild     U ~] media-video/mpv-0.15.0-r1 [0.9.2-r1] USE="egl* -archive% -cdda% -doc% -gbm% {-test%} -uchardet% -zsh-completion%" 

>>> Verifying ebuild manifests
>>> Running pre-merge checks for media-video/mpv-0.15.0-r1
 * mpv optionally supports many different audio and video formats.
 * You will need to enable support for the desired formats in your
 * libavcodec/libavformat provider:
 *     media-video/ffmpeg or media-video/libav
>>> Emerging (1 of 1) media-video/mpv-0.15.0-r1::gentoo
>>> Failed to emerge media-video/mpv-0.15.0-r1, Log file:
>>>  '/var/log/portage/media-video:mpv-0.15.0-r1:20160228-191734.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.35, 0.10, 0.16
 * Package:    media-video/mpv-0.15.0-r1
 * Repository: gentoo
 * Maintainer: yngwin@gentoo.org maksbotan@gentoo.org,itumaykin+gentoo@gmail.com,media-video@gentoo.org,proxy-maint@gentoo.org
 * USE:        X abi_x86_64 alsa amd64 cli dvb dvd egl elibc_glibc enca encode iconv jpeg kernel_linux libass lua luajit opengl userland_GNU v4l vaapi xscreensaver
 * FEATURES:   preserve-libs sandbox splitdebug userpriv usersandbox
>>> Unpacking source...
>>> Unpacking mpv-0.15.0.tar.gz to /var/tmp/portage/media-video/mpv-0.15.0-r1/work
>>> Unpacking waf-1.8.12 to /var/tmp/portage/media-video/mpv-0.15.0-r1/work
unpack waf-1.8.12: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/media-video/mpv-0.15.0-r1/work
>>> Preparing source in /var/tmp/portage/media-video/mpv-0.15.0-r1/work/mpv-0.15.0 ...
 * Applying mpv-0.15.0-fix-null-pointer-dereference.patch ...
 [ ok ]
 * Applying mpv-0.15.0-fix-vaapi-build-on-older-ffmpeg.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-video/mpv-0.15.0-r1/work/mpv-0.15.0 ...
 * ERROR: media-video/mpv-0.15.0-r1::gentoo failed (configure phase):
 *   Invalid use of 
 * 
 * Call stack:
 *     ebuild.sh, line  133:  Called src_configure
 *   environment, line 3591:  Called waf-utils_src_configure '--confdir=/etc/mpv' '--docdir=/usr/share/doc/mpv-0.15.0-r1' '--disable-gpl3' '--disable-libmpv-shared' '--disable-libmpv-static' '--disable-static-build' '--disable-optimize' '--disable-debug-build' '--disable-html-build' '--disable-pdf-build' '--disable-vf-dlopen-filters' '--disable-zsh-comp' '--disable-test' '--enable-iconv' '--disable-libsmbclient' '--enable-lua' '--lua=luajit' '--enable-libass' '--enable-libass-osd' '--enable-encoding' '--disable-libbluray' '--enable-dvdread' '--enable-dvdnav' '--disable-cdda' '--enable-enca' '--disable-libguess' '--disable-uchardet' '--disable-rubberband' '--disable-lcms2' '--disable-vapoursynth' '--disable-vapoursynth-lazy' '--disable-libarchive' '--enable-libavfilter' '--enable-libavdevice' '--disable-sdl2' '--disable-sdl1' '--disable-oss-audio' '--disable-rsound' '--disable-pulse' '--disable-jack' '--disable-openal' '--enable-alsa' '--disable-coreaudio' '--disable-cocoa' '--disable-drm' '--disable-gbm' '--disable-wayland' '--enable-x11' '--enable-xss' '--enable-xext' '--disable-xv' '--disable-xinerama' '--enable-xrandr' '--enable-gl-x11' '--enable-egl-x11' '--disable-egl-drm' '--disable-gl-wayland' '--disable-vdpau' '--disable-vdpau-gl-x11' '--enable-vaapi' '--enable-vaapi-x11' '--disable-vaapi-wayland' '--enable-vaapi-glx' '--disable-caca' '--enable-jpeg' '--disable-rpi' '--enable-vaapi-hwaccel' '--enable-tv' '--enable-tv-v4l2' '--enable-libv4l2' '--enable-audio-input' '--enable-dvbin' '--enable-vaapi-x-egl' '--disable-build-date'
 *   environment, line 4230:  Called die
 * The specific snippet of code:
 *       [[ -n ${fail} ]] || die "Invalid use of ${ECLASS}";
 * 
 * If you need support, post the output of `emerge --info '=media-video/mpv-0.15.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-video/mpv-0.15.0-r1::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-video:mpv-0.15.0-r1:20160228-191734.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-video/mpv-0.15.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-video/mpv-0.15.0-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-video/mpv-0.15.0-r1/work/mpv-0.15.0'
 * S: '/var/tmp/portage/media-video/mpv-0.15.0-r1/work/mpv-0.15.0'
 * 
 * The following package has failed to build, install, or execute postinst:
 * 
 *  (media-video/mpv-0.15.0-r1:0/0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/log/portage/media-video:mpv-0.15.0-r1:20160228-191734.log'
 * 
t44 ~ # emerge --info mpv
Portage 2.2.26 (python 3.4.3-final-0, hardened/linux/amd64, gcc-4.9.3, glibc-2.21-r2, 4.4.2-hardened x86_64)                                                  
=================================================================                                                                                             
                         System Settings                                                                                                                      
=================================================================                                                                                             
System uname: Linux-4.4.2-hardened-x86_64-Intel-R-_Core-TM-_i5-4300U_CPU_@_1.90GHz-with-gentoo-2.2                                                            
KiB Mem:    12030056 total,   7797852 free                                                                                                                    
KiB Swap:   16777212 total,  16777212 free                                                                                                                    
Timestamp of repository gentoo: Sun, 28 Feb 2016 18:23:18 +0000                                                                                               
sh bash 4.3_p42-r1                                                                                                                                            
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1                                                                                                                         
ccache version 3.1.9 [disabled]                                                                                                                               
app-shells/bash:          4.3_p42-r1::gentoo                                                                                                                  
dev-java/java-config:     2.2.0::gentoo                                                                                                                       
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.4.3-r1::gentoo
dev-util/ccache:          3.1.9-r4::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo
    priority: 1

local
    location: /usr/local/portage
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.6/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="-O2 -pipe -march=native"
DISTDIR="/var/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going=y --nospinner --tree --quiet-build --autounmask --autounmask-unrestricted-atoms --autounmask-write --verbose-conflicts"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync 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="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.netcologne.de/gentoo/ rsync://mirror.netcologne.de/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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"
PORTAGE_TMPDIR="/var/tmp"
USE="X aac acl aes-ni alsa amd64 apache2 avx avx2 berkdb bzip2 cgroups cli consolekit corefonts cracklib crypt cups custom-cflags custom-optimization cxx dbus declarative dnssec dri drmkms dvb dvd ecc encode ffmpeg fontconfig fortran fpm gdbm git gnuplot gpg gtk gui hardened help iconv icu ipv6 isag java jpeg justify kde libvirtd logrotate mad mbox minizip mmx mmxext modules mp3 mp4 mpeg mpg123 mtp multilib mysql mysqli ncurses nls nptl ogg opengl openmp pam pax_kernel pcre pcre16 pie plasma png policykit pwquality qemu qml qt3support qt5 readline rtsp scrypt sddm seccomp session snmp spice sse sse2 sse4 sse4_1 sse4_2 ssh-askpass ssl ssp ssse3 svg system-cairo system-icu system-jpeg system-libvpx system-sqlite tcpd theora thinkpad threads tk tls tor-hardening truetype uml unicode urandom usb usbredir uxa v4l v4l2 vaapi video vorbis vpx widgets wxwidgets x264 xa xattr xcb xkb xml xmp xscreensaver xtpax xvfb xvid xz zenmap zlib" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" QEMU_SOFTMMU_TARGETS="x86_64 i386" QEMU_USER_TARGETS="x86_64 i386" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

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

media-video/mpv-0.9.2-r1::gentoo was built with the following:
USE="X alsa cli dvb dvd enca encode iconv jpeg libass lua luajit opengl v4l vaapi xscreensaver -bluray -bs2b -cdio -doc-pdf -drm -egl -jack -ladspa -lcms -libav (-libcaca) -libguess -libmpv -openal -oss -pulseaudio -pvr -raspberry-pi -rubberband -samba -sdl (-selinux) -vdpau -vf-dlopen -wayland -xinerama -xv" ABI_X86="64"
CFLAGS="-O2 -pipe -march=native -g -ggdb"
CXXFLAGS="-O2 -pipe -march=native -g -ggdb"
Comment 1 Toralf Förster gentoo-dev 2016-02-28 19:31:05 UTC
hardened issue - ebuild is fine