#66102 closed defect (fixed)
botan @2.19.2: fails at patching stage
Reported by: | MaintenanceCosts | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | ventura | Cc: | |
Port: | botan |
Description
botan fails to install, at the patching stage, during a migration from Monterey to Ventura. It worked fine when I installed it on the Monterey system some time ago. I've tried cleaning and reinstalling botan, and then uninstalling and reinstalling all of MacPorts. No change. main.log is attached.
Attachments (1)
Change History (7)
Changed 2 years ago by MaintenanceCosts
comment:1 Changed 2 years ago by MaintenanceCosts
Summary: | botan fails at patching stage → botan 2.19.2 fails at patching stage |
---|
comment:2 follow-up: 4 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | ventura added |
---|---|
Summary: | botan 2.19.2 fails at patching stage → botan @2.19.2: fails at patching stage |
The log shows the problem is:
patching file 'src/build-data/cc/clang.txt' 1 out of 1 hunks failed--saving rejects to 'src/build-data/cc/clang.txt.rej'
The patch applies fine on my Catalina system, with fuzz:
patching file src/build-data/cc/clang.txt Hunk #1 succeeded at 76 with fuzz 2 (offset 3 lines). patching file src/build-data/cc/gcc.txt Hunk #1 succeeded at 89 with fuzz 1 (offset 2 lines).
Several other tickets are revealing to us that the patch
utility on Ventura does not support applying patches with fuzz. The patch should be regenerated. Somebody should also report this problem to Apple.
comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to ryandesign |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:4 Changed 2 years ago by jmroot (Joshua Root)
Several other tickets are revealing to us that the
patch
utility on Ventura does not support applying patches with fuzz. The patch should be regenerated. Somebody should also report this problem to Apple.
I suspect it's WAI, and that's not really a bad thing. Patches with fuzz can "succeed" in applying but produce an incorrect file.
main.log with error