Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 569346 - gimp-9999 fails to compile because the gegl binary uses an "-0.3" suffix
Summary: gimp-9999 fails to compile because the gegl binary uses an "-0.3" suffix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sebastian Pipping
URL:
Whiteboard:
Keywords:
: 569268 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-12-23 14:57 UTC by DrSlony
Modified: 2015-12-24 00:33 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description DrSlony 2015-12-23 14:57:05 UTC
https://git.gnome.org/browse/gimp/commit/configure.ac?id=44d5e7adcd6c8d3073a3cc9d71dee495ee58cf25

As of this commit, gimp-9999 will fail to compile because it can't find a binary named "gegl", because in Gentoo the binary gets a version suffix making it "gegl-0.3".
Comment 1 DrSlony 2015-12-23 15:03:32 UTC
This seems to work:
GEGL="/usr/bin/gegl-0.3" emerge -v gimp
though compilation fails later on because libmypaint-gegl is currently missing.
Comment 2 DrSlony 2015-12-23 21:44:34 UTC
Using my ebuild from bug 569548, compilation of gimp-9999 starts, but dangerously fails when gegl makes icons:

/usr/bin/gegl-0.3 -x \
"<gegl> \
  <node operation='gegl:invert-linear'></node> \
  <node operation='gegl:load'> \
    <params> \
      <param name='path'>../../icons/Symbolic/12/gimp-swap-colors.png</param> \
    </params> \
  </node> \
</gegl>" -o 12/gimp-swap-colors.png
 * ACCESS DENIED:  open_wr:      /dev/nvidiactl
 * ISE:write_logfile: unable to append logfile: /var/log/sandbox/sandbox-25291.log
 * ../../sandbox-2.6/libsandbox/libsandbox.c:check_syscall():879: failure (Bad file descriptor):
(...)
/proc/25474/cmdline: /usr/bin/gegl-0.3 -x <gegl>   <node operation='gegl:invert-linear'></node>   <node operation='gegl:load'>     <params>       <param name='path'>../../icons/Symbolic/12/gimp-menu-left.png</param>     </params>   </node> </gegl> -o 12/gimp-menu-left.png 

Perhaps its the "../../" after "<param name='path'>"?

Complete build log: https://bpaste.net/raw/8b7bfd4cb6db

I need assistance here, don't know how to proceed.
Comment 3 Sebastian Pipping gentoo-dev 2015-12-23 22:33:27 UTC
For the record, I have a command "gegl" around, but it's from 0.2 which can be installed in parallel to 0.3.4:

  # which gegl
  /usr/bin/gegl

  # qlist media-libs/gegl:0 | fgrep /bin
  /usr/bin/gegl
Comment 4 Sebastian Pipping gentoo-dev 2015-12-24 00:15:39 UTC
*** Bug 569268 has been marked as a duplicate of this bug. ***
Comment 5 Sebastian Pipping gentoo-dev 2015-12-24 00:33:36 UTC
Fixed.  You will still need media-libs/libmypaint installed (bug #569268) to successfully compile Gimp 9999 as that became a hard dependency but is not in Gentoo, yet.


# git show --stat | sed 's,@gentoo.org,@g.o,'
commit 2eb639c54ae806e6eb53acf44593a24851f1d3d1
Author: Sebastian Pipping <sping@g.o>
Date:   Thu Dec 24 01:19:24 2015 +0100

    media-gfx/gimp: Merge 2.9.2 into and fix 9999 (bug #569346)
    
    Package-Manager: portage-2.2.26

 media-gfx/gimp/gimp-9999.ebuild | 49 ++++++++++++++++++++++++-----------------
 1 file changed, 29 insertions(+), 20 deletions(-)