pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building of abiword 3.0 fails on 6.1.5/amd64



On Fri, Dec 12, 2014 at 05:24:10PM +0000, Ottavio Caruso wrote:
> On 12 December 2014 at 11:23, Thomas Klausner <wiz%netbsd.org@localhost> wrote:
> > On Fri, Dec 12, 2014 at 09:20:41AM +0000, Ottavio Caruso wrote:
> >> I'm trying to build Abiword 3.0.0 from sources reusing the existing
> >> files (pointing to 2.8). I have changed Makefile.common pointing to
> >> 3.0.0 and updates PLIST. Presumably I should also modify all patches,
> >> because this is what I get with pkglint:
> >>
> >> -bash-4.3# pkglint
> >> ERROR: ../../editors/abiword/patches/patch-aa:3: Comment expected.
> >> WARN: ../../editors/abiword/patches/patch-aa:6: Unexpected end of hunk
> >> (-7,+7 expected).
> >> ERROR: ../../editors/abiword/patches/patch-ab:3: Comment expected.
> >> ERROR: ../../editors/abiword/patches/patch-ac:3: Comment expected.
> >> ERROR: ../../editors/abiword/patches/patch-ad:3: Comment expected.
> >> ERROR: ../../editors/abiword/patches/patch-sa:3: Comment expected.
> >> 5 errors and 1 warnings found. (Use -e for more details.)
> >
> > Something seems to be wrong in your checkout.
> > Remove editors/abiword and fetch it again, then try again.
> >  Thomas
> 
> 
> Ok, maybe I've found the right bit:
> 
> ===> Patching for abiword-3.0.0nb25
> => Applying pkgsrc patches for abiword-3.0.0nb25
> => Verifying /usr/pkgsrc/editors/abiword/../../editors/abiword/patches/patch-aa
> => Applying pkgsrc patch
> /usr/pkgsrc/editors/abiword/../../editors/abiword/patches/patch-aa
> Hmm...  Looks like a unified diff to me...
> The text leading up to this was:
> --------------------------
> |$NetBSD: patch-aa,v 1.12 2010/11/26 14:49:50 adam Exp $
> |
> |--- configure.orig     2010-06-13 21:17:37.000000000 +0000
> |+++ configure
> --------------------------
> Patching file configure using Plan A...
> Reversed (or previously applied) patch detected!  Assume -R? [y] n

The fundamental problem is that you're trying to build AbiWord 3.0
using pkgsrc patches for 2.8. The code base has changed substantially
between these releases, and the existing package won't necessarily be
something you can simply update a few lines in.

In the case of the first patch, all those fixes have already been
applied upstream, so it's no longer relevant for 3.0. If you want to
build AbiWord 3.0, you may have to do a fair amount of work to get it
into shape.

Dave



Home | Main Index | Thread Index | Old Index