Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo for Mac OS X (Portage for Mac OS X)
  • Search

emerge portage failing on debianutils

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
Advanced search
9 posts • Page 1 of 1
Author
Message
utopyr
n00b
n00b
User avatar
Posts: 27
Joined: Mon Oct 13, 2003 4:27 am
Location: Several Georgias

emerge portage failing on debianutils

  • Quote

Post by utopyr » Mon Oct 11, 2004 10:44 pm

I've installed the macos onto a G3 iBook from the BitTorrent download, bootstrapped, gotten

Code: Select all

emerge system
to do its thing, and then am told there is a new version of portage--

Code: Select all

emerge -v portage
hangs up up on debianutils, thus:

Code: Select all

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?
Top
Yogh
n00b
n00b
User avatar
Posts: 11
Joined: Tue Oct 12, 2004 5:17 am

I concur

  • Quote

Post by Yogh » Tue Oct 12, 2004 5:36 am

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.
Top
Yogh
n00b
n00b
User avatar
Posts: 11
Joined: Tue Oct 12, 2004 5:17 am

Its fixed :)

  • Quote

Post by Yogh » Tue Oct 12, 2004 7:37 am

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: Select all

cd /usr/lib/portage/bin/
cp dosbin dosbin.bak
nano -w dosbin
Now edit line 21

Code: Select all

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

Code: Select all

                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.
Top
birdy
n00b
n00b
Posts: 10
Joined: Thu Oct 07, 2004 6:48 am

  • Quote

Post by birdy » Wed Oct 13, 2004 6:45 am

nice, thank you very much :D
Top
wickedmm
n00b
n00b
User avatar
Posts: 7
Joined: Mon Jul 21, 2003 8:05 pm
Location: El Paso, TX
Contact:
Contact wickedmm
Website

error in dosbin

  • Quote

Post by wickedmm » Thu Oct 14, 2004 5:29 am

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
Top
JohnGalt00
n00b
n00b
Posts: 38
Joined: Tue Jan 13, 2004 12:35 am

  • Quote

Post by JohnGalt00 » Sat Oct 16, 2004 5:05 pm

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

Code: Select all

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]
Top
wickedmm
n00b
n00b
User avatar
Posts: 7
Joined: Mon Jul 21, 2003 8:05 pm
Location: El Paso, TX
Contact:
Contact wickedmm
Website

collision protection

  • Quote

Post by wickedmm » Sat Oct 16, 2004 5:22 pm

http://gentoo-wiki.com/Gentoo_MacOS#Abo ... 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
Top
JohnGalt00
n00b
n00b
Posts: 38
Joined: Tue Jan 13, 2004 12:35 am

  • Quote

Post by JohnGalt00 » Sat Oct 16, 2004 5:50 pm

that worked. thanks.
Top
utopyr
n00b
n00b
User avatar
Posts: 27
Joined: Mon Oct 13, 2003 4:27 am
Location: Several Georgias

  • Quote

Post by utopyr » Fri Oct 22, 2004 10:27 am

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.
Top
Locked

9 posts • Page 1 of 1

Return to “Gentoo for Mac OS X (Portage for Mac OS X)”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy