Summary: | sys-devel/crossdev should not source /etc/init.d/functions.sh | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Yurii Ivanov <yura.i1507> |
Component: | [OLD] Development | Assignee: | SpanKY <vapier> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alec, embedded, mgorny, slyfox, sven.koehler, toolchain |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 504116 | ||
Attachments: | small patch for crossdev |
Description
Yurii Ivanov
2015-02-03 11:55:43 UTC
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' ;-). |