Subject: pkg/10176: gindent tries to patch nonexistant file (makefile.in?)
To: None <gnats-bugs@gnats.netbsd.org>
From: Richard Rauch <rkr@rkr.kcnet.com>
List: netbsd-bugs
Date: 05/22/2000 18:13:15
>Number:         10176
>Category:       pkg
>Synopsis:       gindent tries to patch nonexistant file (makefile.in?)
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 22 18:14:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Richard Rauch
>Release:        NetBSD i386 1.4.1 kernel; 1.4 userland; fresh pkgsrc sup
>Organization:
>Environment:
	i386, NetBSD, native compile, gindent package
System: NetBSD rkr.kcnet.com 1.4.1 NetBSD 1.4.1 (olibGENERIC) #5: Fri May 19 08:41:51 CDT 2000 root@rkr.kcnet.com:/usr/src/sys/arch/i386/compile/olibGENERIC i386


>Description:
	Building gindent fails.  This causes packages such as ORBit to
	fail, which in turn prevents building GNOME.  The failure occurs when
	patching; the build process asks for a file to patch; not knowing
	which file it's looking for, I enter a blank line, and agree to skip
	this patch.

		make update
		pkg_info: No matching pkg for gindent-[0-9]*.
		===> Deinstalling for gindent-2.2.5
		=> Checksum OK for indent-2.2.5.tar.gz.
		===> Extracting for gindent-2.2.5
		===> Patching for gindent-2.2.5
		===> Applying NetBSD patches for gindent-2.2.5
		File to patch: 
		No file found--skip this patch? [n] y
		2 out of 2 hunks ignored--saving rejects to makefile.in.rej
		Patch /usr/pkgsrc/devel/gindent/patches/patch-aa failed
		*** Error code 1

		Stop.
		*** Error code 1

		Stop.
		*** Error code 1

		Stop.
		*** Error code 1

		Stop.

>How-To-Repeat:
	sup to current pkgsrc
	cd .../devel/gmake
	make update
>Fix:
	Dunno.

	It appears that makefile.in is not in the 2.2.5 gindent .tar.gz archive.
	Perhaps it was, historically, and 2.2.5 removed it?  Prior to running
	the patch, there is NO file that directly corresponds to the contents
	of makefile.in, as implied by patch-aa.
>Release-Note:
>Audit-Trail:
>Unformatted: