Opened 11 years ago

Closed 11 years ago

#38932 closed defect (invalid)

'make install' fails when install group name contains a space

Reported by: evansp2@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.1.3
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

Hello,

I'm working on a MacBook Pro running Mac OS X 10.8. I don't have root privileges on the machine, and am trying to install MacPorts into a local folder (somewhere off of my home folder).

After unpacking the 2.1.3 source download, I issue the following:

./configure --prefix=$HOME/macports  --enable-readline --with-install-user=$USER  --with-install-group="CORP\Domain Users"

This works. When I get to do "make install", I get the following output:

===> making install in doc
/usr/bin/install -c -d -o nbkjmov -g "CORP\Domain Users" -m 0755 /Users/nbkjmov/macports
/usr/bin/install -c -d -o nbkjmov -g "CORP\Domain Users" -m 0755 /Users/nbkjmov/macports/etc/macports
< prefix.mtree /usr/sbin/mtree -U -e -p /Users/nbkjmov/macports > /dev/null
mtree: line 6: unknown group "CORP\Domain
make[1]: *** [install] Error 1
make: *** [install] Error 1

FYI, I tried to fix the issue myself. E.g., I tried to edit ./Mk/macports.autoconfig.mk and I made sure the DSTGRP was set properly:

DSTGRP			= "CORP\Domain Users"

I added the double quotes. But still, the "make install" fails.

Change History (5)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Component: portsbase
Description: modified (diff)
Keywords: installation removed
Priority: HighNormal

Thanks. In the future, please use WikiFormatting in your ticket descriptions and avoid setting the Priority field.

comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

I don't think user and group names can have spaces in them (at an OS level). There may be "pretty" user-facing names that could have spaces in them, but there should still be an underlying "short" name for the group that does not contain spaces. Find out what it is and use that.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Normally on OS X your group name is the same as your username; try that.

comment:4 Changed 11 years ago by evansp2@…

Yup - you were right. I tried using a different group name, and everything worked fine. This ticket can be closed out.

Thank you,

-Paul

comment:5 Changed 11 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.