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

MacPorts noreply at macports.org
Thu Apr 25 14:26:29 PDT 2013


#38932: 'make install' fails when install group name contains a space
------------------------+--------------------------------
  Reporter:  evansp2@…  |      Owner:  macports-tickets@…
      Type:  defect     |     Status:  new
  Priority:  Normal     |  Milestone:
 Component:  base       |    Version:  2.1.3
Resolution:             |   Keywords:
      Port:             |
------------------------+--------------------------------
Changes (by larryv@…):

 * priority:  High => Normal
 * keywords:  installation =>
 * component:  ports => base


Old description:

> 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.

New description:

 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.

--

Comment:

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

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


More information about the macports-tickets mailing list