[MacPorts] #38932: 'make install' fails when install group name contains a space

MacPorts noreply at macports.org
Thu Apr 25 13:40:03 PDT 2013


#38932: 'make install' fails when install group name contains a space
--------------------------+--------------------------------
 Reporter:  evansp2@…     |      Owner:  macports-tickets@…
     Type:  defect        |     Status:  new
 Priority:  High          |  Milestone:
Component:  ports         |    Version:  2.1.3
 Keywords:  installation  |       Port:
--------------------------+--------------------------------
 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.

-- 
Ticket URL: <https://trac.macports.org/ticket/38932>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list