Opened 13 years ago

Last modified 13 years ago

#31480 closed defect

py25-htmldocs fails to install — at Initial Version

Reported by: lminder@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc:
Port: py25-htmldocs

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.

Change History (0)

Note: See TracTickets for help on using tickets.