[MacPorts] #16476: git-core 1.6.0.1 instaweb fails, can't run perl
#16476: git-core 1.6.0.1 instaweb fails, can't run perl ------------------------------------+--------------------------------------- Reporter: walter@jacksonfish.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: git instaweb perl | Port: git-core ------------------------------------+--------------------------------------- Symptom: git instaweb fails as follows: {{{ $ git instaweb --httpd webrick (09-05 21:06) /opt/local/libexec/git-core/git-instaweb: line 6015: /usr/bin/env perl: No such file or directory [2008-09-05 21:06:29] INFO WEBrick 1.3.1 [2008-09-05 21:06:29] INFO ruby 1.8.6 (2007-03-13) [i686-darwin8.9.1] No known browser available. http://127.0.0.1:1234 }}} The web server is launched but it doesn't work because the gitweb.cgi file is not written. The reason seems to be that the Portfile has this: {{{ PERL_PATH="/usr/bin/env perl" }}} which causes trouble when git-instaweb does this: {{{ PERL='/usr/bin/env perl' ... "$PERL" -p -e "$script" "$1.tmp" > "$1" }}} I guess it's not surprising that setting PERL_PATH to something other than a path wouldn't work, but so far instaweb is the only thing I've tried that has the problem. -- Ticket URL: <http://trac.macports.org/ticket/16476> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16476: git-core 1.6.0.1 instaweb fails, can't run perl -------------------------------------+-------------------------------------- Reporter: walter@jacksonfish.com | Owner: bryan@larsen.st Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: git instaweb perl Port: git-core | -------------------------------------+-------------------------------------- Changes (by ryandesign@macports.org): * cc: walter@jacksonfish.com (removed) * cc: maccheck@gmail.com (added) * owner: macports-tickets@lists.macosforge.org => bryan@larsen.st -- Ticket URL: <http://trac.macports.org/ticket/16476#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16476: git-core 1.6.0.1 instaweb fails, can't run perl -------------------------------------+-------------------------------------- Reporter: walter@jacksonfish.com | Owner: bryan@larsen.st Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: git instaweb perl Port: git-core | -------------------------------------+-------------------------------------- Comment(by maccheck@gmail.com): Removing the PERL_PATH occurrences in the Portfile did the trick for me. Until now, I didn't find any incompatibilities due to that change. I attached my Portfile as a patch. -- Ticket URL: <http://trac.macports.org/ticket/16476#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16476: git-core 1.6.0.1 instaweb fails, can't run perl -------------------------------------+-------------------------------------- Reporter: walter@jacksonfish.com | Owner: bryan@larsen.st Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: git instaweb perl Port: git-core | -------------------------------------+-------------------------------------- Comment(by maccheck@gmail.com): I added the patch in the version update to git-core 1.6.0.2 as well (see #16546). -- Ticket URL: <http://trac.macports.org/ticket/16476#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16476: git-core 1.6.0.1 instaweb fails, can't run perl -------------------------------------+-------------------------------------- Reporter: walter@jacksonfish.com | Owner: bryan@larsen.st Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: git instaweb perl Port: git-core | -------------------------------------+-------------------------------------- Changes (by ryandesign@macports.org): * cc: ryandesign@macports.org (added) * status: new => closed * resolution: => fixed Comment: Fixed in r40118. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/16476#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts