Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge portage failing on debianutils
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
utopyr
n00b
n00b


Joined: 13 Oct 2003
Posts: 27
Location: Several Georgias

PostPosted: Mon Oct 11, 2004 10:44 pm    Post subject: emerge portage failing on debianutils Reply with quote

I've installed the macos onto a G3 iBook from the BitTorrent download, bootstrapped, gotten
Code:
emerge system
to do its thing, and then am told there is a new version of portage--
Code:
emerge -v portage
hangs up up on debianutils, thus:
Code:
talon:~ utopyr$ emerge -v portage
Calculating dependencies ...done!
>>> emerge (1 of 2) sys-apps/debianutils-1.16.7-r4 to /
>>> md5 src_uri ;-) debianutils_1.16.7.tar.gz
>>> Checking debianutils_1.16.7.tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
>>> It appears that debianutils is already compiled; skipping.
>>> (clean to force compilation)
>>> Test phase [not enabled]: sys-apps/debianutils-1.16.7-r4

>>> Install debianutils-1.16.7-r4 into /var/tmp/portage/debianutils-1.16.7-r4/image/ category sys-apps
>>> dosbin: making installkernel executable...
install: --group=root: No such file or directory

!!! ERROR: sys-apps/debianutils-1.16.7-r4 failed.
!!! Function src_install, Line 56, Exitcode 71


Haven't found any clues here or among the bug reports--is there something obvious I'm missing?
Back to top
View user's profile Send private message
Yogh
n00b
n00b


Joined: 12 Oct 2004
Posts: 11

PostPosted: Tue Oct 12, 2004 5:36 am    Post subject: I concur Reply with quote

I'm getting the same error to the letter. The only thing I can think is that there isn't a root group on os x, just a root user and wheel group. I don't know how to "fix" this condition.

I actually ran into this problem during the emerge system instead of waiting till emerge portage.

I ran across something in a debian forum about adding the wheel group and using it instead when a program wanted to do something to or with the root group.
Back to top
View user's profile Send private message
Yogh
n00b
n00b


Joined: 12 Oct 2004
Posts: 11

PostPosted: Tue Oct 12, 2004 7:37 am    Post subject: Its fixed :) Reply with quote

I figured it out with the help of a friend :)

I've also accidentally deleted this post twice now so it's gettting more concise every time (except for this)

The error happens in the dosbin script which makes files executable. Dosbin calls install with old double-dash options and needs to use short options.

To fix edit the the dosbin file, but remember to back it up first
Code:

cd /usr/lib/portage/bin/
cp dosbin dosbin.bak
nano -w dosbin


Now edit line 21
Code:

                install -m0755 --owner=root --group=root "${x}" "${D}${DESTTREE}/sbin"

to
Code:

                install -m0755 -o root -g wheel "${x}" "${D}${DESTTREE}/sbin"


I changed group root to group wheel because group root doesn't exist, but I didn't test with group root.
Back to top
View user's profile Send private message
birdy
n00b
n00b


Joined: 07 Oct 2004
Posts: 10

PostPosted: Wed Oct 13, 2004 6:45 am    Post subject: Reply with quote

nice, thank you very much :D
Back to top
View user's profile Send private message
wickedmm
n00b
n00b


Joined: 21 Jul 2003
Posts: 7
Location: El Paso, TX

PostPosted: Thu Oct 14, 2004 5:29 am    Post subject: error in dosbin Reply with quote

Just wanted to let you guys know, the fix worked like a charm, and using '-g root' won't work (unless maybe you add root group ?!?). Thanks a lot for the info.
_________________
I do not suffer from insanity, I enjoy every minute of it
Back to top
View user's profile Send private message
JohnGalt00
n00b
n00b


Joined: 13 Jan 2004
Posts: 38

PostPosted: Sat Oct 16, 2004 5:05 pm    Post subject: Reply with quote

The fix worked for me, and now installing portage is failing:
Code:

existing file /usr/lib/portage/bin/archive-conf is not owned by this package
existing file /usr/lib/portage/bin/chkcontents is not owned by this package
existing file /usr/lib/portage/bin/db-update.py is not owned by this package
existing file /usr/lib/portage/bin/dispatch-conf is not owned by this package
existing file /usr/lib/portage/bin/dispatch-conf-dialog is not owned by this package
existing file /usr/lib/portage/bin/dobin is not owned by this package
existing file /usr/lib/portage/bin/doconfd is not owned by this package
existing file /usr/lib/portage/bin/dodir is not owned by this package
existing file /usr/lib/portage/bin/dodoc is not owned by this package
existing file /usr/lib/portage/bin/doenvd is not owned by this package

There are a bunch more of those, but you get the point. Looks like it failed on every file in /usr/lib/portage/bin. Those files should be owned by portage, so what's the deal?[/code]
Back to top
View user's profile Send private message
wickedmm
n00b
n00b


Joined: 21 Jul 2003
Posts: 7
Location: El Paso, TX

PostPosted: Sat Oct 16, 2004 5:22 pm    Post subject: collision protection Reply with quote

http://gentoo-wiki.com/Gentoo_MacOS#About_Collision_Protection

This should help, I had the same errors and this turning collision protectio off, (only for protage!) worked.
_________________
I do not suffer from insanity, I enjoy every minute of it
Back to top
View user's profile Send private message
JohnGalt00
n00b
n00b


Joined: 13 Jan 2004
Posts: 38

PostPosted: Sat Oct 16, 2004 5:50 pm    Post subject: Reply with quote

that worked. thanks.
Back to top
View user's profile Send private message
utopyr
n00b
n00b


Joined: 13 Oct 2003
Posts: 27
Location: Several Georgias

PostPosted: Fri Oct 22, 2004 10:27 am    Post subject: Reply with quote

Tried that a couple of times, but it didn't work for me. Got a couple of reasons to re-install Panther, so I'll try again from scratch later.

Thank y'all for the pointers--always something new to try, & learn from.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum