Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 105862 - error while emerging app-arch/star-1.5_alpha62
Summary: error while emerging app-arch/star-1.5_alpha62
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-13 14:24 UTC by Dirk Schoenberger
Modified: 2006-06-22 12:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for star-1.5_alpha62.ebuild (ebuild.diff,800 bytes, patch)
2005-09-15 10:33 UTC, Fabian Groffen
Details | Diff
star-1.5_alpha62.ebuild 2 (ebuild.diff,1019 bytes, patch)
2005-09-16 11:31 UTC, Fabian Groffen
Details | Diff
star-1.5_alpha62.ebuild 3 (ebuild.diff,1.16 KB, patch)
2005-09-16 11:41 UTC, Fabian Groffen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dirk Schoenberger 2005-09-13 14:24:40 UTC
while trying to emerge star 1.5 I ran into the following problem

make[2]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/lib/libschily.a] Error 1
make[1]: *** [install] Error 2
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/libdeflt"
        ==> MAKING "install" ON SUBCOMPONENT "SRCROOT/libdeflt/libdeflt.mk"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/lib/libdeflt.a"
chown: bin: Invalid argument
make[2]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/lib/libdeflt.a] Error 1
make[1]: *** [install] Error 2
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/librmt"
        ==> MAKING "install" ON SUBCOMPONENT "SRCROOT/librmt/librmt.mk"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/lib/librmt.a"
chown: bin: Invalid argument
make[2]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/lib/librmt.a] Error 1
make[1]: *** [install] Error 2
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/star"
        ==> MAKING DIRECTORY "/var/tmp/portage/star-1.5_alpha62/image//usr/bin"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/bin/star_fat"
chown: bin: Invalid argument
make[1]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/bin/star_fat] Error 1
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/mt"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/bin/smt"
chown: bin: Invalid argument
make[1]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/bin/smt] Error 1
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/rmt"
        ==> MAKING DIRECTORY "/var/tmp/portage/star-1.5_alpha62/image//usr/sbin"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/sbin/rmt"
chown: bin: Invalid argument
make[1]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/sbin/rmt] Error 1
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/star_sym"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/bin/star_sym"
chown: bin: Invalid argument
make[1]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/bin/star_sym] Error 1
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/tartest"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/bin/tartest"
chown: bin: Invalid argument
make[1]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/bin/tartest] Error 1
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/man"
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/man/man1"
        ==> MAKING DIRECTORY "/var/tmp/portage/star-1.5_alpha62/image//usr/man/man1"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/man/man1/match.1"
chown: bin: Invalid argument
make[2]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/man/man1/match.1] Error 1
        ==> MAKING "install" ON SUBDIRECTORY "SRCROOT/man/man4"
        ==> MAKING "install" ON SUBCOMPONENT "SRCROOT/man/man4/makefiles.mk"
        ==> MAKING DIRECTORY "/var/tmp/portage/star-1.5_alpha62/image//usr/man/man5"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/man/man5/makefiles.5"
chown: bin: Invalid argument
make[3]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/man/man5/makefiles.5] Error 1
        ==> MAKING "install" ON SUBCOMPONENT "SRCROOT/man/man4/makerules.mk"
        ==> INSTALLING "/var/tmp/portage/star-1.5_alpha62/image//usr/man/man5/makerules.5"
chown: bin: Invalid argument
make[3]: *** [/var/tmp/portage/star-1.5_alpha62/image//usr/man/man5/makerules.5] Error 1
make[2]: *** [install] Error 2
make[1]: *** [install] Error 2
make: *** [install] Error 2

!!! ERROR: app-arch/star-1.5_alpha62 failed.
!!! Function src_install, Line 46, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.52-r1 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power Macintosh)
===============================================================
==
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos ~ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc emboss imagemagick nls png ppc-macos sdl userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Fabian Groffen gentoo-dev 2005-09-15 10:33:05 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?
Comment 2 Dirk Schoenberger 2005-09-15 15:20:33 UTC
> 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"
Comment 3 Fabian Groffen gentoo-dev 2005-09-16 00:30:05 UTC
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.
Comment 4 Fabian Groffen gentoo-dev 2005-09-16 11:31:53 UTC
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.
Comment 5 Fabian Groffen gentoo-dev 2005-09-16 11:41:20 UTC
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
Comment 6 Dirk Schoenberger 2005-09-16 14:22:35 UTC
> 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
Comment 7 Fabian Groffen gentoo-dev 2005-09-16 14:57:54 UTC
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
Comment 8 Fabian Groffen gentoo-dev 2006-06-22 12:03:25 UTC
star-1.5_alpha74 compiles out of the box.
~ppc-macos