See [url=https://bugs.gentoo.org/show_bug.cgi?id=504116]bug 504116[/url].
Created attachment 411582 [details, diff] small patch for crossdev
The patch in my above comment allows crossdev to at least run on my system (no openrc, so no /etc/init.d/functions.sh), even though it doesn't get very far building an AVR toolchain.
On my system only /lib64/gentoo/functions.sh exists
(In reply to Sergei Trofimovich from comment #3) > On my system only > /lib64/gentoo/functions.sh > exists It looks like your system is broken then, for some reason. I have separate /lib, /lib32 and /lib64, and gentoo-functions is installed in /lib.
(In reply to Michał Górny from comment #4) > (In reply to Sergei Trofimovich from comment #3) > > On my system only > > /lib64/gentoo/functions.sh > > exists > > It looks like your system is broken then, for some reason. I have separate > /lib, /lib32 and /lib64, and gentoo-functions is installed in /lib. Yeah, it's an orphan file. But I have that file (also orphan) on many gentoo systems. I'm sure I did not copy it manually.
(In reply to Sergei Trofimovich from comment #5) > (In reply to Michał Górny from comment #4) > > (In reply to Sergei Trofimovich from comment #3) > > > On my system only > > > /lib64/gentoo/functions.sh > > > exists > > > > It looks like your system is broken then, for some reason. I have separate > > /lib, /lib32 and /lib64, and gentoo-functions is installed in /lib. > > Yeah, it's an orphan file. > > But I have that file (also orphan) on many gentoo systems. > I'm sure I did not copy it manually. Maybe it'd worth to try to report a bug about this to gentoo-scripts maintainers and try to investigate. In any case, this isn't a blocker to this request. I've merged the PR fixing this.
(In reply to Michał Górny from comment #6) > Maybe it'd worth to try to report a bug about this to gentoo-scripts > maintainers and try to investigate. In any case, this isn't a blocker to > this request. > > I've merged the PR fixing this. If it's a https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-devel/crossdev?id=83ff3dd2c6eea0aeb079ccfcd57f0608d9572827 then it's slightly incorrect. sys-apps/gentoo-functions needs to be a runtime depend.
Pushed, thanks.
I meant 'fixed' ;-).