Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473442 - media-tv/xbmc-12.2-r1 - configure: error: You need either libswresample or libavresample.
Summary: media-tv/xbmc-12.2-r1 - configure: error: You need either libswresample or li...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Xbox project
URL: http://forum.xbmc.org/showthread.php?...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-16 01:09 UTC by Alexandre
Modified: 2015-02-17 00:16 UTC (History)
5 users (show)

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


Attachments
Build log. (build.log,27.15 KB, text/plain)
2013-06-16 12:43 UTC, Alexandre
Details
Config log. (config.log,141.52 KB, text/plain)
2013-06-16 12:46 UTC, Alexandre
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandre 2013-06-16 01:09:17 UTC
Xbmc fail to compile (here) with libav if external libraries are enabled.

configure: error: You need either libswresample or libavresample.

Post nº7 is related.
http://forum.xbmc.org/showthread.php?tid=158111&pid=1367588

Thank you.

Reproducible: Always




Portage 2.1.12.4 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.9.6-gentoo x86_64)
=================================================================
System uname: Linux-3.9.6-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T3400_@_2.16GHz-with-gentoo-2.2
KiB Mem:     2821076 total,    296364 free
KiB Swap:    1048572 total,   1037520 free
Timestamp of tree: Sat, 15 Jun 2013 04:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5, 3.3.2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.11.1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.2
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo privacychain
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer -g0"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -march=native -pipe -fomit-frame-pointer -g0"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs candy ccache config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" ftp://gentoo.c3sl.ufpr.br/gentoo/ http://gentoo.c3sl.ufpr.br/ ftp://ftp.las.ic.unicamp.br/pub/gentoo/ http://www.las.ic.unicamp.br/pub/gentoo/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ http://ftp.ucsb.edu/pub/mirrors/linux/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 --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage/"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 c++0x cairo caps cdda cdr cli consolekit cracklib crypt css cups custom-cflags custom-optimization cxx dbus declarative dga dri dts dvd dvdr emboss encode exif fam ffmpeg firefox flac gdbm gif gnutls gpm gstreamer gtk iconv infinality jpeg kde kipi lame lcms libnotify lzma lzo mad minimal mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses networkmanager nls nptl nvidia offensive ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 quicktime readline samba sdl session spell sse sse2 ssl ssse3 startup-notification svg syslog tcpd theora threads tiff truetype udev udisks unicode upower usb v4l vaapi vdpau vim-syntax vorbis vpx wavpack wxwidgets x264 xcb xcomposite xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel loopback" 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" 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 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" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" RUBY_TARGETS="ruby19 ruby18" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2013-06-16 12:36:53 UTC
build log and (most likely) config.log are the minimum to consider this a bug report.
Comment 2 Alexandre 2013-06-16 12:43:45 UTC
Created attachment 351114 [details]
Build log.
Comment 3 Alexandre 2013-06-16 12:46:16 UTC
Created attachment 351116 [details]
Config log.
Comment 4 Alexandre 2013-06-16 12:48:41 UTC
Sorry, I forgot to attach.

Xbmc compiled here with --disable-external-libraries.

Thank you!!!
Comment 5 Rafał Mużyło 2013-06-16 17:55:48 UTC
(In reply to Alexandre from comment #4)
> Xbmc compiled here with --disable-external-libraries.
> 
:roll: :sigh:

Which useflags were set on whatever virtual/ffmpeg points to ?
Comment 6 Alexandre 2013-06-16 18:14:19 UTC
virtual/ffmpeg-0.10.3  USE="X encode mp3 sdl theora threads truetype vaapi vdpau x264 -gsm -jpeg2k -speex"
Comment 7 Rafał Mużyło 2013-06-16 20:45:14 UTC
...I said "what it points to" (though virtual might have a use for a new useflag). That means on libav/ffmpeg, not the virtual itself.
Comment 8 Alexandre 2013-06-17 01:21:11 UTC
media-video/libav-0.8.7  USE="X aac alsa bzip2 custom-cflags encode gpl hardcoded-tables mmx mmxext mp3 pulseaudio qt-faststart sdl ssl ssse3 theora threads truetype v4l vaapi vdpau vorbis vpx x264 xvid zlib -3dnow -3dnowext (-altivec) -amr -avx -bindist -cdio -cpudetection -debug -dirac -doc -faac -frei0r -gsm -ieee1394 -jack -jpeg2k (-neon) -network -openssl -oss -pic -rtmp -schroedinger -speex -static-libs {-test} (-vis)"

media-tv/xbmc-12.2-r1  USE="X alsa caps css opengl projectm pulseaudio rsxs samba sdl sse sse2 udev usb vaapi vdpau xrandr -airplay (-altivec) -avahi -bluetooth -bluray -cec -debug -gles -goom -java -joystick -midi -mysql (-neon) -nfs -profile -pvr -rtmp -sftp -upnp -webserver" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"
Comment 9 Alexandre 2013-06-17 01:37:35 UTC
Just to notice, I tried libav with -custom-cflags early, didn't help.
Comment 10 Rafał Mużyło 2013-06-17 21:43:56 UTC
This has probably been fixed in the meanwhile (without revbump).
For libav, media-libs/libpostproc dep was missing.
Comment 11 Tomáš Chvátal (RETIRED) gentoo-dev 2013-06-18 17:13:00 UTC
It won't build with libav as of now.
Only version building with libav is 12.1-r1 which also has set deps on libav correctly.
Comment 12 Tomáš Chvátal (RETIRED) gentoo-dev 2013-06-18 17:13:51 UTC
To be more accurate the problem with configure disappear with libav 9 and it still fails in compile a bit.
Comment 13 SpanKY gentoo-dev 2015-02-17 00:16:46 UTC
newer xbmc has new libav patches, and kodi has so far dropped libav.  so it's kind of a moot point.