Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310433 - media-libs/gegl-0.1.2 fails ebuild when USE=sdl is enabled
Summary: media-libs/gegl-0.1.2 fails ebuild when USE=sdl is enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-20 21:01 UTC by Drake Wyrm
Modified: 2011-04-04 19:21 UTC (History)
1 user (show)

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


Attachments
build log, as requested (media-libs:gegl-0.1.2:20100320-220640.log,271.55 KB, text/plain)
2010-03-20 22:09 UTC, Drake Wyrm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Drake Wyrm 2010-03-20 21:01:57 UTC
When emerging gegl-0.1.2 with USE=sdl enabled, emake fails with the following error:

make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.1.2/work/gegl-0.1.2/docs/gallery'
--[Updating sample compositions]--
./clones.xml
make[5]: *** [clones.png] Error 255
./OpenRaster-00.xml
make[5]: *** [OpenRaster-00.png] Error 255
./OpenRaster-01.xml
make[5]: *** [OpenRaster-01.png] Error 255
./OpenRaster-04.xml
make[5]: *** [OpenRaster-04.png] Error 255
make[4]: *** [images.stamp] Error 2

To ensure that this was not a conflict with another USE flag, I toggled each with sdl enabled:

successful: USE="cairo -debug doc -ffmpeg jpeg mmx -openexr png -raw -sdl sse svg -v4l"
fail emake: USE="cairo -debug doc -ffmpeg jpeg mmx -openexr png -raw sdl sse svg -v4l"
fail emake: USE="-cairo -debug doc -ffmpeg jpeg mmx -openexr png -raw sdl sse svg -v4l"
fail emake: USE="cairo debug doc -ffmpeg jpeg mmx -openexr png -raw sdl sse svg -v4l"
fail check: USE="cairo -debug -doc -ffmpeg jpeg mmx -openexr png -raw sdl sse svg -v4l"
fail emake: USE="cairo -debug doc ffmpeg jpeg mmx -openexr png -raw sdl sse svg -v4l"
fail emake: USE="cairo -debug doc -ffmpeg -jpeg mmx -openexr png -raw sdl sse svg -v4l"
fail emake: USE="cairo -debug doc -ffmpeg jpeg -mmx -openexr png -raw sdl sse svg -v4l"
fail emake: USE="cairo -debug doc -ffmpeg jpeg mmx openexr png -raw sdl sse svg -v4l"
fail emake: USE="cairo -debug doc -ffmpeg jpeg mmx -openexr -png -raw sdl sse svg -v4l"
fail emake: USE="cairo -debug doc -ffmpeg jpeg mmx -openexr png raw sdl sse svg -v4l"
fail emake: USE="cairo -debug doc -ffmpeg jpeg mmx -openexr png -raw sdl -sse svg -v4l"
fail emake: USE="cairo -debug doc -ffmpeg jpeg mmx -openexr png -raw sdl sse -svg -v4l"
fail emake: USE="cairo -debug doc -ffmpeg jpeg mmx -openexr png -raw sdl sse svg v4l"


The only successful ebuild was with USE=-sdl. One quirky point is that emake succeeded with USE="sdl -doc", but then the check phase failed with the following error:

make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.1.2/work/gegl-0.1.2/tests/compositions'
--[updating test renders]--
test -e ./reference || ln -s ./reference ./reference || true > /dev/null;
for XML in ./*.xml; do \
	    export BASE=`echo $XML | sed s?./?? | sed s/\.xml//`;\
            PNG=$BASE".png";\
	    echo ${XML}; \
	   make ."/output/$PNG" >/dev/null; \
	done
./clones.xml
make[5]: *** [output/clones.png] Error 255
./downsharptest.xml
make[5]: *** [output/downsharptest.png] Error 255
./downsizetest.xml
make[5]: *** [output/downsizetest.png] Error 255
./downsmoothtest.xml
make[5]: *** [output/downsmoothtest.png] Error 255
./reflect2.xml
make[5]: *** [output/reflect2.png] Error 255
./reflect.xml
make[5]: *** [output/reflect.png] Error 255
./rotate.xml
make[5]: *** [output/rotate.png] Error 255
./simple-scale.xml
make[5]: *** [output/simple-scale.png] Error 255
./upsharptest.xml
make[5]: *** [output/upsharptest.png] Error 255
./upsizetest.xml
make[5]: *** [output/upsizetest.png] Error 255
./upsmoothtest.xml
make[5]: *** [output/upsmoothtest.png] Error 255
make[4]: *** [images.stamp] Error 2


And, on the assumption that this might be the least bit useful:

$ emerge --info gegl
Portage 2.1.7.17 (default/linux/amd64/10.0, gcc-4.3.4, glibc-2.10.1-r1, 2.6.31-gentoo-r6 x86_64)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-1.12.13
Timestamp of tree: Sat, 20 Mar 2010 09:45:03 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.4-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.3
sys-devel/binutils:  2.18-r3
sys-devel/gcc:       4.3.4
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /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=nocona -O2 -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict test unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.mirrors.hoobly.com/ http://gentoo.wetzlmayr.com/ http://www.cyberuse.com/gentoo/ http://gentoo.netnitco.net http://gentoo.osuosl.org/"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
MAKEOPTS="-j3 -w"
PKGDIR="/usr/share/packages/portage"
PORTAGE_CONFIGROOT="/"
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="/var/cache/portage/gentoo"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X aalib acl acpi alsa amd64 bash-completion berkdb bzip2 cairo caps cjk cli consolekit cracklib crypt cups cxx dbus dga doc dri exif fam fbcon flac fortran gdbm ggi gif gpm gstreamer gtk gtk2 hal iconv imagemagick ipv6 java jpeg jpeg2k latex libnotify mad midi mmx modules motif mp3 mpeg mudflap multilib ncurses nls nptl nptlonly offensive ogg oggvorbis opengl openmp pam pcre pdf perl png pppd python readline reflection sdl session skey slang speex spl sse sse2 ssh ssl ssse3 svg sysfs tcl tcltk tcpd theora threads tiff tk truetype unicode vim-syntax vorbis xattr xorg xv zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_default authn_file authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi cgid dav deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir version vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-libs/gegl-0.1.2 was built with the following:
USE="cairo doc jpeg mmx (multilib) png sse svg test -debug -ffmpeg -openexr -raw -sdl -v4l"
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-03-20 21:16:39 UTC
I cannot reproduce this on my ~amd64 machine. Please attach the build.log file.
Comment 2 Drake Wyrm 2010-03-20 22:09:47 UTC
Created attachment 224449 [details]
build log, as requested
Comment 3 Drake Wyrm 2010-03-20 22:26:21 UTC
And, as it may prove helpful, here is how the dependencies are installed:


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

Calculating dependencies  ... done!
[ebuild   R   ] media-libs/jpeg-8a  0 kB
[ebuild   R   ] media-libs/babl-0.1.2  USE="mmx sse" 0 kB
[ebuild   R   ] dev-libs/glib-2.22.4  USE="doc fam xattr -debug -hardened (-selinux)" 0 kB
[ebuild   R   ] media-libs/libpng-1.2.40  0 kB
[ebuild   R   ] app-text/asciidoc-8.2.6  USE="vim-syntax -examples" 0 kB
[ebuild   R   ] dev-lang/ruby-1.8.7_p249  USE="berkdb doc gdbm ipv6 ssl threads tk -debug -emacs -examples -rubytests -socks5 -xemacs" 0 kB
[ebuild   R   ] dev-lang/lua-5.1.4-r4  USE="deprecated readline -emacs -static" 0 kB
[ebuild   R   ] app-text/enscript-1.6.4-r4  USE="nls -ruby" 0 kB
[ebuild   R   ] x11-libs/pango-1.24.5-r1  USE="X doc test -debug" 0 kB
[ebuild   R   ] media-libs/libsdl-1.2.13-r1  USE="X aalib alsa audio dga fbcon ggi joystick libcaca opengl video xv -custom-cflags -directfb -esd -nas -oss -pulseaudio (-svga) -tslib -xinerama" 0 kB
[ebuild   R   ] x11-libs/gtk+-2.18.7  USE="cups doc jpeg jpeg2k test tiff vim-syntax (-aqua) -debug -xinerama" 0 kB
[ebuild   R   ] media-gfx/graphviz-2.26.0  USE="cairo doc gtk java nls perl python tcl -examples -lasi -ruby" 0 kB
[ebuild   R   ] gnome-base/librsvg-2.26.0  USE="doc zlib -debug" 0 kB
[ebuild   R   ] media-gfx/imagemagick-6.5.8.8  USE="X autotrace bzip2 corefonts doc fftw graphviz gs hdri jpeg jpeg2k openmp perl png svg tiff truetype wmf xml zlib -djvu -fontconfig -fpx -jbig -lcms -lqr -nocxx -openexr -q32 -q8 -raw" 0 kB
[ebuild   R   ] media-libs/gegl-0.1.2  USE="cairo doc jpeg mmx png sse svg -debug -ffmpeg -openexr -raw -sdl -v4l" 0 kB

Total: 15 packages (15 reinstalls), Size of downloads: 0 kB
Comment 4 Howard B. Golden 2010-05-15 22:31:10 UTC
I believe this is the same as, or quite similar to, bug 302107. Please try the patch given there. HTH.
Comment 5 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-04 19:21:18 UTC
This issue is caused by the doc useflag...

Due to serious issues with the doc useflag it was dropped thus closing this bug as fixed. If somebody is interested in doc features they need to open feature request with relyable working approach for them.