How to upgrade a port after port live check ?
Ryan Carsten Schmidt
ryandesign at macports.org
Fri Mar 28 12:26:14 UTC 2025
On Mar 28, 2025, at 06:49, Christoph Kukulies wrote:
>
> Thanks. I followed the instructions in that link to the Wiki.
> Unfortunately I'm getting:
>
> ---> Applying patches to opencascade
> Error: Failed to patch opencascade: command execution failed
> Error:
There is a comment in the Portfile that one of the patch files won't be needed anymore with 7.9.0. Assuming that's accurate, you'll want to remove those lines from the Portfile along with removing the patch file from the files directory.
If you've already done that then one of the other remaining patch files is probably failing to apply. You'll need to read the .rej files that were created to see which portions of the patch were rejected. Then you open the file that should be patched and manually make changes equivalent to the rejected portion. Then you generate a new diff, replacing the old patch file. Then you clean and try again and repeat as needed.
More information about the macports-users
mailing list