Subject: pkg/7436: gimp package patching fails
To: None <gnats-bugs@gnats.netbsd.org>
From: Mason Loring Bliss <mason@acheron.middleboro.ma.us>
List: netbsd-bugs
Date: 04/21/1999 10:35:51
>Number:         7436
>Category:       pkg
>Synopsis:       gimp package patching fails
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 21 10:35:00 1999
>Last-Modified:
>Originator:     Mason Loring Bliss
>Organization:
Mason Loring Bliss             ((  "In the drowsy dark cave of the mind dreams
mason@acheron.middleboro.ma.us  ))  build  their nest  with fragments  dropped
http://acheron.ne.mediaone.net ((   from day's caravan." - Rabindranath Tagore
>Release:        1999.04.20
>Environment:
	
System: NetBSD acheron.middleboro.ma.us 1.4_ALPHA NetBSD 1.4_ALPHA (MLB) #6: Fri Apr 16 00:17:25 EDT 1999 root@acheron.middleboro.ma.us:/usr/src/sys/arch/i386/compile/MLB i386


>Description:


>How-To-Repeat:

Try to build gimp.

>Fix:

I haven't tested the application that results from this yet, but it appears
that patch-ac should apply to Makefile.am, not Makefile.in. At the very
least, the patching phase goes through fine when patch-ac points to the
former file.

It looks like Makefile.in is generated from Makefile.am during the build
anyway, so having the changes happen to Makefile.am seems proper...

>Audit-Trail:
>Unformatted:
>> Checksum OK for gimp-1.0.4.tar.bz2.
>> Checksum OK for gimp-data-extras-1.0.0.tar.bz2.
===>  Extracting for gimp-1.0.4
===>  gimp-1.0.4 depends on executable: emacs - /usr/pkg/bin/emacs found
===>  gimp-1.0.4 depends on executable: gmake - /usr/pkg/bin/gmake found
===>  gimp-1.0.4 depends on file: /usr/pkg/bin/pkglibtool-1.2p1 - found===>  gimp-1.0.4 depends on installed package: jpeg-6b - jpeg-6b  found
===>  gimp-1.0.4 depends on installed package: gtk+-1.2.1 - gtk+-1.2.1  found
===>  gimp-1.0.4 depends on installed package: mpeg-1.2.1 - mpeg-1.2.1  found
===>  gimp-1.0.4 depends on installed package: png-1.0.3 - png-1.0.3  found
===>  gimp-1.0.4 depends on installed package: tiff-3.4 - tiff-3.4  found
===>  gimp-1.0.4 depends on installed package: xpm-3.4k - xpm-3.4k  found
===>  Patching for gimp-1.0.4
===>  Applying NetBSD patches for gimp-1.0.4
1 out of 1 hunks failed--saving rejects to plug-ins/MapObject/Makefile.in.rej
Patch /usr/pkgsrc/graphics/gimp/patches/patch-ac failed
*** Error code 1
Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.