Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326439 - gimp-9999 fails to compile with <media-libs/gegl-0.1.2 and <media-libs/babl-0.1.2
Summary: gimp-9999 fails to compile with <media-libs/gegl-0.1.2 and <media-libs/babl-0...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Hanno Böck
URL:
Whiteboard:
Keywords:
: 355289 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-07-01 11:50 UTC by Nils Andresen
Modified: 2011-04-04 19:58 UTC (History)
3 users (show)

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


Attachments
gegl-9999.ebuild (gegl-9999.ebuild,1.94 KB, text/plain)
2011-01-29 16:29 UTC, Marian Kyral
Details
babl-9999.ebuild (babl-9999.ebuild,760 bytes, text/plain)
2011-01-29 16:30 UTC, Marian Kyral
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nils Andresen 2010-07-01 11:50:04 UTC
Trying to install gimp-9999 failed with errors in configure: 
[...] 'gegl >= 0.1.2' but version of GEGL is 0.0.22
same goes for babl.

gimp depends on >=media-libs/gegl-0.0.22 but not on media-libs/babl.
After Installing =media-libs/gegl-0.1.2 and  =media-libs/babl-0.1.2 everything works as expected.

Reproducible: Always
Comment 1 Gef 2010-12-26 16:19:04 UTC
As of now, gimp-9999 needs gegl-9999 which needs babl-9999
Comment 2 Marian Kyral 2011-01-29 16:29:24 UTC
Created attachment 261012 [details]
gegl-9999.ebuild
Comment 3 Marian Kyral 2011-01-29 16:30:03 UTC
Created attachment 261013 [details]
babl-9999.ebuild
Comment 4 Marian Kyral 2011-01-29 16:33:00 UTC
Now gimp compiles, but there is some issue during "make install" part :-(

libtool: install: warning: relinking `gimp.la'
libtool: install: (cd /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/plug-ins/pygimp; /bin/sh /var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/libtool  --tag CC --mode=relink x86_64-pc-linux-gnu-gcc -fno-strict-aliasing -O2 -pipe -fomit-frame-pointer -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -Wmissing-format-attribute -Wformat-security -Wl,-O1 -Wl,--as-needed -o gimp.la -rpath /usr/lib64/gimp/2.0/python -module -avoid-version -export-symbols-regex initgimp gimpmodule.lo pygimp-display.lo pygimp-drawable.lo pygimp-image.lo pygimp-parasite.lo pygimp-pdb.lo pygimp-tile.lo pygimp-vectors.lo ../../libgimp/libgimp-2.0.la ../../libgimpcolor/libgimpcolor-2.0.la ../../libgimpbase/libgimpbase-2.0.la -pthread -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -inst-prefix-dir /var/tmp/portage/media-gfx/gimp-9999/image/)
/bin/sh: řádek 13: ../../py-compile: Operace zamítnuta

"Operace zamítnuta" means "Operation forbiden". I'm investigating it. First I'm trying "python-updater"
Comment 5 Marian Kyral 2011-01-29 17:29:19 UTC
Well, the translation is not exact...


make[4]: Nothing to be done for `install-exec-am'.
/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/install-sh -d '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/environ'
/var/tmp/portage/media-gfx/gimp-9999/work/gimp-9999/install-sh -d '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/interpreters'
test -z "/usr/lib64/gimp/2.0/python" || mkdir -p -- "/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python"
echo ': PYTHONPATH=${gimp_plug_in_dir}/python' > '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/environ/pygimp.env'
echo 'python=/usr/bin/python' > '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/interpreters/pygimp.interp'
test -z "/usr/lib64/gimp/2.0/python" || mkdir -p -- "/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python"
echo '/usr/bin/python=/usr/bin/python' >> '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/interpreters/pygimp.interp'
echo ':Python:E::py::python:' >> '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/interpreters/pygimp.interp'
test -z "/usr/lib64/gimp/2.0/python" || mkdir -p -- "/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python"
 /usr/bin/install -c -m 644 'pygimp-logo.png' '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python/pygimp-logo.png'
 /bin/sh ../../libtool --mode=install /usr/bin/install -c  'gimp.la' '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python/gimp.la'
 /usr/bin/install -c -m 644 'gimpenums.py' '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python/gimpenums.py'
 /usr/bin/install -c -m 644 'gimpfu.py' '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python/gimpfu.py'
 /usr/bin/install -c -m 644 'gimpplugin.py' '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python/gimpplugin.py'
 /usr/bin/install -c -m 644 'gimpshelf.py' '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python/gimpshelf.py'
 /usr/bin/install -c -m 644 'gimpui.py' '/var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python/gimpui.py'
/bin/sh: line 13: ../../py-compile: Permission denied
make[4]: *** [install-pygimpPYTHON] Error 126
make[4]: *** Waiting for unfinished jobs....
libtool: install: warning: relinking `gimp.la'
Comment 6 Marian Kyral 2011-01-29 18:18:21 UTC
Problem fixed by 

cd /var/tmp/portage/media-gfx/gimp-9999/image//usr/lib64/gimp/2.0/python/
chmod a+x ../../py-compile

But ebuild gimp-9999.ebuild install qmerge
gives me really funny error:

 * QA Notice: Package has poor programming practices which may compile
 *            but will almost certainly crash on 64bit architectures.
 * 
 * Function `gdk_gc_new' implicitly converted to pointer at gfig-dialog.c:2177
 * Function `gdk_gc_new' implicitly converted to pointer at imap_grid.c:362
 * Function `gdk_gc_new' implicitly converted to pointer at imap_main.c:233
 * Function `gdk_gc_new' implicitly converted to pointer at map-object-ui.c:363
 * 
 *  Please file a bug about this at http://bugs.gentoo.org/
 *  with the maintaining herd of the package.
 * 
 * ERROR: media-gfx/gimp-9999 failed:
 *   install aborted due to poor programming practices shown above
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-04 19:57:04 UTC
*** Bug 355289 has been marked as a duplicate of this bug. ***
Comment 8 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-04 19:58:08 UTC
Fixed in main tree.