Error building GnuCash OSX/Quartz (svn)

John Ralls jralls at ceridwen.us
Tue Jun 22 20:10:25 EDT 2010


On Jun 22, 2010, at 3:45 PM, John Ralls wrote:

> 
> On Jun 22, 2010, at 1:13 PM, Geert Janssens wrote:
> 
>> Got this today when trying to build:
>> 
>> *** Checking out gtk+ *** [23/70]
>> curl --continue-at - -L 
>> http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.20/gtk+-2.20.1.tar.bz2 -o 
>> /Users/janssege/gtk/source/pkgs/gtk+-2.20.1.tar.bz2
>> % Total    % Received % Xferd  Average Speed   Time    Time     Time  
>> Current
>>                               Dload  Upload   Total   Spent    Left  Speed
>> 100 18.2M  100 18.2M    0     0  1905k      0  0:00:09  0:00:09 --:--:-- 1522k
>> bunzip2 -dc "/Users/janssege/gtk/source/pkgs/gtk+-2.20.1.tar.bz2" | tar xf -
>> *** Applying patch http://github.com/jralls/gtk-osx-
>> build/raw/master/patches/gdk-quartz-input-window.patch *** [23/70]
>> patch -p1 < "/Users/janssege/.cache/jhbuild/gdk-quartz-input-window.patch"
>> patching file gdk/quartz/gdkwindow-quartz.c
>> Hunk #1 succeeded at 3038 (offset 54 lines).
>> Hunk #2 FAILED at 3102.
>> 1 out of 2 hunks FAILED -- saving rejects to file gdk/quartz/gdkwindow-
>> quartz.c.rej
>> *** Error during phase checkout of gtk+: ########## Error running patch -p1 < 
>> "/Users/janssege/.cache/jhbuild/gdk-quartz-input-window.patch" *** [23/70]
>> 
>> This is in my usual setup, trying to build gnucash-svn.
>> 
> 
> Oh, sorry, I forgot to take the second hunk out of the patch. It fails because the second part is already in Gtk+. You can just tell jhbuild to ignore the error and continue to configure.
> 

Strike that. The patch needs to come out, and of course it breaking stopped the other patches from applying.
Turns out the gtkselection patch fails, too. 

All fixed now.

You'll need to delete the directory /Users/janssege/gtk/source/gtk+-2.20.1 and restart the build.

Regards,
John Ralls




More information about the gnucash-devel mailing list