Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 816663 - media-gfx/gimp-2.10.28 fails to find gegl if using media-libs/gegl-9999
Summary: media-gfx/gimp-2.10.28 fails to find gegl if using media-libs/gegl-9999
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-10-06 11:42 UTC by N. Andrew Walsh
Modified: 2021-10-08 21:49 UTC (History)
1 user (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 N. Andrew Walsh 2021-10-06 11:42:46 UTC
When building gimp-2.10.28, emerge fails due to lacking gegl. But I have gegl-9999 installed, so it should find the dependency and emerge. Instead I get:

  - Error: missing dependency gegl-0.4 >= 0.4.32


Reproducible: Always
Comment 1 N. Andrew Walsh 2021-10-06 11:43:14 UTC
# emerge -s gegl                                                                                               
[ Results for search key : gegl ]
Searching...

*  dev-ruby/ruby-gegl
      Latest version available: 3.4.3
      Latest version installed: [ Not Installed ]
      Size of files: 3.064 KiB
      Homepage:      https://ruby-gnome2.osdn.jp/
      Description:   Ruby GEGL bindings
      License:       LGPL-2.1+

*  media-libs/gegl
      Latest version available: 9999
      Latest version installed: 9999
      Size of files: 0 KiB
      Homepage:      https://gegl.org/
      Description:   A graph based image processing framework
      License:       || ( GPL-3+ LGPL-3 )
Comment 2 Sergey Torokhov 2021-10-08 18:38:20 UTC
> But I have gegl-9999 installed

What is the date of installation of this live-ebuild?
Comment 3 N. Andrew Walsh 2021-10-08 18:42:53 UTC
last install of gegl was April 30 of this year. Hrm. I should update that. Stand by and I'll report if the new one works.
Comment 4 Sergey Torokhov 2021-10-08 19:36:09 UTC
Yes, live ebuild (9999) gets current upstream version at the moment of build time. So rebuild of -9999.ebuild could be required from time to time if it installed as dependency.
Comment 5 N. Andrew Walsh 2021-10-08 19:44:28 UTC
… and gimp emerged without error. Thanks for the solution.

Would it make sense, then, to have the gimp ebuild force a rebuild of gegl if gegl is a "live" build?
Comment 6 Sergey Torokhov 2021-10-08 21:49:18 UTC
Usually there is no need to use -9999.ebuild dependencies for non -9999.ebuild packages. As far as I know  the automatic mechanism to rebuild live ebuilds dependencies isn't provided by portage inside package *.ebuild.

Portage provides special set to rebuild "live" packages:

> emerge @live-rebuild
to rebuild all installed live packages.

Or special tool is available in portage tree "app-portage/smart-live-rebuild" ( https://github.com/mgorny/smart-live-rebuild ), that could be useful if you have many live packages.