I'm trying to install portage on a work Macbook Pro joined to a Windows domain. My primary group is "DOMAIN\domain users" (or "DOMAIN\\domain users", depending on perspective). On the 'env FEATURES="-collision-protect" emerge --oneshot portage' step (see url), I get this error: /Users/mohrrw1/.gentoo/usr/bin/install -c -d -m 755 -o "mohrrw1" -g "DOMAINdomain users" /Users/mohrrw1/.gentoo/var/tmp/portage/sys-apps/portage-2.2.00.14200/image//Users/mohrrw1/.gentoo/usr/lib/portage/bin /Users/mohrrw1/.gentoo/usr/bin/install: invalid group `DOMAINdomain users' make[1]: *** [install] Error 1 I have changed the name of the domain in my output, but it's otherwise the same. I tried using newgrp to switch to a group that doesn't have a backslash, but somehow emerge stuck with my default group. I don't have another machine to verify this with, but I might by the end of the week.
*** Bug 280325 has been marked as a duplicate of this bug. ***
Shouldn't this be the duplicate of bug 280325 instead of the other way around?
the other one was waiting for input
I changed PORTAGE_GROUP in make.globals to another group and everything worked. I did not think to tar up my .gentoo folder before doing this, so I don't have the same situation as before. However, with PORTAGE_GROUP reset to the group with the backslash, I continue to get the same error on 'emerge portage'. I also found that if I get it set up so that 'emerge portage' succeeds (single quote, double backslash), 'emerge portage' will reset it to something that doesn't. I tried editing pym/portage/const_autotool.py as suggested in the bug 280325. In this file, portagegroup has a double quote and a double backslash. I tried all combinations of double/single quotes and single/double/quadruple backslashes. Single and double backslashes compile and run, but give me the initial error. Quadruple backslashes do not compile.
Please try portage-2.2.00.14555. Sorry for the long wait. I cannot reproduce this problem because I'm not allowed to make a group with a backslash in the name (seems I'm protected against stupidities ;))