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
* ${EPREFIX}/bin/chgrp: changing group of
‘${EPREFIX}/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/eclass-debug.log’:
Operation not permitted
[ Repeated many times ]
>>> Unpacking source...
>>> Unpacking prefix-portage-2.2.7.tar.bz2 to
>>> /Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/work
>>> Source unpacked in
>>> /Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/work
* chgrp failure ignored with unprivileged user:
* chgrp danielibnzayd
${EPREFIX}/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/environment
* ${EPREFIX}/bin/chgrp: changing group of
‘${EPREFIX}/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/environment’:
Operation not permitted
>>> Preparing source in
>>> /Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/work/prefix-portage-2.2.7
>>> ...
* Applying portage-2.2.7-ebuildshell.patch ...
[ ok ]
* Applying portage-2.2.7-shebang-fixes.patch ...
[ ok ]
* Applying portage-2.2.7-sandbox.patch ...
[ ok ]
* Applying portage-2.2.7-macho-relative-install_names.patch ...
[ ok ]
* Disabling ipc...
>>> Source prepared.
^C
Exiting on signal 2
/Volumes/GENTOO/var/tmp/portage/._portage_reinstall_.axg752/bin/save-ebuild-env.sh:
line 119: declare: write error: Interrupted system call
Traceback (most recent call last):
File
"/Volumes/GENTOO/var/tmp/portage/._portage_reinstall_.axg752/bin/filter-bash-environment.py",
line 157, in <module>
re.compile(var_pattern), file_in, file_out)
File
"/Volumes/GENTOO/var/tmp/portage/._portage_reinstall_.axg752/bin/filter-bash-environment.py",
line 57, in filter_bash_environment
for line in file_in:
File "/Volumes/GENTOO/usr/lib/python3.3/codecs.py", line 1028, in iterdecode
for input in iterator:
KeyboardInterrupt
* ERROR: sys-apps/portage-2.2.7-r2::gentoo_prefix failed (prepare phase):
* filter-bash-environment.py failed
*
* Call stack:
* ebuild.sh, line 766: Called __ebuild_main 'prepare'
* phase-functions.sh, line 1000: Called __filter_readonly_variables
'--filter-features'
* phase-functions.sh, line 143: Called die
* The specific snippet of code:
* "${PORTAGE_PYTHON:-/Volumes/GENTOO/usr/bin/python}"
"${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" || die
"filter-bash-environment.py failed"
*
* If you need support, post the output of `emerge --info
'=sys-apps/portage-2.2.7-r2::gentoo_prefix'`,
* the complete build log and the output of `emerge -pqv
'=sys-apps/portage-2.2.7-r2::gentoo_prefix'`.
* The complete build log is located at
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/build.log'.
* The ebuild environment file is located at
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/environment'.
* Working directory:
'/Volumes/GENTOO/var/tmp/portage/._portage_reinstall_.axg752/pym'
* S:
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/work/prefix-portage-2.2.7'
/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/environment:
line 2587: syntax error: unexpected end of file
* ERROR: sys-apps/portage-2.2.7-r2::gentoo_prefix failed:
* error sourcing environment
*
* Call stack:
* misc-functions.sh, line 17: Called source
'/Volumes/GENTOO/var/tmp/portage/._portage_reinstall_.axg752/bin/ebuild.sh'
* ebuild.sh, line 541: Called die
* The specific snippet of code:
* source "${T}"/environment || \
* die "error sourcing environment"
*
* If you need support, post the output of `emerge --info
'=sys-apps/portage-2.2.7-r2::gentoo_prefix'`,
* the complete build log and the output of `emerge -pqv
'=sys-apps/portage-2.2.7-r2::gentoo_prefix'`.
* The complete build log is located at
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/build.log'.
* The ebuild environment file is located at
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/environment'.
* Working directory:
'/Volumes/GENTOO/var/tmp/portage/._portage_reinstall_.axg752/pym'
* S:
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/work/prefix-portage-2.2.7'
* Messages for package sys-apps/portage-2.2.7-r2:
* chgrp failure ignored with unprivileged user:
* chgrp danielibnzayd
${EPREFIX}/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/eclass-debug.log
* ${EPREFIX}/bin/chgrp: changing group of
‘${EPREFIX}/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/eclass-debug.log’:
Operation not permitted
[repeated many times]
* ERROR: sys-apps/portage-2.2.7-r2::gentoo_prefix failed (prepare phase):
* filter-bash-environment.py failed
*
* Call stack:
* ebuild.sh, line 766: Called __ebuild_main 'prepare'
* phase-functions.sh, line 1000: Called __filter_readonly_variables
'--filter-features'
* phase-functions.sh, line 143: Called die
* The specific snippet of code:
* "${PORTAGE_PYTHON:-/Volumes/GENTOO/usr/bin/python}"
"${PORTAGE_BIN_PATH}"/filter-bash-environment.py "${filtered_vars}" || die
"filter-bash-environment.py failed"
*
* If you need support, post the output of `emerge --info
'=sys-apps/portage-2.2.7-r2::gentoo_prefix'`,
* the complete build log and the output of `emerge -pqv
'=sys-apps/portage-2.2.7-r2::gentoo_prefix'`.
* The complete build log is located at
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/build.log'.
* The ebuild environment file is located at
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/environment'.
* Working directory:
'/Volumes/GENTOO/var/tmp/portage/._portage_reinstall_.axg752/pym'
* S:
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/work/prefix-portage-2.2.7'
* ERROR: sys-apps/portage-2.2.7-r2::gentoo_prefix failed:
* error sourcing environment
*
* Call stack:
* misc-functions.sh, line 17: Called source
'/Volumes/GENTOO/var/tmp/portage/._portage_reinstall_.axg752/bin/ebuild.sh'
* ebuild.sh, line 541: Called die
* The specific snippet of code:
* source "${T}"/environment || \
* die "error sourcing environment"
*
* If you need support, post the output of `emerge --info
'=sys-apps/portage-2.2.7-r2::gentoo_prefix'`,
* the complete build log and the output of `emerge -pqv
'=sys-apps/portage-2.2.7-r2::gentoo_prefix'`.
* The complete build log is located at
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/build.log'.
* The ebuild environment file is located at
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/temp/environment'.
* Working directory:
'/Volumes/GENTOO/var/tmp/portage/._portage_reinstall_.axg752/pym'
* S:
'/Volumes/GENTOO/var/tmp/portage/sys-apps/portage-2.2.7-r2/work/prefix-portage-2.2.7'
^C
====================================
Error in portage.process.run_exitfuncs
File "/Volumes/GENTOO/usr/lib/portage/pym/portage/process.py", line 179, in
run_exitfuncs
func(*targs, **kargs)
File "/Volumes/GENTOO/usr/lib/portage/pym/portage/__init__.py", line 260, in
__call__
rval = self._func(*wrapped_args, **wrapped_kwargs)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 478, in rmtree
return _rmtree_unsafe(path, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 375, in
_rmtree_unsafe
os.rmdir(path)
====================================
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/Volumes/GENTOO/usr/lib/portage/pym/portage/process.py", line 179, in
run_exitfuncs
func(*targs, **kargs)
File "/Volumes/GENTOO/usr/lib/portage/pym/portage/__init__.py", line 260, in
__call__
rval = self._func(*wrapped_args, **wrapped_kwargs)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 478, in rmtree
return _rmtree_unsafe(path, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 368, in
_rmtree_unsafe
_rmtree_unsafe(fullname, onerror)
File "/Volumes/GENTOO/usr/lib/python3.3/shutil.py", line 375, in
_rmtree_unsafe
os.rmdir(path)
KeyboardInterrupt
On Sun, 29 Dec 2013 11:02:45 +0100, Fabian Groffen wrote:
> On 29-12-2013 10:40:11 +0200, Daniel Ibn Zayd wrote:
>> [code]# Default portage user/group
>> PORTAGE_USER='danielibnzayd'
>> PORTAGE_GROUP='staff' [b]#was danielibnzayd[/b]
>> PORTAGE_ROOT_USER='danielibnzayd'
>>
>> # Default ownership of installed files.
>> PORTAGE_INST_UID="502"
>> PORTAGE_INST_GID="20"[/code] [b]#was 502[/b]
>>
>> ...and the error persists. I imagine there is a config file I am
>> overlooking?
>
> Also check $EPREFIX/usr/lib/portage/pym/portage/const_autotool.py the
> same stuff is in there. After changing that, you probably best
> re-emerge portage to make sure it's all registered correctly.
>
> Hope it helps,
> Fabian