Subject: bin/8777: multiple patches failing in /usr/pkgsrc
To: None <gnats-bugs@gnats.netbsd.org>
From: Wolfgang Rupprecht <wolfgang@wsrcc.com>
List: netbsd-bugs
Date: 11/10/1999 17:57:45
>Number:         8777
>Category:       bin
>Synopsis:       multiple pkgs fail to patch
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    bin-bug-people (Utility Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 10 17:57:01 1999
>Last-Modified:
>Originator:     Wolfgang Rupprecht
>Organization:
W S Rupprecht Computer Consulting, Fremont CA
>Release:        -current Oct 1, 1999
>Environment:
	
System: NetBSD capsicum.wsrcc.com 1.4M NetBSD 1.4M (WSRCC) #0: Wed Nov 10 06:37:58 PST 1999 wolfgang@capsicum.wsrcc.com:/v/src/netbsd/NetBSD-current/usr/src/sys/arch/i386/compile/WSRCC i386


>Description:

    I'm not sure if this is a mk.* problem or if the patch program got
broken somehow.

    ===>  Validating dependencies for ORBit-0.5.0
    >> Checksum OK for ORBit-0.5.0.tar.gz.
    ===>  Extracting for ORBit-0.5.0
    ===>  ORBit-0.5.0 depends on executable: gmake - /usr/pkg/bin/gmake found
    ===>  ORBit-0.5.0 depends on file: /usr/pkg/bin/pkglibtool-ELF-1.2p2 - found
    ===>  ORBit-0.5.0 depends on installed package: glib-1.2.* - glib-1.2.6  found
    ===>  ORBit-0.5.0 depends on installed package: gindent-* - gindent-2.2.2  found
    work -> /var/obj/pkgsrc/corba/ORBit/work
    ===>  Patching for ORBit-0.5.0
    ===>  Applying NetBSD patches for ORBit-0.5.0
    1 out of 2 hunks failed--saving rejects to src/IIOP/connection.c.rej
    Patch /v/src/netbsd/NetBSD-current/usr/pkgsrc/corba/ORBit/patches/patch-ag failed
    *** Error code 1


    # make install
    ===>  Validating dependencies for gnome-libs-1.0.53
    >> Checksum OK for gnome-libs-1.0.53.tar.gz.
    ===>  Extracting for gnome-libs-1.0.53
    ===>  gnome-libs-1.0.53 depends on executable: gmake - not found
    ===>  Verifying install for gmake in /v/src/netbsd/NetBSD-current/usr/pkgsrc/devel/gmake
    >> Checksum OK for make-3.77.tar.gz.
    ===>  Extracting for gmake-3.77
    work -> /var/obj/pkgsrc/devel/gmake/work
    ===>  Patching for gmake-3.77
    ===>  Applying NetBSD patches for gmake-3.77
    1 out of 1 hunks failed--saving rejects to make.info.rej
    1 out of 1 hunks failed--saving rejects to make.texinfo.rej
    Patch /v/src/netbsd/NetBSD-current/usr/pkgsrc/devel/gmake/patches/patch-ab failed
    *** Error code 1

The list goes on.  I've spend the afternoon blowing away and trying
recompile various things, but I'm left with a fairly empty /usr/pkg.

>How-To-Repeat:
	try to rebuild ORBit, gmake, gnome etc.  They all fail with
	patch errors.  This does not appear to be a problem with the 
	patches in the pkg directory recently having changed.

	An emergency "sup -dsvo" of the world didn't find any trashed
	files.

>Fix:
	Find a stuffed penguin and do evil things to it.  
	This has got to be a plot, too many GPL-ed programs are
	effected. ;-)
>Audit-Trail:
>Unformatted: