View previous topic :: View next topic |
Author |
Message |
utopyr n00b
Joined: 13 Oct 2003 Posts: 27 Location: Several Georgias
|
Posted: Mon Oct 11, 2004 10:44 pm Post subject: emerge portage failing on debianutils |
|
|
I've installed the macos onto a G3 iBook from the BitTorrent download, bootstrapped, gotten to do its thing, and then am told there is a new version of 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 |
|
|
Yogh n00b
Joined: 12 Oct 2004 Posts: 11
|
Posted: Tue Oct 12, 2004 5:36 am Post subject: I concur |
|
|
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 |
|
|
Yogh n00b
Joined: 12 Oct 2004 Posts: 11
|
Posted: Tue Oct 12, 2004 7:37 am Post subject: Its fixed :) |
|
|
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 |
|
|
birdy n00b
Joined: 07 Oct 2004 Posts: 10
|
Posted: Wed Oct 13, 2004 6:45 am Post subject: |
|
|
nice, thank you very much |
|
Back to top |
|
|
wickedmm n00b
Joined: 21 Jul 2003 Posts: 7 Location: El Paso, TX
|
Posted: Thu Oct 14, 2004 5:29 am Post subject: error in dosbin |
|
|
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 |
|
|
JohnGalt00 n00b
Joined: 13 Jan 2004 Posts: 38
|
Posted: Sat Oct 16, 2004 5:05 pm Post subject: |
|
|
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 |
|
|
wickedmm n00b
Joined: 21 Jul 2003 Posts: 7 Location: El Paso, TX
|
Posted: Sat Oct 16, 2004 5:22 pm Post subject: collision protection |
|
|
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 |
|
|
JohnGalt00 n00b
Joined: 13 Jan 2004 Posts: 38
|
Posted: Sat Oct 16, 2004 5:50 pm Post subject: |
|
|
that worked. thanks. |
|
Back to top |
|
|
utopyr n00b
Joined: 13 Oct 2003 Posts: 27 Location: Several Georgias
|
Posted: Fri Oct 22, 2004 10:27 am Post subject: |
|
|
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 |
|
|
|