[ooo-build] Applying of Patches Fails When Building ooo-build 3.2.1.4

Kohei Yoshida kyoshida at novell.com
Fri Jun 18 17:11:37 PDT 2010


On Fri, 2010-06-18 at 16:58 -0700, ooo-build at opennix.com wrote:
> On 06/18/2010 04:36 PM, Kohei Yoshida wrote:
> > On Fri, 2010-06-18 at 15:18 -0700, ooo-build at opennix.com wrote:
> >
> >> Testing patch calc-perf-speedup-pagebreak-update.diff failed. at
> >> /tmp/ooo-build-3.2.1.4/patches/apply.pl line 98.
> >> make: *** [stamp/patch.apply] Error 1
> >>
> >>
> >> This also happened with 3.2.1.3, which was the first 3.2.1 version I
> >> attempted to build.
> >>
> >> Any help is appreciated.  Please let me know if more information is
> >> required.
> >
> > Check the version of your patch program.  If it's not 2.5.9, try to
> > upgrade it to that version.  My gut feeling is that you are using a
> > version older than 2.5.9 which is known to choke on applying that above
> > patch (of mine).
> >
> > Kohei
> >
> 
> Kohei,
> 
> Thanks for the tip.  The version of patch that ships with Slackware 13.1 
> is 2.5.4.  I'll upgrade to 2.5.9 and try again.
> 
> Did something change with the calc-perf-speedup-pagebreak-update.diff 
> patch from the 3.2.0 branch and the 3.2.1 branch?  I didn't have 
> problems building ooo-build 3.2.0.x with patch version 2.5.4.

I may have hand-edited some hunks in that patch.  The older patch
programs were pretty picky on hand-crafted hunks especially when the
number of context line(s) before and after the changed line(s) were
different.

Petr just checked in a fix for that patch so that it would apply even
with the older patch versions.  So, you may want to try the latest from
the ooo-build-3-2-1 branch in case you can't (or don't want to) upgrade
your patch program.

HTH,

Kohei



More information about the ooo-build mailing list