[MacPorts] #31480: py25-htmldocs: /bin/chmod: Argument list too long

MacPorts noreply at macports.org
Sat Oct 1 19:07:43 PDT 2011


#31480: py25-htmldocs: /bin/chmod: Argument list too long
-----------------------------+----------------------------------------------
 Reporter:  lminder@…        |       Owner:  eborisch@…           
     Type:  defect           |      Status:  new                  
 Priority:  Normal           |   Milestone:                       
Component:  ports            |     Version:  2.0.3                
 Keywords:                   |        Port:  py25-htmldocs        
-----------------------------+----------------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)


Comment:

 Replying to [ticket:31480 lminder@…]:
 > It seems it would be possible to fix this by using a for loop, something
 like "{{{for i in `find blah` ;do chmod a+r "$i" ; done}}}".  I haven't
 tried, because I don't know how to correctly quote the $ in tcl.

 We shouldn't be using "system ... chmod ... find" at all; we have native
 Tcl commands for this: fs-traverse, file attributes -permissions, etc.

 > I'm not sure why I'm seeing this error while apparently most other
 people aren't.

 The directory path where MacPorts ends up building the port may be longer
 than other users'.

 > The version of py25-htmldocs is 2.5.4_1.  Curiously, 2.5.4_0 seemed to
 install fine, although I can't retry now.

 Yes, because that was the change made in 2.5.4_1; see r84554.

-- 
Ticket URL: <https://trac.macports.org/ticket/31480#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list