New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #22261 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

odcctools fails to patch

Reported by: saml@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: ports Version: 1.8.1
Keywords: odcctools Portfile twice Cc:
Port: odcctools

Description (last modified by blb@…) (diff)

bash-3.2# port install odcctools
--->  Computing dependencies for odcctools
--->  Applying patches to odcctools
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_odcctools/work/odcctools/odcctools" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/'" returned error 1
Command output: can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|---    2009-09-13 11:24:01.000000000 -0700
|+++ 2009-09-13 11:24:14.000000000 -0700
File to patch: 
Skip this patch? [y] 
Skipping patch.
1 out of 1 hunk ignored

Error: Status 1 encountered during processing.

As you can see above, it's replacing ${workpath}/${name} with odcctools twice in the name. I've verified this below:

I tried editing the portfile line 35:
system "patch -p0 -d ${workpath}/${name} -i ${filespath}/"

I've changed the -d to ${workpath/odcctools and it does that same thing, I've changed it to ${workpath} and it gives an error with no odcctools directory appended (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_odcctools/work) I've changed it to name and it gives just plain odcctools once, but some reason it keeps spitting out odcctools twice in the default configuration and also replacing ${name} with the odcctools.

This is on leopard 10.5.8. I'm trying to install odcctools to troubleshoot a g95 problem with some custom code.

Change History

comment:1 Changed 4 years ago by blb@…

  • Status changed from new to closed
  • Resolution set to duplicate
  • Description modified (diff)

Dup of #21693. See also #21355.

Note: See TracTickets for help on using tickets.