Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 259851 - gimp-9999 build fails - needs gegl svn and babl snv to build
Summary: gimp-9999 build fails - needs gegl svn and babl snv to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal with 2 votes (vote)
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
Depends on: 287799
Blocks:
  Show dependency tree
 
Reported: 2009-02-21 21:34 UTC by Hal Engel
Modified: 2011-04-04 19:59 UTC (History)
3 users (show)

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


Attachments
babl-9999-r1.ebuild (babl-9999-r1.ebuild,835 bytes, text/plain)
2009-02-25 14:23 UTC, David Bařina
Details
gegl-9999-r1.ebuild (gegl-9999-r1.ebuild,2.12 KB, text/plain)
2009-02-25 14:23 UTC, David Bařina
Details
babl-rsvg.patch (babl-rsvg.patch,1.60 KB, patch)
2009-03-03 10:44 UTC, Matteo 'The Peach' Pescarin
Details | Diff
babl-9999-r1.ebuild (babl-9999-r1.ebuild,918 bytes, text/plain)
2009-03-03 10:45 UTC, Matteo 'The Peach' Pescarin
Details
babl-9999-r2.ebuild (babl-9999-r2.ebuild,753 bytes, text/plain)
2009-08-28 12:13 UTC, Serge Gavrilov
Details
gegl-9999-r2.ebuild (gegl-9999-r2.ebuild,1.28 KB, text/plain)
2009-08-28 14:49 UTC, Serge Gavrilov
Details
gegl-9999-r2.diff (gegl-9999-r2.diff,716 bytes, patch)
2009-10-06 23:21 UTC, Matteo 'The Peach' Pescarin
Details | Diff
media-libs/babl-9999.ebuild (babl-9999.ebuild,787 bytes, text/plain)
2009-12-15 23:12 UTC, Matteo 'The Peach' Pescarin
Details
media-libs/gegl-9999.ebuild (gegl-9999.ebuild,1.83 KB, text/plain)
2009-12-15 23:41 UTC, Matteo 'The Peach' Pescarin
Details
gimp-9999.ebuild with git gegl and babl (gimp-9999.ebuild,2.85 KB, text/plain)
2010-12-21 04:00 UTC, Alex Blazh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hal Engel 2009-02-21 21:34:01 UTC
gimp-9999 build fails because it needs babl-0.0.23 and this is not yet available.

Reproducible: Always

Steps to Reproduce:
1. emerge =gimp-9999
2.
3.
Comment 1 Tony Vroon (RETIRED) gentoo-dev 2009-02-22 19:01:59 UTC
Please include emerge --info (this is *not* optional) and the revision number of the tree the ebuild pulled down. With that in place, reopen your report.
Comment 2 Hal Engel 2009-02-22 19:19:01 UTC
I did an emerge --sync perhaps 1/2 hour before opening the bug report.  I have since found that the gimp-9999 build needs svn versions of gegl and babl to work.  So the real issue is that there are no gegl-9999 or babl-9999 ebuilds and also that the gimp-9999 ebuild should depend on these rather than the gegl and babl ebuilds currently in portage (both version 0.0.22).  I changed the summary to reflect this.

# emerge --info        
Portage 2.2_rc20 (default/linux/amd64/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.26-gentoo x86_64)                                                                                              
=================================================================                                     
System uname: Linux-2.6.26-gentoo-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4800+-with-glibc2.2.5                                                                                                     
Timestamp of tree: Sat, 21 Feb 2009 17:00:01 +0000                                                    
app-shells/bash:     3.2_p39                                                                          
dev-java/java-config: 1.3.7-r1, 2.1.6-r1                                                              
dev-lang/python:     2.4.4-r14, 2.5.2-r7                                                              
dev-python/pycrypto: 2.0.1-r6                                                                         
dev-util/cmake:      2.6.2                                                                            
sys-apps/baselayout: 1.12.11.1                                                                        
sys-apps/sandbox:    1.3.6                                                                            
sys-devel/autoconf:  2.13, 2.63                                                                       
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                 
sys-devel/binutils:  2.18-r3                                                                          
sys-devel/gcc-config: 1.4.0-r4                                                                        
sys-devel/libtool:   1.5.26                                                                           
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config"
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/web2c /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://mirror.usu.edu/mirrors/gentoo/ http://mirror.espri.arizona.edu/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/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="/usr/local/portage /usr/portage/local/layman/kde-testing /usr/portage/local/layman/sunrise /usr/portage/local/layman/java-overlay /usr/portage/local/layman/sabayon /usr/portage/local/layman/pro-audio /usr/portage/local/layman/berkano"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi ada alsa amd64 avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus divx dri dts dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg fortran gdbm gif gpm gstreamer gtk hal htmlhandbook iconv imagemagic ipv6 isdnlog joystick jpeg jpeg2k kde kdeprefixlcms ldap libnotify lm_sensors mad midi mikmod mmx mp3 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp oss pam pcre pdf perl pmu png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session smp sndfile speex spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode usb vcd vorbis x264 xcomposite xinerama xml xorg xulrunner xv xvid xvmc zlib" ALSA_CARDS="ice1724" ALSA_PCM_PLUGINS="*" 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_cacheenv 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 David Bařina 2009-02-25 14:23:25 UTC
Created attachment 183144 [details]
babl-9999-r1.ebuild

needed babl-9999-r1.ebuild
Comment 4 David Bařina 2009-02-25 14:23:41 UTC
Created attachment 183146 [details]
gegl-9999-r1.ebuild

gegl-9999-r1.ebuild
Comment 5 Matteo 'The Peach' Pescarin 2009-03-03 10:44:18 UTC
Created attachment 183751 [details, diff]
babl-rsvg.patch 

Until this patch will not be merged into trunk (see: http://bugzilla.gnome.org/show_bug.cgi?id=571516) the proposed babl ebuild will cause a SANDBOX VIOLATION error for those using the sandbox.
Comment 6 Matteo 'The Peach' Pescarin 2009-03-03 10:45:24 UTC
Created attachment 183753 [details]
babl-9999-r1.ebuild

updated babl ebuild that uses the proposed rsvg patch
Comment 7 Christopher Howard 2009-08-12 22:53:19 UTC
When I try to merge babl-9999-r1.ebuild with the babl-rsvg.patch, i get:

 * Failed Patch: babl-rsvg.patch !
 *  ( /usr/local/portage/layman/gimp/media-libs/babl/files/babl-rsvg.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-libs/babl-9999-r1/temp/babl-rsvg.patch-17551.out
 * 
 * ERROR: media-libs/babl-9999-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2170:  Called epatch '/usr/local/portage/layman/gimp/media-libs/babl/files/babl-rsvg.patch'
 *             environment, line 1156:  Called die
 * The specific snippet of code:
 *                   die "Failed Patch: ${patchname}!";
 *  The die message:
 *   Failed Patch: babl-rsvg.patch!
Comment 8 Matteo 'The Peach' Pescarin 2009-08-12 23:21:27 UTC
although the bug is resolved, hence the ebuild posted is outdated, you should have posted the error not the notice of the error, as stated there: 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/media-libs/babl-9999-r1/temp/babl-rsvg.patch-17551.out
Next time read what is written!

I'll post an updated ebuild in the days coming, quite busy atm.
Feel free to modify the ebuild and post it back if you feel enough confident/in a hurry.

Regards,
Matteo
Comment 9 Serge Gavrilov 2009-08-28 12:10:44 UTC
Gnome has migrated from subversion to git now. So these ebuilds does not work anymore.
Comment 10 Serge Gavrilov 2009-08-28 12:13:04 UTC
Created attachment 202470 [details]
babl-9999-r2.ebuild
Comment 11 Serge Gavrilov 2009-08-28 14:48:35 UTC
I did not succeed to compile latest gegl with docs. So I removed doc flag from ebuild below
Comment 12 Serge Gavrilov 2009-08-28 14:49:07 UTC
Created attachment 202493 [details]
gegl-9999-r2.ebuild
Comment 13 Matteo 'The Peach' Pescarin 2009-10-06 23:21:25 UTC
Created attachment 206269 [details, diff]
gegl-9999-r2.diff

emake install started working again.
even if I've added emake DESTDIR=${D} install it keeps adding /usr/local/include/ as the include dir, while installing it in /usr/include/ this means that GIMP get stressd and ends up with the longest error trail I've ever seen.
to sum it up:
# qlist gegl | grep gegl.h
/usr/include/gegl-0.1/gegl.h
# pwd
/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999
# pkg-config --cflags gegl
-I/usr/local/include/gegl-0.1 -I/usr/include/babl-0.1 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 

before reporting upstream I'm asking whoever has time to test it, to do the required checks the ebuild is doing everything correctly.

Thanks
Comment 14 Matteo 'The Peach' Pescarin 2009-12-15 23:12:20 UTC
Created attachment 213146 [details]
media-libs/babl-9999.ebuild

Babl has switched over git
Here's the revised ebuild using EAPI2 and git repo

working here on x86
Comment 15 Matteo 'The Peach' Pescarin 2009-12-15 23:41:47 UTC
Created attachment 213149 [details]
media-libs/gegl-9999.ebuild

Again, gegl switched to git too
Here's the revised ebuild using EAPI2 and the git repo.

Working here on x86.
Comment 16 Vicente Olivert Riera (RETIRED) gentoo-dev 2010-06-01 13:27:31 UTC
I think only >=media-libs/gegl-0.1.0 and >=media-libs/babl-0.1.0 are needed.
Comment 17 Malte E. 2010-10-27 15:42:28 UTC
0.1.2 is needed

checking for BABL... no
configure: error: Package requirements (babl >= 0.1.2) were not met:

Requested 'babl >= 0.1.2' but version of babl is 0.0.22
Comment 18 Alex Blazh 2010-12-21 04:00:42 UTC
Created attachment 257653 [details]
gimp-9999.ebuild with git gegl and babl
Comment 19 Ildar Sagdejev 2010-12-27 07:46:24 UTC
media-libs/babl-0.1.2 is now in ~arch, so gimp-9999 requirements should be updated to >=media-libs/babl-0.1.2
Comment 20 Andrey A. Ugolnik 2011-01-18 19:53:45 UTC
Please update gimp-9999.ebuild for DOC use flag support. Change

>=dev-util/gtk-doc-1.15-r2

to

doc? ( >=dev-util/gtk-doc-1.15-r2 )
Comment 21 Andrey A. Ugolnik 2011-01-18 20:05:56 UTC
(In reply to comment #20)
> Please update gimp-9999.ebuild for DOC use flag support. Change
> 
> >=dev-util/gtk-doc-1.15-r2
> 
> to
> 
> doc? ( >=dev-util/gtk-doc-1.15-r2 )
> 

Sorry, autogen.sh from gimp require doc related packages. But should't be, i think.
Comment 22 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-04 19:59:03 UTC
Gimp deps on gegl/babl were updated to correspond with configure.ac in the repository.