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

Bug 612636

Summary: media-libs/libaom fails to build
Product: Gentoo Linux Reporter: Harald Weiner <timeraider>
Component: Current packagesAssignee: Gentoo Media-video project <media-video>
Status: RESOLVED DUPLICATE    
Severity: normal CC: timeraider
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Harald Weiner 2017-03-14 18:57:37 UTC
Summary:
Installing libaom (AOMedia AV1 library) fails with either 'Unknown option "--disable-spatial-svc"' or 'Unknown option "--enable-spatial-svc"' (depending on the svc use-flag being set or not).

Reproducability: Always

Steps to reproduce:
1.) echo "=media-libs/libaom-9999 **" >> /etc/portage/package.accept_keywords/libaom
2.) emerge -v1 media-libs/libaom


-----------------------------------------------------------------------------
emerge --info
Portage 2.3.3 (python 3.4.5-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.4, glibc-2.23-r3, 4.9.6-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.9.6-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-4770_CPU_@_3.40GHz-with-gentoo-2.3
KiB Mem:    32910876 total,    820964 free
KiB Swap:   36017472 total,  36017472 free
Timestamp of repository gentoo: Mon, 13 Mar 2017 22:00:01 +0000
sh sh
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc[32546] (dcc_set_trace_from_env) ERROR: failed to open logfile ~/.distcc/distcc.log: No such file or directory [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.7.2::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/openrc:          0.23.2::gentoo
sys-apps/sandbox:         2.10-r3::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.4::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.23-r3::gentoo
Repositories:

gentoo
    location: /usr/portage                                                                                                                                                                                                                   
    sync-type: rsync                                                                                                                                                                                                                         
    sync-uri: rsync://bessel.storage.local/portage                                                                                                                                                                                           
    priority: -1000                                                                                                                                                                                                                          
                                                                                                                                                                                                                                             
libreoffice-online                                                                                                                                                                                                                           
    location: /usr/local/libreoffice-online                                                                                                                                                                                                  
    sync-type: git                                                                                                                                                                                                                           
    sync-uri: https://github.com/timeraider4u/libreoffice-online.git                                                                                                                                                                         
    masters: gentoo                                                                                                                                                                                                                          
                                                                                                                                                                                                                                             
local                                                                                                                                                                                                                                        
    location: /usr/local/portage                                                                                                                                                                                                             
    masters: gentoo                                                                                                                                                                                                                          
                                                                                                                                                                                                                                             
maven-overlay                                                                                                                                                                                                                                
    location: /usr/local/maven-overlay                                                                                                                                                                                                       
    sync-type: git                                                                                                                                                                                                                           
    sync-uri: https://github.com/timeraider4u/maven-overlay.git                                                                                                                                                                              
    masters: gentoo

myoverlay
    location: /usr/local/myoverlay
    sync-type: git
    sync-uri: https://github.com/timeraider4u/myoverlay.git
    masters: gentoo

java
    location: /var/lib/layman/java
    masters: gentoo
    priority: 50

science
    location: /usr/local/sci
    sync-type: git
    sync-uri: https://github.com/timeraider4u/sci.git
    masters: gentoo
    priority: 50

seden
    location: /var/lib/layman/seden
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/user/seden.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=haswell -mabm -mrtm -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /var/qmail/alias /var/qmail/control"
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="-march=haswell -mabm -mrtm -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://tux.rainside.sk/gentoo/ ftp://tux.rainside.sk/gentoo/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ rsync://gentoo.mirror.dkm.cz/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j14"
PKGDIR="/usr/portage/packages/haswell"
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="32bit 64bit R X a52 aac aacplus accessibility acl acpi additions akonadi alsa amd64 amr analitza ao archive aspell attica audiofile authlib autofs autoreplace autotools autotrace avahi avx bash-completion berkdb bidi bl blas bluetooth boost branding bs2b bzip2 cairo cdda cddb cdio cdparanoia cdr cg clang cli clucene cmake compat contrast corefonts cracklib crypt cscope css cups curl cvs cxx daap dbus dc1394 debugger declarative desktopglobe device-mapper dga dia diff dirac djbfft djvu dnd dri dts dv dvd dvdr dvipdfm ebook ecc eclipse editor emacs emboss emf emovix enca enchant encode epspdf exif expat extensions extra extras faac faad fam farstream fax fbcon fbcondecor ffmpeg fftw firefox fits flac fluidsynth fontconfig fontforge foomaticdb fortran fpx frei0r fuse gcj gd gdbm gflags gif gimp git glade glamor glew glib gmp gnuplot gpac gpg gpm graphics graphviz groupwise gsl gstreamer gtk gtk3 h323 hdf5 hdri heterogeneous humanities hunspell hyperestraier ical iconv icu id3tag idn ieee1394 ifp imap imlib inkjar inotify ipod ipv6 jabber jadetex java javascript jbig jingle jpeg jpeg2k kate kde kdenlive kino kipi kpathsea kwallet ladspa lame lapack lastfm latex lcms ldap lensfun libass libcaca libffi libnotify libsamplerate libssh2 libtiger libv4l libvisual lightning live lm_sensors lqr lua luatex lyx lzma lzo mad marble matroska md5sum mdnsresponder-compat mecab melt midi minizip mjpeg mktemp mmap mng modplug modules mp3 mp4 mpeg mpi mpi-threads mplayer mtp mule multilib musepack musicbrainz mysql nas natspec ncurses nepomuk netpbm network nfs nls nntp nowlistening npp nptl nscd nsplugin numpy nut nuv nvcontrol ocaml octave ogg okteta okular openal openexr opengl openmp openssl opus oscar pam pango pbs pch pcre pda pdf pdfannotextractor perl phonon php physfs plasma player plotutils plugins png pnm policykit portaudio postscript povray ppds preview-latex printsupport prison profiler pstricks publishers pulseaudio python qalculate qimageblitz qml qscintilla qt3support qt4 qt5 qthelp quesoglc quicktime qwt rar raw rdesktop readline redland rendering reports rle romio rss rtc rtmp rtsp ruby sasl sbcl scanner schroedinger science script sdk sdl sdl-image seccomp secure-delete semantic-desktop sensord session shout sidebar sip sipim skype slp smime smp sndfile snmp solver sound soundtouch sox spacenav speex spell sql sqlite sqlite3 srp ssh ssl ssse3 startup-notification static-analyzer stream streaming subversion superlu svg symlink sync-plugin-portage system-sqlite systemd szip taglib tbb tcl tcpd templates tex4ht tga theora threads thumbnail tidy tiff timezone tinfo tk truetype twolame udev udisks umfpack unicode upower urandom usb utempter uvm v4l valgrind vamp vcd vcdx vde vdpau video vim-syntax vlc vlm vnc vorbis vpx wav wavpack webkit webp webpresence widgets winbind winpopup wma wmf wxwidgets x264 xanim xattr xcb xcomposite xemacs xetex xface xft xine xinerama xml xmp xpm xscreensaver xterm xv xvid xvmc yahoo zeroconf zip zlib" ABI_X86="32 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="kexi words flow plan sheets stage tables krita karbon braindump author" 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 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="evdev" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver pdfimport presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby21" SANE_BACKENDS="net hp" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Harald Weiner 2017-03-17 17:14:52 UTC
By the way, this is the current output of the configure options I see so far:

ebuild /usr/portage/media-libs/libaom/libaom-9999.ebuild prepare && cd /var/tmp/portage/media-libs/libaom-9999/work/libaom-9999 && ./configure --help
 * checking ebuild checksums ;-) ...                                                                                                          [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                        [ ok ]
>>> Unpacking source...
GIT update -->
   repository:               https://aomedia.googlesource.com/aom
   at the commit:            082d4df76017763c6f5115ef613e6ed22cfea5ea
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/aom"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/media-libs/libaom-9999/work/libaom-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/media-libs/libaom-9999/work/libaom-9999
>>> Source unpacked in /var/tmp/portage/media-libs/libaom-9999/work
/var/tmp/portage/media-libs/libaom-9999/work/libaom-9999 /var/tmp/portage/media-libs/libaom-9999/work
/var/tmp/portage/media-libs/libaom-9999/work
>>> Preparing source in /var/tmp/portage/media-libs/libaom-9999/work/libaom-9999 ...
>>> Source prepared.
Usage: configure [options]
Options:

Build options:
  --help                      print this message
  --log=yes|no|FILE           file configure log is written to [config.log]
  --target=TARGET             target platform tuple [generic-gnu]
  --cpu=CPU                   optimize for a specific cpu rather than a family
  --extra-cflags=ECFLAGS      add ECFLAGS to CFLAGS []
  --extra-cxxflags=ECXXFLAGS  add ECXXFLAGS to CXXFLAGS []
  --enable-extra-warnings     emit harmless warnings (always non-fatal)
  --enable-werror             treat warnings as errors, if possible
                              (not available with all compilers)
  --disable-optimizations     turn on/off compiler optimization flags
  --enable-pic                turn on/off Position Independent Code
  --enable-ccache             turn on/off compiler cache
  --enable-debug              enable/disable debug mode
  --enable-gprof              enable/disable gprof profiling instrumentation
  --enable-gcov               enable/disable gcov coverage instrumentation
  --enable-thumb              enable/disable building arm assembly in thumb mode
  --disable-dependency-tracking
                              disable to speed up one-time build

Install options:
  --disable-install-docs      control whether docs are installed
  --disable-install-bins      control whether binaries are installed
  --disable-install-libs      control whether libraries are installed
  --enable-install-srcs       control whether sources are installed


Advanced options:
  --disable-libs                  libraries
  --disable-examples              examples
  --enable-analyzer               analyzer
  --disable-docs                  documentation
  --enable-unit-tests             unit tests
  --enable-decode-perf-tests      build decoder perf tests with unit tests
  --enable-encode-perf-tests      build encoder perf tests with unit tests
  --cpu=CPU                       tune for the specified CPU (ARM: cortex-a8, X86: sse3)
  --libc=PATH                     path to alternate libc
  --size-limit=WxH                max size to allow in the decoder
  --as={yasm|nasm|auto}           use specified assembler [auto, yasm preferred]
  --sdk-path=PATH                 path to root of sdk (android builds only)
  --enable-codec-srcs             in/exclude codec library source code
  --enable-debug-libs             in/exclude debug version of libraries
  --enable-static-msvcrt          use static MSVCRT (VS builds only)
  --enable-aom-highbitdepth       enable 16-bit generic pixel pipeline (used by high bitdepth profiles)
  --enable-lowbitdepth            enable 8-bit optimized pixel pipeline
  --enable-av1                   AV1 codec support
  --enable-internal-stats         output of encoder internal stats for debug, if supported (encoders)
  --enable-postproc               postprocessing
  --disable-multithread           multithreaded encoding and decoding
  --disable-spatial-resampling    spatial sampling (scaling) support
  --enable-realtime-only          enable this option while building for real-time encoding
  --enable-onthefly-bitpacking    enable on-the-fly bitpacking in real-time encoding
  --enable-error-concealment      enable this option to get a decoder which is able to conceal losses
  --enable-coefficient-range-checking 
                                  enable decoder to check if intermediate
                                  transform coefficients are in valid range
  --enable-runtime-cpu-detect     runtime cpu detection
  --enable-shared                 shared library support
  --disable-static                static library support
  --enable-small                  favor smaller size over speed
  --enable-postproc-visualizer    macro block / block level visualizers
  --enable-webm-io                enable input from and output to WebM container
  --enable-libyuv                 enable libyuv
  --enable-accounting             enable bit accounting
  --enable-inspection             enable bitstream inspection

Codecs:
  Codecs can be selectively enabled or disabled individually, or by family:
      --disable-<codec>
  is equivalent to:
      --disable-<codec>-encoder
      --disable-<codec>-decoder

  Codecs available in this distribution:
           av1:    encoder    decoder


NOTES:
    Object files are built at the place where configure is launched.

    All boolean options can be negated. The default value is the opposite
    of that shown above. If the option --disable-foo is listed, then
    the default value for foo is enabled.

Supported targets:
    arm64-darwin-gcc         arm64-linux-gcc
    armv6-linux-rvct         armv6-linux-gcc          armv6-none-rvct
    armv7-android-gcc        armv7-darwin-gcc         armv7-linux-rvct
    armv7-linux-gcc          armv7-none-rvct          armv7-win32-vs12
    armv7-win32-vs14
    armv7s-darwin-gcc
    armv8-linux-gcc
    mips32-linux-gcc
    mips64-linux-gcc
    sparc-solaris-gcc
    x86-android-gcc          x86-darwin8-gcc          x86-darwin8-icc
    x86-darwin9-gcc          x86-darwin9-icc          x86-darwin10-gcc
    x86-darwin11-gcc         x86-darwin12-gcc         x86-darwin13-gcc
    x86-darwin14-gcc         x86-darwin15-gcc         x86-darwin16-gcc
    x86-iphonesimulator-gcc  x86-linux-gcc            x86-linux-icc
    x86-os2-gcc              x86-solaris-gcc          x86-win32-gcc
    x86-win32-vs12           x86-win32-vs14
    x86_64-android-gcc       x86_64-darwin9-gcc       x86_64-darwin10-gcc
    x86_64-darwin11-gcc      x86_64-darwin12-gcc      x86_64-darwin13-gcc
    x86_64-darwin14-gcc      x86_64-darwin15-gcc      x86_64-darwin16-gcc
    x86_64-iphonesimulator-gcc x86_64-linux-gcc         x86_64-linux-icc
    x86_64-solaris-gcc       x86_64-win64-gcc         x86_64-win64-vs12
    x86_64-win64-vs14
    generic-gnu
Comment 2 Markus 2017-04-23 08:23:42 UTC
Duplicate of bug 602824 ?
Comment 3 Harald Weiner 2017-04-23 15:27:15 UTC
@Markus: Yes, you are right! Thank you, seems I have not seen your bug report previously.

*** This bug has been marked as a duplicate of bug 602824 ***