Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280325 - portage-2.2.00.13878 fails in make install
Summary: portage-2.2.00.13878 fails in make install
Status: RESOLVED DUPLICATE of bug 285720
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 OS X
: High major
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-04 14:54 UTC by Mike Sears
Modified: 2009-09-21 18:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log (config.log,26.74 KB, text/plain)
2009-08-04 15:47 UTC, Mike Sears
Details
build log (build.log,13.02 KB, text/plain)
2009-08-04 16:01 UTC, Mike Sears
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Sears 2009-08-04 14:54:46 UTC
After executing 

env FEATURES="-collision-protect" emerge --oneshot portage 

(code listing 1.11 in Gentoo prefix guide for OS X),portage-2.2.00.13878 fails in make install due to '\' problem as in earlier bug.

>>> Install portage-2.2.00.13878 into /Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/image/Users/msears/Gentoo/ category sys-apps
make DESTDIR=/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/image/ install 
Making install in src
make[1]: Entering directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/src'
make[2]: Entering directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/src'
make[3]: Entering directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/src'
test -z "/Users/msears/Gentoo/usr/lib/portage/bin" || /Users/msears/Gentoo/bin/mkdir -p "/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/image//Users/msears/Gentoo/usr/lib/portage/bin"
  /Users/msears/Gentoo/usr/bin/install -c chpathtool '/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/image//Users/msears/Gentoo/usr/lib/portage/bin'
make[3]: Nothing to be done for `install-data-am'.
make[3]: Leaving directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/src'
make[2]: Leaving directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/src'
make[1]: Leaving directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/src'
Making install in man
make[1]: Entering directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/man'
make[2]: Entering directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/man'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/Users/msears/Gentoo/usr/share/man/man1" || /Users/msears/Gentoo/bin/mkdir -p "/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/image//Users/msears/Gentoo/usr/share/man/man1"
 /Users/msears/Gentoo/usr/bin/install -c -m 644 dispatch-conf.1 ebuild.1 egencache.1 emaint.1 emerge.1 env-update.1 etc-update.1 quickpkg.1 repoman.1 '/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/image//Users/msears/Gentoo/usr/share/man/man1'
test -z "/Users/msears/Gentoo/usr/share/man/man5" || /Users/msears/Gentoo/bin/mkdir -p "/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/image//Users/msears/Gentoo/usr/share/man/man5"
 /Users/msears/Gentoo/usr/bin/install -c -m 644 chpathtool.5 color.map.5 ebuild.5 make.conf.5 portage.5 '/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/image//Users/msears/Gentoo/usr/share/man/man5'
make[2]: Leaving directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/man'
make[1]: Leaving directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/man'
Making install in bin
make[1]: Entering directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/bin'
/Users/msears/Gentoo/usr/bin/install -c -d -m 755 -o "msears" -g "BRYNMAWRdomain users" /Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/image//Users/msears/Gentoo/usr/lib/portage/bin
/Users/msears/Gentoo/usr/bin/install: invalid group `BRYNMAWRdomain users'
make[1]: *** [install] Error 1
make[1]: Leaving directory `/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/work/prefix-portage-2.2.00.13878/bin'
make: *** [install-recursive] Error 1
 * ERROR: sys-apps/portage-2.2.00.13878 failed:
 *   make install failed.
 * 
 * Call stack:
 *               ebuild.sh:  64: <call src_install>
 *             environment:2632:     emake DESTDIR="${D}" install || die "make install failed.";
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.

>>> Failed to emerge sys-apps/portage-2.2.00.13878, Log file:

>>>  '/Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/temp/build.log'

 * Messages for package sys-apps/portage-2.2.00.13878:

 * ERROR: sys-apps/portage-2.2.00.13878 failed:
 *   make install failed.
 * 
 * Call stack:
 *               ebuild.sh:  64: <call src_install>
 *             environment:2632:     emake DESTDIR="${D}" install || die "make install failed.";
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.


Reproducible: Always

Steps to Reproduce:
1. env FEATURES="-collision-protect" emerge --oneshot portage 


Actual Results:  
see above

Expected Results:  
portage installed
Comment 1 Fabian Groffen gentoo-dev 2009-08-04 14:57:43 UTC
what's your current portage version?

emerge --version
Comment 2 Mike Sears 2009-08-04 15:33:27 UTC
Portage 2.2.00.13878-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.7.1 i386)
Comment 3 Fabian Groffen gentoo-dev 2009-08-04 15:35:04 UTC
is the information in pym/portage/const_autotool.py correct?
Comment 4 Mike Sears 2009-08-04 15:39:52 UTC
Yes:

EPREFIX      = "/Users/msears/Gentoo"
SYSCONFDIR   = "/Users/msears/Gentoo/etc"
DATADIR      = "/Users/msears/Gentoo/usr/share"
PORTAGE_BASE = "/Users/msears/Gentoo/usr/lib/portage"

portagegroup = "BRYNMAWR\domain users"
portageuser  = "msears"
rootuser     = "msears"        
rootuid      = 273009453
rootgid      = 1612776775

PORTAGE_BASH = "/Users/msears/Gentoo/bin/bash"
PORTAGE_MV   = "/Users/msears/Gentoo/bin/mv"
Comment 5 Fabian Groffen gentoo-dev 2009-08-04 15:44:07 UTC
can you attach the config.log file from var/tmp/portage/sys-apps/portage-2.2.00.13878/work please?
Comment 6 Mike Sears 2009-08-04 15:47:58 UTC
Created attachment 200160 [details]
config.log
Comment 7 Fabian Groffen gentoo-dev 2009-08-04 15:49:25 UTC
hmmmm, that's strange, but indeed wrong.
Comment 8 Fabian Groffen gentoo-dev 2009-08-04 15:51:14 UTC
is grep PORTAGE_GROUP $EPREFIX/etc/make.globals returning what you would expect?
Comment 9 Mike Sears 2009-08-04 15:53:04 UTC
yes:

PORTAGE_GROUP="BRYNMAWR\domain users"
Comment 10 Fabian Groffen gentoo-dev 2009-08-04 15:55:39 UTC
I'm starting to get lost
Comment 11 Mike Sears 2009-08-04 15:56:17 UTC
yikes...not good
Comment 12 Fabian Groffen gentoo-dev 2009-08-04 15:56:36 UTC
can you also attach the logfile from /Users/msears/Gentoo/var/tmp/portage/sys-apps/portage-2.2.00.13878/temp/
Comment 13 Mike Sears 2009-08-04 16:01:20 UTC
Created attachment 200161 [details]
build log
Comment 14 Fabian Groffen gentoo-dev 2009-08-04 16:03:01 UTC
can you bzgrep through the environment.bz2 file in that same dir for PORTAGE_GROUP please?
Comment 15 Mike Sears 2009-08-04 16:07:15 UTC
grep PORTAGE_GROUP environment
    econf --with-portage-user="${PORTAGE_USER:-portage}" --with-portage-group="${PORTAGE_GROUP:-portage}" --with-root-user="${rootuser}" --with-offset-prefix="${EPREFIX}" --with-default-path="${defaultpath}" || die "econf failed";
Comment 16 Fabian Groffen gentoo-dev 2009-08-04 16:21:49 UTC
does portage emerge when etc/make.globals is changed to
PORTAGE_GROUP='BRYNMAWR\domain users'
Comment 17 Mike Sears 2009-08-04 16:26:05 UTC
No, PORTAGE_GROUPS is (was) set to "BRYNMAWR\domain user"
Comment 18 Mike Sears 2009-08-04 16:26:45 UTC
users that is
Comment 19 Fabian Groffen gentoo-dev 2009-08-04 16:27:57 UTC
so if you change from double quotes to single quotes it still fails?

what if you change the single backslash into a double backslash?
Comment 20 Mike Sears 2009-08-04 16:31:22 UTC
double backslash worked (single quotes made no difference)
Comment 21 Mike Sears 2009-08-04 16:44:31 UTC
scratch that needed single quotes AND double backslash
Comment 22 Mike Sears 2009-08-04 16:46:49 UTC
scratch that needed single quotes AND double backslash
Comment 23 Mike Sears 2009-08-04 16:52:15 UTC
looks like I have a working portage/gentoo prefix now...Thanks!!!
Comment 24 Fabian Groffen gentoo-dev 2009-08-04 16:59:11 UTC
what is the final situation?  you always need double backslashes?
Comment 25 Fabian Groffen gentoo-dev 2009-08-04 17:04:30 UTC
if you edit pym/portage/const_autotool.py and insert a double backslash there too, does portage still work?
Comment 26 Mike Sears 2009-08-04 17:24:37 UTC
1. Always need single quote, double backslashes in make.globals
2. Editing pym/portage/const_autotool.py has no effect (doesn't compile).
Comment 27 Fabian Groffen gentoo-dev 2009-08-27 12:17:13 UTC
I'm affraid this is still a problem?
Comment 28 Fabian Groffen gentoo-dev 2009-09-21 18:29:17 UTC
it apparently is

*** This bug has been marked as a duplicate of bug 285720 ***