Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 117713 - [Patch] package.provided support is incomplete, due to /usr/local not being in the ebuild path
Summary: [Patch] package.provided support is incomplete, due to /usr/local not being i...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-01-04 02:34 UTC by foo banana
Modified: 2006-04-09 00:10 UTC (History)
3 users (show)

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


Attachments
suggested patch (ebuild.sh.patch,518 bytes, patch)
2006-01-04 02:38 UTC, foo banana
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description foo banana 2006-01-04 02:34:17 UTC
Packages using provided dependencies may not be emergable if the build script involves executing a file. For example, on my system, I installed Imlib2 manually in /usr/local, and then tried emerging libcaca. libcaca could not build because it could not find the file imlib2-config, installed as /usr/local/bin/imlib2-config. One possible solution is to add /usr/local to /usr/lib/portage/bin/ebuild.sh:

- export PATH="/sbin:/usr/sbin:/usr/lib/portage/bin:/bin:/usr/bin:${ROOTPATH}"
+ export PATH="/usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:${ROOTPATH}"
Comment 1 foo banana 2006-01-04 02:38:41 UTC
Created attachment 76143 [details, diff]
suggested patch
Comment 2 Simon Stelling (RETIRED) gentoo-dev 2006-03-10 07:36:00 UTC
i'd actually change the order to PATH="/sbin:/usr/sbin:/usr/local/sbin:/usr/lib/portage/bin:/bin:/usr/bin:/usr/local/bin:${ROOTPATH}
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2006-04-06 12:29:41 UTC
this is rev 3082
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2006-04-06 12:30:29 UTC
err, reopen since it's only fixed in trunk
Comment 5 Zac Medico gentoo-dev 2006-04-09 00:10:43 UTC
Released in 2.1_pre7-r5.