Opened 14 years ago

Closed 14 years ago

#23026 closed defect (fixed)

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

Reported by: farcaller@… Owned by: nox@…
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: Cc: avysk (Alexey Vyskubov)
Port: gtk2

Description

gtk+-2.16.8 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.

--->  Attempting to fetch gtk+-2.18.5.tar.bz2 from ftp://ftp.chg.ru/pub/X11/gnome/sources/gtk+/2.18/
--->  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.18.5" && /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 FAILED at 763.
1 out of 1 hunk FAILED -- saving rejects to file gtk/gtkimcontextsimple.c.rej
patching file gtk/gtkfilechooserdefault.c
Hunk #1 succeeded at 4094 (offset 2 lines).

Error: Status 1 encountered during processing.

Change History (4)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Keywords: gtk2 build patch +quartz removed
Owner: changed from macports-tickets@… to nox@…

comment:2 Changed 14 years ago by mf2k (Frank Schima)

Cc: tascafoo@… added

cc reporter of dup #23027.

comment:3 Changed 14 years ago by farcaller@…

Removing the patch solves compilation problem, but resulting gtk+ is suffering from #23028. Not sure if it's connected though.

comment:4 Changed 14 years ago by nox@…

Resolution: fixed
Status: newclosed

Patch removed in r61955

Note: See TracTickets for help on using tickets.