From make.globals:
danielibnzayd@boojum /Volumes/GENTOO/etc $ grep danielibnzayd make.globals
PORTAGE_USER='danielibnzayd'
PORTAGE_ROOT_USER='danielibnzayd'
PORTAGE_ELOG_MAILURI="danielibnzayd"
PORTAGE_ELOG_MAILFROM="danielibnzayd@localhost"
danielibnzayd@boojum /Volumes/GENTOO/etc $ grep danielibnzayd
/Volumes/GENTOO/usr/lib/portage/pym/portage/const_autotool.py
portageuser = "danielibnzayd"
rootuser = "danielibnzayd"
Perhaps it helps to understand that OS X Tiger changed the default file
permissions such that every user also had a group with the same name/# as the
user ID. When upgrading to OS X Leopard, this was carried over, even though a
clean install of Leopard would place users in a primary group "staff" with GID
20.
So if I am not mistaken, the error log is showing an attempt to chgrp to
danielibnzayd which was my former primary group. I've changed all of these to
"staff/20" now, and have made that change in both places you suggested:
# Default portage user/group
PORTAGE_USER='danielibnzayd'
PORTAGE_GROUP='staff'
PORTAGE_ROOT_USER='danielibnzayd'
# Default ownership of installed files.
PORTAGE_INST_UID="502"
PORTAGE_INST_GID="20"
and
EPREFIX = "/Volumes/GENTOO"
SYSCONFDIR = "/Volumes/GENTOO/etc"
PORTAGE_BASE = "/Volumes/GENTOO/usr/lib/portage"
portagegroup = "staff"
portageuser = "danielibnzayd"
rootuser = "danielibnzayd"
rootuid = 502
rootgid = 20
PORTAGE_BASH = "/Volumes/GENTOO/bin/bash"
PORTAGE_MV = "/Volumes/GENTOO/bin/mv"
Thanks very much for your help! I really appreciate it.
On Sun, 29 Dec 2013 21:14:14 +0100, Fabian Groffen wrote:
> On 29-12-2013 15:42:53 +0200, Daniel Ibn Zayd wrote:
>> Thanks for the quick reply. The changes you recommend get me through
>> the initial check of dependencies to the emerge, at which point
>> something else kicks in and is trying to set group permissions
>> again....here is the run before I ^-C out of it:
>>
>> danielibnzayd@boojum /Volumes/GENTOO/usr/lib/portage/pym/portage $
>> emerge portage
>> Calculating dependencies... done!
>>
>>>>> Verifying ebuild manifests
>>
>>>>> Emerging (1 of 1) sys-apps/portage-2.2.7-r2
>> * prefix-portage-2.2.7.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-)
>> ... [ ok ]
>> * chgrp failure ignored with unprivileged user:
>> * chgrp danielibnzayd
>> ${EPREFIX}/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/eclass-debug.log
>
> Do you see danielibnzayd in $EPREFIX/etc/make.globals or
> $EPREFIX/usr/lib/portage/pym/portage/const_autotool.py at this point
> (grep for it)?
>
> Fabian