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

Bug 479278

Summary: sys-devel/binutils-config needs /etc/init.d/functions.sh from sys-apps/openrc
Product: Gentoo Linux Reporter: cj <cjand8rs>
Component: [OLD] Core systemAssignee: Gentoo Toolchain Maintainers <toolchain>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description cj 2013-07-31 14:17:11 UTC
sys-devel/binutils-config-3-r3: q belongs /usr/bin/binutils-config

And the smoking gun in /usr/bin/binutils-config:
argv0=${0##*/}
source /etc/init.d/functions.sh || {
        echo "${argv0}: Could not source /etc/init.d/functions.sh!" 1>&2
        exit 1
}


Reproducible: Always
Comment 1 Jay Faulkner 2013-08-13 02:15:18 UTC
I'm having the same problem. Installing openrc (which was uninstalled automatically with my transition to systemd+gnome 3.8) fixed my problem.

This left me with an unusable gcc after a binutils upgrade.
Comment 2 cj 2013-08-13 02:37:05 UTC
Yeah but that isn't the issue. You can just symlink /usr/host-whatever-arch-blah-redundant-something/binutils-...{ar,as,ranlib,ld.gold=>ld} etc and get going.

The problem is that openrc hasn't really been needed for nearly two years since systemd was pretty well supported. And the fact that is was removed is good. This is really a bug about fixing binutils implicit dependency on openrc, which isn't good.
Comment 3 SpanKY gentoo-dev 2013-08-15 17:00:27 UTC

*** This bug has been marked as a duplicate of bug 281523 ***