Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 372887

Summary: app-portage/eix should depend on sys-apps/openrc
Product: Gentoo Linux Reporter: Christoph Brill (egore) (RESIGNED) <egore>
Component: New packagesAssignee: Martin Väth <martin>
Status: RESOLVED FIXED    
Severity: normal CC: bensagal, darkside, maggu2810
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 373219    
Bug Blocks:    

Description Christoph Brill (egore) (RESIGNED) 2011-06-24 19:55:49 UTC
Calling "eix-sync" on a system without openrc and sysvinit (systemd enabled) it fails with

"eix-sync: cannot read functions.sh"

So there is an implicit dependency from eix 0.22.8 to openrc.

Reproducible: Always
Comment 1 Ben Sagal 2011-06-27 11:36:50 UTC
the file is either provided by baselayout-1 or by openrc which is a dependency of baselayout-2

As far as I am aware baselayout is part of system so should be installed on any gentoo system
Comment 2 William Hubbs gentoo-dev 2011-06-28 21:02:39 UTC
See the bug blocking this one for work that is moving toward a
minimalist version of openrc that will be used on all gentoo systems
regardless of the init system in use.

My plan is to set it up so that you can just depend on sys-apps/openrc
as requested in the previous comment.
Comment 3 Martin Väth 2011-06-30 18:51:41 UTC
In current eix svn trunk (>=app-portage/eix-0.22.9) functions.sh
is no longer used.

So the dependency is not necessary anymore.

In older versions the dependency is only needed for the scripts and not
for the main task of eix, so IMHO it is some sort of optional dependency.

Since probably eix-0.22.9 will be stable before alternatives to openrc
become stable and, moreover, eix does not really break without openrc,
I suggest to *not* modify <eix-0.22.9 ebuilds.
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-07-05 14:32:25 UTC
app-portage/eix-0.22.9 is in the tree