Opened 15 years ago

Closed 15 years ago

#21009 closed defect (fixed)

gtk+-2.16.6 +quartz build fails while applying patch-gnome-bug-531599.diff

Reported by: hgbrauen@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: gtk2 build patch +quartz Cc:
Port: gtk2

Description

gtk+-2.16.6 quartz variant produces the following error while applying patches during build. Patch file patch-gnome-bug-531599.diff is appended for the quartz variant and fails while patching gtkfilechooserdefault.c.

sudo port install gtk2
--->  Computing dependencies for gtk2
--->  Fetching gtk2
--->  Verifying checksum(s) for gtk2
--->  Extracting gtk2
--->  Applying patches to gtk2
Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_gtk2/work/gtk+-2.16.6" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/x11/gtk2/files/patch-gnome-bug-531599.diff'" returned error 1
Command output: patching file gtk/gtkaccelgroup.c
Hunk #1 succeeded at 1418 (offset 120 lines).
patching file gtk/gtkaccelgroup.h
Hunk #1 succeeded at 160 (offset 8 lines).
patching file gtk/gtkimcontextsimple.c
Hunk #1 succeeded at 867 (offset 104 lines).
patching file gtk/gtkfilechooserdefault.c
Hunk #1 FAILED at 3692.
Hunk #2 succeeded at 4093 (offset 22 lines).
1 out of 2 hunks FAILED -- saving rejects to file gtk/gtkfilechooserdefault.c.rej

Error: Status 1 encountered during processing.

Mac OS 10.5.8
Xcode 3.1.2

Change History (3)

comment:1 Changed 15 years ago by hgbrauen@…

Build succeeds when line 201 is deleted from the Portfile:

    patchfiles-append       patch-gnome-bug-531599.diff

comment:2 Changed 15 years ago by nerdling (Jeremy Lavergne)

Owner: changed from macports-tickets@… to nox@…

comment:3 Changed 15 years ago by nox@…

Resolution: fixed
Status: newclosed

should be fixed by r56910

Note: See TracTickets for help on using tickets.