Changes between Initial Version and Version 2 of Ticket #31480
- Timestamp:
- Oct 2, 2011, 2:04:32 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #31480
- Property Owner changed from macports-tickets@… to eborisch@…
- Property Keywords py25-htmldocs removed
-
Property
Summary
changed from
py25-htmldocs fails to install
topy25-htmldocs: /bin/chmod: Argument list too long
-
Ticket #31480 – Description
initial v2 3 3 Example: 4 4 5 {{{ 5 6 # port install py25-htmldocs 6 7 ---> Computing dependencies for py25-htmldocs … … 10 11 Error: Status 1 encountered during processing. 11 12 To report a bug, see <http://guide.macports.org/#project.tickets> 12 13 }}} 13 14 14 15 The relevant extract from the log is: 16 {{{ 15 17 :info:destroot sh: /bin/chmod: Argument list too long 16 18 :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 17 19 :error:destroot Target org.macports.destroot returned: shell command failed (see log for details) 20 }}} 18 21 19 20 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. 22 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. 21 23 22 24 I'm not sure why I'm seeing this error while apparently most other people aren't.