Ticket #30156 (closed defect: fixed)
rtf2latex2e fails during patching due to ".." path component
| Reported by: | ak@… | Owned by: | jmpp@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | haspatch | Cc: | terry@…, mark@…, dgh@…, haveaniceday87@…, jmsaxer@…, ryandesign@… |
| Port: | rtf2latex2e |
Description
Hello, I have a problem with installing rtf2latex2e which crashes during the patching stage
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_rtf2latex2e/work/rtf2latex2eUnix-1.0fc1/Unix" && /usr/bin/patch -p0'
:info:patch patching file Makefile.in
:info:patch ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/ports/tex/rtf2latex2e/files/patch-rtf2LaTeX2e.h.diff
: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_ports_tex_rtf2latex2e/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.5'
:debug:patch Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_rtf2latex2e/work/rtf2latex2eUnix-1.0fc1/Unix" && /usr/bin/patch -p0'
:info:patch /usr/bin/patch: **** rejecting file name with ".." component: ../src/include/rtf2LaTeX2e.h
:info:patch shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_rtf2latex2e/work/rtf2latex2eUnix-1.0fc1/Unix" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/tex/rtf2latex2e/files/patch-rtf2LaTeX2e.h.diff'" 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'""
("default" arm line 1)
invoked from within
"switch -- [file extension $patch] {
.Z -
.gz {command_exec patch "$gzcat \"$patch\" | (" ")"}
.bz2 {command_exec p..."
(procedure "portpatch::patch_main" line 31)
invoked from within
"$procedure $targetname"
:info:patch Warning: the following items did not execute (for rtf2latex2e): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:patch Log for rtf2latex2e is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_tex_rtf2latex2e/main.log
Any idea how to fix that?
Thanks, Adam
Attachments
Change History
comment:1 Changed 23 months ago by macsforever2000@…
- Owner changed from macports-tickets@… to jmpp@…
comment:2 Changed 23 months ago by jmr@…
- Summary changed from rtf2latex2e fails during patching on Leopard 10.5 to rtf2latex2e fails during patching due to ".." path component
The patches will need to be changed to not use .. in the file paths.
comment:3 follow-up: ↓ 4 Changed 21 months ago by macports@…
The rtf2latex2e has been updated to 2-0-1. I've updated the Portfile to work with that version.
comment:4 in reply to: ↑ 3 ; follow-up: ↓ 5 Changed 21 months ago by macports@…
Replying to macports@…:
The rtf2latex2e has been updated to 2-0-1. I've updated the Portfile to work with that version.
Oops, turns out it install, but then rtf2latex2e doesn't work. Working on it.
comment:5 in reply to: ↑ 4 ; follow-up: ↓ 8 Changed 21 months ago by macports@…
Replying to macports@…:
Replying to macports@…:
The rtf2latex2e has been updated to 2-0-1. I've updated the Portfile to work with that version.
Oops, turns out it install, but then rtf2latex2e doesn't work. Working on it.
Fixed.
comment:8 in reply to: ↑ 5 ; follow-up: ↓ 9 Changed 13 months ago by jmsaxer@…
Does not seem to be fixed. I get the same error as mark. Any news on this?
comment:9 in reply to: ↑ 8 Changed 13 months ago by haveaniceday87@…
Replying to jmsaxer@…:
Does not seem to be fixed. I get the same error as mark. Any news on this?
Same here
comment:10 Changed 13 months ago by ryandesign@…
- Cc dgh@…, haveaniceday87@…, jmsaxer@… added
- Keywords haspatch added
Has duplicate #34173.
comment:11 Changed 13 months ago by ryandesign@…
- Status changed from new to closed
- Cc ryandesign@… added
- Resolution set to fixed


rtf2latex2e main.log