Subject: patch problems with gimp-print(-lib) on MacOX X 10.1.5
To: None <tech-pkg@netbsd.org>
From: John D. Baker <jdbaker@mylinuxisp.com>
List: tech-pkg
Date: 02/26/2004 18:37:34
When trying to build gimp-print-lib from a current (as of a couple of days
ago) pkgsrc on MacOS X 10.1.5 (darwin5.5), the build step failed claiming
there was no rule to make target 'all:'.

Sure enough, the Makefile was a zero-length file.  Prior to this, the
configuration step emitted line after line of the form:

    sed: 46: contest.s1: Unescaped newline in substitution

or something similar.  It was tricky to track down, since config.status
and config.status.override cleanup after themselves even if errors occur.

Eventually I found the following in:

config.status.overridden: unmodified: line 96 of 715

s%@AUTOHEADER@%autoheader%g
s%@MAKEINFO@%/Volumes/NetBSD/pkgsrc/print/gimp-print/work/gimp-print-4.2.5/scripts
/Volumes/NetBSD/pkgsrc/print/gimp-print/work/gimp-print-4.2.5/scripts/missing makeinfo%g
s%@SET_MAKE@%%g


Somehow, and previous configuration/substitution/patch step didn't
complete the edit of the "@MAKEINFO@" item.  I manually edited
config.status.overridden to produce:

s%@AUTOHEADER@%autoheader%g
s%@MAKEINFO@%/Volumes/NetBSD/pkgsrc/print/gimp-print/work/gimp-print-4.2.5/scripts/missing makeinfo%g
s%@SET_MAKE@%%g


and then manually executed ./config.status from the source directory and
it seems to have worked fine.  Backing up to the package root, 'bmake
install' ran without incident.

print/gimp-print exhibited the exact same problems as print/gimp-print-lib.
and the same corrective actions allowed it to configure, build and install.

I have only observed this on MacOS 10.1.5.  MacOS 10.2.8 Jaguar did not
encounter any problems building all the dependencies leading to a fully
operational installation of GIMP.

Perhaps a fix can be implemented so machines restricted to older versions
of MacOS X can build without incident?

Thanks for your attention.

-- 
John D. Baker, KN5UKS                    NetBSD     Darwin/MacOS X
jdbaker(at)mylinuxisp(dot)com                 OpenBSD            FreeBSD
BSD -- It just sits there and _works_!