Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 240776 - media-libs/gegl-0.0.20 doesn't honour USE=-ffmpeg
Summary: media-libs/gegl-0.0.20 doesn't honour USE=-ffmpeg
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 240433
  Show dependency tree
 
Reported: 2008-10-09 21:15 UTC by Ben de Groot (RETIRED)
Modified: 2008-10-13 10:34 UTC (History)
2 users (show)

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


Attachments
buildlog (media-libs:gegl-0.0.20:20081009-204832.log,128.02 KB, text/plain)
2008-10-09 21:20 UTC, Ben de Groot (RETIRED)
Details
gegl-0.0.20.ebuild (gegl-0.0.20.ebuild,2.34 KB, text/plain)
2008-10-09 23:01 UTC, Gergan Penkov
Details
gegl-20-configure-ac.patch (gegl-20-configure-ac.patch,12.95 KB, patch)
2008-10-09 23:02 UTC, Gergan Penkov
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ben de Groot (RETIRED) gentoo-dev 2008-10-09 21:15:56 UTC
media-libs/gegl-0.0.20 fails for me on ff.load.c :

ff-load.c: In function ‘prepare’:
ff-load.c:286: error: ‘AVCodecContext’ has no member named ‘error_resilience’
make[3]: *** [ff_load_la-ff-load.lo] Error 1

I use a recent ffmpeg development version (rev 15588 from svn), so I wasn't completely surprised by this. I then disabled the ffmpeg useflag for gegl in /etc/portage/package.use, but it fails with the same error again. Disabling the ffmpeg useflag should mean this doesn't get compiled.

A new ffmpeg snapshot should hit the tree soon, so this problem needs to be solved, or more recent ffmpeg versions should be blocked.
Comment 1 Ben de Groot (RETIRED) gentoo-dev 2008-10-09 21:20:11 UTC
Created attachment 167804 [details]
buildlog

Attaching my buildlog. Here is my emerge --info:

Portage 2.2_rc11 (default/linux/x86/2008.0/desktop, gcc-4.3.2, glibc-2.8_p20080602-r0, 2.6.26.5 i686)
=================================================================
System uname: Linux-2.6.26.5-i686-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-glibc2.0
Timestamp of tree: Thu, 09 Oct 2008 20:18:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.3.0-r1
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon64-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 -fomit-frame-pointer -ftree-vectorize -w -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=athlon64-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 -fomit-frame-pointer -ftree-vectorize -w -pipe"
DISTDIR="/var/distfiles"
FEATURES="autoaddcvs collision-protect cvs distlocks noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_GB en_US en"
MAKEOPTS="-j3 -s"
PKGDIR="/var/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/repos/sunrise /var/repos/mpd /home/ben/overlay/berkano/trunk /home/ben/overlay/lxde /var/repos/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi aften afterimage alsa amr amrnb amrwb aotuv asf ass avi berkdb bluetooth branding browserplugin bzip2 cairo caps cdda cddb cdparanoia cdr cli cracklib crypt curl dbus dirac divx dlloader dri dts dv dvd dvdnav dvdr dvdread enca encode exif expat fam fastcgi fbcon flac fontconfig fortran ftp fuse gdbm gif glep glib glibc-compat20 glibc-omitfp glitz gnutls gpg gpgme gpm hal html icecast iconv icq icu id3 id3tag idn image imagemagick innodb jabber javascript jpeg kde kdeenablefinal kdehiddenvisibility kpathsea lame largefile libsamplerate libssh2 libwww libyaml lm_sensors logrotate lua lzo mad maildir matroska midi mikmod mime mixer mmx mmxext mng mod_python mozsvg mp2 mp3 mp4 mp4live mpd mpeg mpeg2 mplayer msn mudflap musepack musicbrainz nano-syntax ncurses neon nepomuk nls no-old-linux nptl nptlonly nsplugin nvidia offensive ogg opengl openmp pam pch pcre pdf pdflib perl php png posix python qt3 qt3support qt4 quicktime readline reflection reiser4 replaygain schroedinger sdl session smp spell spl sqlite sqlite3 srt sse sse2 ssl startup-notification subtitles subversion svg sysfs taglib tcpd themes theora threads threadsafe tidy tiff timezone toolbar tools trayicon truetype tunepimp twisted unicode upnp usb userlocales utf8 vim-syntax vim-with-x vorbis vte wav wavpack webdav wifi win32codecs wma wmf wmp x264 x86 xcomposite xiph xml xmlreader xmlrpc xmlwriter xorg xsl xslt xulrunner xv xvid zip zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB en_US en" USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Hanno Böck gentoo-dev 2008-10-09 21:25:20 UTC
This should be fixed now, but can you please test?
Comment 3 Gergan Penkov 2008-10-09 23:00:51 UTC
gegl does not honour almost any use flags in the moment, there is a automatic dependancy on libopenraw. The patch in configure uses AC_ARG_WITH and most of the checking is done with use_enable. I'm uploading a corrected ebuild and patch for these. There are some more useflags, which were left on magic...
The only thing, which is not clear, is the doc use-flag as there are conditionals on lua and ruby...
Comment 4 Gergan Penkov 2008-10-09 23:01:43 UTC
Created attachment 167820 [details]
gegl-0.0.20.ebuild

corrected build - probably needs some more work
Comment 5 Gergan Penkov 2008-10-09 23:02:14 UTC
Created attachment 167822 [details, diff]
gegl-20-configure-ac.patch

extended configure.ac patch
Comment 6 Hanno Böck gentoo-dev 2008-10-13 10:34:01 UTC
Committed with some more changes, disabling gtk stuff seems to cause lot's of other problems, so I've hard-enabled this for now.