[MacPorts] #31480: py25-htmldocs fails to install
#31480: py25-htmldocs fails to install -----------------------------+---------------------------------------------- Reporter: lminder@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: py25-htmldocs | Port: py25-htmldocs -----------------------------+---------------------------------------------- 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> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#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
#31480: py25-htmldocs: /bin/chmod: Argument list too long ------------------------------+--------------------------------------------- Reporter: lminder@… | Owner: eborisch@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: py25-htmldocs | ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r84795. -- Ticket URL: <https://trac.macports.org/ticket/31480#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31480: py25-htmldocs: /bin/chmod: Argument list too long ------------------------------+--------------------------------------------- Reporter: lminder@… | Owner: eborisch@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: py25-htmldocs | ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Replying to [ticket:31480 lminder@…]:
I'm not sure why I'm seeing this error while apparently most other people aren't.
Actually, with py25-htmldocs, I see the problem too; I don't with py27-htmldocs. py25-htmldocs installs 1605 files whereas py27-htmldocs installs only 1000 files, so py25-htmldocs' argument list would have been much longer. Probably nobody tested py25-htmldocs. But anyway it's fixed now. -- Ticket URL: <https://trac.macports.org/ticket/31480#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31480: py25-htmldocs: /bin/chmod: Argument list too long ------------------------------+--------------------------------------------- Reporter: lminder@… | Owner: eborisch@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: Port: py25-htmldocs | ------------------------------+--------------------------------------------- Comment(by eborisch@…): Thanks for fixing it! I'm not a tcl-er, so I was looking for any fuctional way to accomplish the task... You're correct -- I hadn't tested py25-htmldocs, just the others. -- Ticket URL: <https://trac.macports.org/ticket/31480#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts