Tomcat5 patch fails due to ".." path component
I just did:
sudo port selfupdate
sudo port clean --all tomcat5
sudo port install tomcat5
Log ends with:
:debug:extract euid/egid changed to: 503/501
:debug:extract Privilege de-escalation not attempted as not running as root.
:debug:patch patch phase started at Fri Jul 29 16:08:14 CEST 2011
:debug:patch Executing org.macports.patch (tomcat5)
:notice:patch ---> Applying patches to tomcat5
:info:patch ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/tomcat5/files/patch-catalina.sh
:debug:patch Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_tomcat5/tomcat5/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_tomcat5/tomcat5/work/apache-tomcat-5.5.25-src/build" && /usr/bin/patch -p0'
:debug:patch Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_tomcat5/tomcat5/work/apache-tomcat-5.5.25-src/build" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/tomcat5/files/patch-catalina.sh'
:info:patch /usr/bin/patch: **** rejecting file name with ".." component: ../container/catalina/src/bin/catalina.sh
:info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_java_tomcat5/tomcat5/work/apache-tomcat-5.5.25-src/build" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/java/tomcat5/files/patch-catalina.sh'" returned error 2
:error:patch Target org.macports.patch returned: shell command failed (see log for details)
:debug:patch Backtrace: shell command failed (see log for details)
while executing
"command_exec patch "" "< '$patch'""
(procedure "portpatch::patch_main" line 35)
invoked from within
"$procedure $targetname"
Change History (6)
Cc: |
nic@… removed
|
Summary: |
Tomcat5 install on Lion fails →
Tomcat5 patch fails due to ".." path component
|
Owner: |
changed from macports-tickets@… to ryandesign@…
|
Status: |
new →
assigned
|
Resolution: |
→ fixed
|
Status: |
assigned →
closed
|
Cc Me!