| Summary: | yaboot not making (missing compile variable?) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Aaron <spamblock> |
| Component: | Current packages | Assignee: | PPC Porters <ppc> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | PPC | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Aaron
2003-04-04 16:16:07 UTC
I have looked at the ebuild for yaboot a bit more, and I think I found the problem.
In the ebuild for yaboot-1.3.10-r2, when compared to yaboot-1.3.10-r1, there was one option changed: the line of "emake ${MAKEOPTS} || die" in 1.3.10-r1 was changed to " emake ${MAKEOPTS} CC="${CC}" || die" in 1.3.10-r2. I changed it back (removing the CC="${CC}" part), and yaboot emerged fine. So, unless you really meant to have the CC="${CC}" bit in there, I would propose the following patch to yaboot-1.3.10-r2.ebuild:
29c29
< emake ${MAKEOPTS} || die
---
> emake ${MAKEOPTS} CC="${CC}" || die
there is something else wrong, it is working fine here. do you use any particulare gcc front-end? like distcc or gcc-color? No, I've not changed anything about the compile environment at all. In fact, that may be the problem, as $CC isn't defined on my system (which seems to be the core of the problem here). Though, since I haven't changed anything about the environment regarding compiling, I'm not clear where I should have. thanks. please try adding before the epatch line
[-n ${CC}]||CC="gcc"
The make complained with: /usr/sbin/ebuild.sh: line 27: [-n: command not found but then went on to compile and install as expected. sorry
[ -n "${CC}" ] || CC="gcc"
that worked. yaboot made and installed without errors. Thanks. ok, closing it then. Thanks for you help |