Summary: | error while emerging app-arch/star-1.5_alpha62 | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Dirk Schoenberger <dirk.schoenberger> |
Component: | Mac OSX | Assignee: | Gentoo for Mac OS X <ppc-macos> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | merlin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | PPC | ||
OS: | OS X | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
patch for star-1.5_alpha62.ebuild
star-1.5_alpha62.ebuild 2 star-1.5_alpha62.ebuild 3 |
Description
Dirk Schoenberger
2005-09-13 14:24:40 UTC
Created attachment 68519 [details, diff]
patch for star-1.5_alpha62.ebuild
for ppc-darwin there was no ruleset. I guessed the ppc ruleset was close.
Compiled for me. Dirk, does this patch work for you too?
> for ppc-darwin there was no ruleset. I guessed the ppc ruleset was close.
> Compiled for me. Dirk, does this patch work for you too?
Compile seems to work.
Install fails with
==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/include/align.h"
chown: bin: Invalid argument
make[2]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/include/align.h] Error 1
==> MAKING "install" ON SUBCOMPONENT "SRCROOT/inc/avoffset.mk"
ah... then I need to patch some more, as it seems only for x86 or something user bin is being replaced with root. At least I think this problem is caused by a missing user bin. It worked for me because I think I have the user and forgot to remove it. By default it's not there. To be continued. Created attachment 68597 [details, diff]
star-1.5_alpha62.ebuild 2
Dirk, could you please try with this patch? It now also makes sure the bin
user is not used on darwin.
Created attachment 68602 [details, diff]
star-1.5_alpha62.ebuild 3
implemented suggestions by Kito:
- moved cd ${S}/RULES before the arch conditionals
- made 'use ppc-macos' 'use userland_Darwin' as this affects darwin only
> Dirk, could you please try with this patch? It now also makes sure the bin
> user is not used on darwin.
Tried with ebuild 3
Compiles fine, but still problems in install
Multiple errors like
==> MAKING DIRECTORY "/var/tmp/portage/star-1.5_alpha62/image//usr/include"
==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/include/align.h"
chgrp: root: Invalid argument
make[2]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/include/align.h] Error 1
most interesting. I uninstalled darwin-coretools and now I get the same error. Weird, because coreutils only adds a symlink for chgrp. I can't figure out how it calls the chgrp at the moment. The closest I can come is: RULES/rules.prg:CHGRP= @echo " ==> SETTING GROUP ON \"$@\""; chgrp star-1.5_alpha74 compiles out of the box. ~ppc-macos |