Opened 3 years ago

Closed 3 years ago

#63789 closed defect (fixed)

libgcc-devel @12-20211031: Hunk #1 FAILED at 64

Reported by: AP1010 Owned by: chrstphrchvz (Christopher Chavez)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: monterey Cc: chrstphrchvz (Christopher Chavez)
Port: libgcc-devel

Description

Patching fails with:

patching file gcc/config.gcc
Hunk #1 succeeded at 686 with fuzz 1 (offset 2 lines).
patching file gcc/config/darwin-c.c
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file gcc/config/darwin-c.c.rej
patching file gcc/config/darwin-driver.c
Hunk #1 FAILED at 64.

Attachments (1)

main.log (7.7 KB) - added by AP1010 3 years ago.

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by AP1010

Attachment: main.log added

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: monterey added; libgcc-devel patch removed
Summary: libgcc-devel (20211031) fails to build on MacOS 12.0.1 (Monterey)libgcc-devel @12-20211031: Hunk #1 FAILED at 64

The port has no maintainer. Feel free to submit a pull request to fix it if you know how.

comment:2 Changed 3 years ago by AP1010

It looks like the patch:

patch-min-fixes-for-macOS-12-Monterey.x86.diff

is no longer needed (applied upstream already?). Commenting-out the following line in the Portfile:

patchfiles-append patch-min-fixes-for-macOS-12-Monterey.x86.diff

seems to be fixing the problem and allows the port to build.

comment:3 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

comment:4 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:5 Changed 3 years ago by chrstphrchvz (Christopher Chavez)

Owner: set to chrstphrchvz
Resolution: fixed
Status: newclosed

In 341479fb9ba771be9b9fba033dc70f7d1797eae4/macports-ports (master):

gcc-devel: drop patch

Superseded by upstream changes
Fixes: #63789

Note: See TracTickets for help on using tickets.