Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283444 - media-libs/gegl-0.1.0: ebuild fails, glib/gi18n-lib.h (not)missing
Summary: media-libs/gegl-0.1.0: ebuild fails, glib/gi18n-lib.h (not)missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 283525 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-01 18:45 UTC by Gary E. Miller
Modified: 2009-09-18 01:45 UTC (History)
19 users (show)

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


Attachments
gegl-0.1.0-GLIB_CFLAGS.patch (gegl-0.1.0-GLIB_CFLAGS.patch,1.60 KB, patch)
2009-09-01 23:09 UTC, Alexandre Rostovtsev (RETIRED)
Details | Diff
gegl-0.1.0.ebuild (gegl-0.1.0.ebuild,1.90 KB, text/plain)
2009-09-01 23:10 UTC, Alexandre Rostovtsev (RETIRED)
Details
patch to add gnome2 to inherit line (gegl-0.1.0-gnome2-eclass.patch,300 bytes, patch)
2009-09-02 20:45 UTC, Gef
Details | Diff
Fixed ebuild (gegl-0.1.0.ebuild,1.88 KB, text/plain)
2009-09-02 21:29 UTC, Alexandre Rostovtsev (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gary E. Miller 2009-09-01 18:45:25 UTC
ebuild fails:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I
../../.. -I../../../gegl -I../../../gegl -I../../../gegl/buffer -I../../../gegl/
buffer -I../../../gegl/operation -I../../../gegl/operation -I../../../gegl/prope
rty-types -I../../../gegl/property-types -I../../../gegl/module -I../../../gegl/
module -DG_DISABLE_DEPRECATED -march=native -Os -pipe -frename-registers -fweb -
freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-re
load -fmerge-all-constants -L/usr/local/mysql/lib/mysql -Wall -Wdeclaration-afte
r-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-ar
ith -Wold-style-definition -mmmx -msse -MT gluas_la-gluas.lo -MD -MP -MF .deps/g
luas_la-gluas.Tpo -c gluas.c  -fPIC -DPIC -o .libs/gluas_la-gluas.o
gluas.c:20:28: error: glib/gi18n-lib.h: No such file or directory

But the 'missing' file is there:

# find /usr/include -name gi18n-lib.h
/usr/include/glib-2.0/glib/gi18n-lib.h




Reproducible: Always

Steps to Reproduce:
1. emerge media-libs/gegl-0.1.0


Actual Results:  
see above

Expected Results:  
ebuild to finish OK

# emerge --info
Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.4.1, glibc-2.10.1-r0, 2.6.30-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_6000+-with-gentoo-2.0.1
Timestamp of tree: Tue, 01 Sep 2009 16:15:01 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 2.1.9
dev-lang/python:     2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -Os -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants -L/usr/local/mysql/lib/mysql"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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/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 /etc/udev/rules.d"
CXXFLAGS="-march=native -Os -pipe -frename-registers -fweb -freorder-blocks -funit-at-a-time -ftree-pre -fgcse-sm -fgcse-las -fgcse-after-reload -fmerge-all-constants"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.gentoo.bg/ http://gentoo.in.th/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en en_US"
PKGDIR="/usr/portage/packages"
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="/tmp/"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/gentoo-gis /usr/local/portage/layman/sajinet /usr/local/portage/layman/java-overlay /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi adns alsa amarok amazon amd64 ao apache2 applet ares audacious audiofile auth autoipd avahi background bash-completion berkdb bindist binfilter bl bluetooth bonjour bonobo bootsplash branding bzip2 cairo caps cdaudio cdda cddb cdinstall cdparanoia cdr cgi chroot cle266 cleartype cli command-args consolekit contentcache corba cpudetection cracklib crypt cscope css csv ctype cups curl curlwrappers cursors daap dba dbm dbus dbx dc1394 dcc dcraw devfs26 dga disassembler discard-path divx dmi dmx doc docbook dpms dri dts dv dvb dvd dvdr dvdread dvi dynagraph dynamicplugin ecc edl eds emboss encode equalizer escreen ethereal etwin evo exif expat exscalibar extramodules faac faad faillog fam fame fat festival ffmpeg fftw firefox fits flac flash flatfile fltk fmod fontconfig foomatic-db foomaticdb fortran fpx freetds freetts ftp gadu gd gdal gdbm geoip geometry geos gif gimp gimpprint glade glitz glut gmedia gml gmp gmplayer gnome gnome-print gnomecanvas gnomedb gnuplot gnustep gnutls gphoto2 gpm gps grass gs gsm gstreamer gstreamer010 gtk gtkhtml gtkspell guile h323 hal hdri howl howl-compat hpn http httpd icecast iconv icq id3 idea ieee1394 ilbc imagemagick imap imlib imlib2 inkjar inode insecure-savers ipv6 isdnlog jabber jack jadetex java javascript jbig jingle john jpeg jpeg2k kde ladspa lame latex lcms ldap libedit libnotify libsamplerate libv4l2 libvisual live lm_sensors lpr lyrics lzma lzo mad madwifi matroska mbox mdnsresponder-compat menubar mikmod milter mime mimencode mjpeg mmap mmx mng mnogosearch mod modplug motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mplayer mpm-worker mudflap multilib munin-apache munin-dhcp munin-irc munin-squid munin-surfboard musepack musicbrainz mysql mysqli mythtv na_dd na_icons nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses network networking nfs nls nodrm nptl nptlonly nsplugin ntp objc odk offensive ogdi ogg oggvorbis on-the-fly-crypt openal openexr opengl openmp openssh openssl opensslcrypt oscar oss otr pam pango parse-clocks passfile passwdqc passwordsave paste64 pcap pci pcmcia pcre pdf perl php player plotutils png pnm pop3d portage posix ppds pppd print priority procmail pvr python pyzor qt3support qt4 quicktime radio rar raw razor rc5 rdesktop readline realmedia recursor redland reflection reiser4 reiserfs remix rpm rrdcgi rrdtool rss rtc rtf rtsp run-as-root samba sasl scanner schroedinger screen sdk sdl sendmail sensord serial server session sftp sftplogging shape sharedext shorten shout silc skins slp smp smtp sndfile snmp soap sockets sofia-sip softfax sox spamassassin speex spell spf spl sqlite srt sse sse2 ssh ssl startup-notification static-modules stats stream subtitles subversion svg svgz swat sysfs syslog sysvipc t1lib taglib tagwriting tcltk tcpd tetex tga themes theora thesaurus threads thumbnail thunar thunderbird tidy tiff timidity tk tokenizer toolbar tools transcode truetype type1 ugly unicode unzip ups urandom usb utils v4l v4l2 vcd vdpau vhosts vim visualization vlm vnc vorbis vorbis-psy watchdog wavpack wfs widescreen winbind wma wmf wmp wxwindows x264 xanim xattr xcb xcomposite xinerama xml xorg xosd xpm xrandr xrender xscreensaver xsettings xsl xslt xterm xulrunner xv xvid xvmc yahoo zeroconf zip zlib zrtp zvbai zvbi" 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 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 wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-09-01 23:09:20 UTC
Created attachment 202915 [details, diff]
gegl-0.1.0-GLIB_CFLAGS.patch

Upstream bug:
http://bugzilla.gnome.org/show_bug.cgi?id=587684

Upstream patch:
http://git.gnome.org/cgit/gegl/commit/?id=b5e6f4f1f9c5038050387898581884fe73b7dc0f
Comment 2 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-09-01 23:10:53 UTC
Created attachment 202917 [details]
gegl-0.1.0.ebuild

Ebuild to use above patch
Comment 3 Billy DeVincentis 2009-09-02 04:19:29 UTC
This didn't work for me, still fails
Comment 4 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-09-02 04:56:10 UTC
(In reply to comment #3)
> This didn't work for me, still fails

Without details, this comment is not useful.
What precisely fails? Are you getting the same error as reported above (glib include path not in -I when compiling files in operations/workshop/external), or is it something different? Are you using the ebuild I posted (it's not enough to just apply the patch; without eautoreconf, Makefile.in won't be regenerated)?
Comment 5 Sergey Morozov 2009-09-02 08:01:59 UTC
With this patch gegl it was compiled successfully
Comment 6 Michelangelo Scopelliti 2009-09-02 08:16:44 UTC
proposed ebuild/patch compiled fine on an ~amd64
Comment 7 Ian Abbott 2009-09-02 09:20:47 UTC
Just to add to the vote of confidence, the proposed patch and ebuild work for me too on ~amd64.
Comment 8 Marc-Antoine Perennou 2009-09-02 11:40:56 UTC
works fine on ~x86 too :)
Comment 9 Rafał Mużyło 2009-09-02 19:06:35 UTC
*** Bug 283525 has been marked as a duplicate of this bug. ***
Comment 10 Billy DeVincentis 2009-09-02 20:41:35 UTC
here is my error with gegl using ebuild and patch from this bug


libtool: link: x86_64-pc-linux-gnu-gcc -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/babl-0.0 -march=native -O2 -pipe -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -Wl,-O1 -o .libs/test-gegl-rectangle test-gegl-rectangle.o -Wl,--export-dynamic -pthread  ../gegl/.libs/libgegl-0.0.so /usr/lib64/libgio-2.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libgthread-2.0.so -lpthread -lrt /usr/lib64/libglib-2.0.so -lbabl-0.0 -lm -pthread                                
make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/tests'                                    
make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/tests'                                    
Making all in docs                                                                                                           
make[2]: Entering directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs'                                    
Making all in gallery                                                                                                        
make[3]: Entering directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs/gallery'                            
Making all in data                                                                                                           
make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs/gallery/data'                       
make[4]: Nothing to be done for `all'.                                                                                       
make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs/gallery/data'                        
make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/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
make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs/gallery'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs/gallery'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0'
make: *** [all] Error 2
 *
 * ERROR: media-libs/gegl-0.1.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2829:  Called _eapi2_src_compile
 *               ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-libs/gegl-0.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.1.0/temp/environment'.
 * This ebuild is from a repository named 'miscellaneous'
 *

>>> Failed to emerge media-libs/gegl-0.1.0, Log file:

>>>  '/var/tmp/portage/media-libs/gegl-0.1.0/temp/build.log'
 *
 * The following package has failed to build or install:
 *
 *      ('ebuild', '/', 'media-libs/gegl-0.1.0', 'merge')
 *
Linux1 billydv #
Comment 11 Gef 2009-09-02 20:45:32 UTC
Created attachment 203015 [details, diff]
patch to add gnome2 to inherit line

Patch to add gnome2 to inherit line, and thus removing the "gnome2_src_prepare: command not found" error.
Comment 12 Billy DeVincentis 2009-09-02 21:02:54 UTC
emerging this ebuild with patch using the -doc useflag allowed it to emerge
Comment 13 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-09-02 21:25:44 UTC
(In reply to comment #10)
> here is my error with gegl using ebuild and patch from this bug

Please read your error message - your error occurs in a completely different part of the build process for a completely different reason. The error message you posted indicates that your gegl executable or plugins have been compiled or linked incorrectly - and that is almost certainly caused by problems with your system. Check that:
* all libraries that gegl uses are valid and mutually consistent. In particular, every library that a gegl plugin links with must link with the same version of libjpeg.
* ccache is not caching incorrectly compiled objects
* your gcc and binutils work correctly
Comment 14 Alexandre Rostovtsev (RETIRED) gentoo-dev 2009-09-02 21:29:29 UTC
Created attachment 203018 [details]
Fixed ebuild

(In reply to comment #11)

Thank you for noticing my mistake. But I should have realized that gnome2_src_prepare is not needed at all in this ebuild.
Comment 15 Maxi Combina 2009-09-04 06:27:06 UTC
(In reply to comment #12)
> emerging this ebuild with patch using the -doc useflag allowed it to emerge
> 

Same here. Must use "-doc" or I see this (similar to comment #10):
make[4]: Entering directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/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                                                                                                                  
make[4]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs/gallery'                                                     
make[3]: *** [all-recursive] Error 1                                                                                                                 
make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs/gallery'                                                     
make[2]: *** [all-recursive] Error 1                                                                                                                 
make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0/docs'                                                             
make[1]: *** [all-recursive] Error 1                                                                                                                 
make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.0/work/gegl-0.1.0'                                                                  
make: *** [all] Error 2                                                                                                                              
 *                                                                                                                                                   
 * ERROR: media-libs/gegl-0.1.0 failed.                                                                                                              
 * Call stack:                                                                                                                                       
 *               ebuild.sh, line   49:  Called src_compile                                                                                           
 *             environment, line 2736:  Called _eapi2_src_compile                                                                                    
 *               ebuild.sh, line  638:  Called die                                                                                                   
 * The specific snippet of code:                                                                                                                     
 *              emake || die "emake failed"                                                                                                          
 *  The die message:                                                                                                                                 
 *   emake failed                                                                                                                                    
 *                                                                                                                                                   
 * If you need support, post the topmost build error, and the call stack if relevant.                                                                
 * A complete build log is located at '/var/tmp/portage/media-libs/gegl-0.1.0/temp/build.log'.                                                       
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.1.0/temp/environment'.                                              
 *

>>> Failed to emerge media-libs/gegl-0.1.0, Log file:

>>>  '/var/tmp/portage/media-libs/gegl-0.1.0/temp/build.log'

 * Messages for package media-libs/gegl-0.1.0:

 *
 * ERROR: media-libs/gegl-0.1.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2736:  Called _eapi2_src_compile
 *               ebuild.sh, line  638:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/media-libs/gegl-0.1.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.1.0/temp/environment'.
 *
Comment 16 Sami Näätänen 2009-09-04 08:10:09 UTC
Confirmed that the pathed one compiles and seams to work.

ARCH = ~amd64
USE = cairo -debug doc ffmpeg jpeg mmx -openexr png raw sdl sse svg v4l

The given USE flags are from "paludis -ip gegl"
Comment 17 Andrew Savchenko gentoo-dev 2009-09-07 17:12:28 UTC
Proposed patch works on ~x86. Thanks.
Comment 18 Gary E. Miller 2009-09-14 20:52:33 UTC
The required patch is known and confirmed.  How does this get in portage?
Comment 19 Lebedev Roman 2009-09-17 18:09:02 UTC
I confirm that patched ebuild is working.
Comment 20 Patrick Lauer gentoo-dev 2009-09-18 01:45:24 UTC
+  18 Sep 2009; Patrick Lauer <patrick@gentoo.org> +gegl-0.1.0-r1.ebuild,
+  +files/gegl-0.1.0-GLIB_CFLAGS.patch:
+  Fixing build failure, fixes #283444. Thanks to Alexandre Rostovtsev for
+  the upstream patch and modified ebuild.