[MacPorts] #31480: py25-htmldocs: /bin/chmod: Argument list too long (was: py25-htmldocs fails to install)

MacPorts noreply at macports.org
Sat Oct 1 19:04:32 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@…):

  * owner:  macports-tickets@… => eborisch@…
  * keywords:  py25-htmldocs =>
 * cc: lminder@… (removed)


Old description:

> I cannot install py25-html due to too long argument list to chmod when
> staging.
>
> Example:
>
> # port install py25-htmldocs
> --->  Computing dependencies for py25-htmldocs
> --->  Staging py25-htmldocs into destroot
> Error: Target org.macports.destroot returned: shell command failed (see
> log for details)
> Log for py25-htmldocs is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_py-htmldocs/py25-htmldocs/main.log
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>
>

> The relevant extract from the log is:
> :info:destroot sh: /bin/chmod: Argument list too long
> :info:destroot shell command "chmod a+r `find
> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
> .org_release_ports_lang_py-
> htmldocs/py25-htmldocs/work/destroot/opt/local/share/doc/python25-doc
> -type f`" returned error 126
> :error:destroot Target org.macports.destroot returned: shell command
> failed (see log for details)
>

> 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.
>
> I'm not sure why I'm seeing this error while apparently most other people
> aren't.
>
> 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.

New description:

 I cannot install py25-html due to too long argument list to chmod when
 staging.

 Example:

 {{{
 # port install py25-htmldocs
 --->  Computing dependencies for py25-htmldocs
 --->  Staging py25-htmldocs into destroot
 Error: Target org.macports.destroot returned: shell command failed (see
 log for details)
 Log for py25-htmldocs is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_py-htmldocs/py25-htmldocs/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 The relevant extract from the log is:
 {{{
 :info:destroot sh: /bin/chmod: Argument list too long
 :info:destroot shell command "chmod a+r `find
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports
 .org_release_ports_lang_py-
 htmldocs/py25-htmldocs/work/destroot/opt/local/share/doc/python25-doc
 -type f`" returned error 126
 :error:destroot Target org.macports.destroot returned: shell command
 failed (see log for details)
 }}}

 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.

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

 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.

--

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


More information about the macports-tickets mailing list