First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 105862
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo for Mac OS X <ppc-macos@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Dirk Schoenberger <dirk.schoenberger@freenet.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
ebuild.diff patch for star-1.5_alpha62.ebuild patch Fabian Groffen 2005-09-15 10:33 0000 800 bytes Details | Diff
ebuild.diff star-1.5_alpha62.ebuild 2 patch Fabian Groffen 2005-09-16 11:31 0000 1019 bytes Details | Diff
ebuild.diff star-1.5_alpha62.ebuild 3 patch Fabian Groffen 2005-09-16 11:41 0000 1.16 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 105862 depends on: Show dependency tree
Show dependency graph
Bug 105862 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-09-13 14:24 0000
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 From Fabian Groffen 2005-09-15 10:33:05 0000 -------
Created an attachment (id=68519) [edit]
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 From Dirk Schoenberger 2005-09-15 15:20:33 0000 -------
> 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 From Fabian Groffen 2005-09-16 00:30:05 0000 -------
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 From Fabian Groffen 2005-09-16 11:31:53 0000 -------
Created an attachment (id=68597) [edit]
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 From Fabian Groffen 2005-09-16 11:41:20 0000 -------
Created an attachment (id=68602) [edit]
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 From Dirk Schoenberger 2005-09-16 14:22:35 0000 -------
> 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 From Fabian Groffen 2005-09-16 14:57:54 0000 -------
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 From Fabian Groffen 2006-06-22 12:03:25 0000 -------
star-1.5_alpha74 compiles out of the box.
~ppc-macos

First Last Prev Next    No search results available      Search page      Enter new bug