[MacPorts] #38932: 'make install' fails when install group name contains a space
#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
#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
#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: | ------------------------+-------------------------------- Comment (by ryandesign@…): 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. -- Ticket URL: <https://trac.macports.org/ticket/38932#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#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: | ------------------------+-------------------------------- Comment (by ryandesign@…): Normally on OS X your group name is the same as your username; try that. -- Ticket URL: <https://trac.macports.org/ticket/38932#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#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: | ------------------------+-------------------------------- Comment (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 -- Ticket URL: <https://trac.macports.org/ticket/38932#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38932: 'make install' fails when install group name contains a space ------------------------+-------------------------------- Reporter: evansp2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: base | Version: 2.1.3 Resolution: invalid | Keywords: Port: | ------------------------+-------------------------------- Changes (by larryv@…): * status: new => closed * resolution: => invalid -- Ticket URL: <https://trac.macports.org/ticket/38932#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts