Subject: Re: libGlade2 Build Failure
To: Thomas Klausner <wiz@netbsd.org>
From: J. Alexander Jacocks <jjacocks@mac.com>
List: tech-pkg
Date: 07/02/2003 18:02:49
Thomas Klausner wrote:

> On Wed, Jul 02, 2003 at 01:49:17PM -0400, J. Alexander Jacocks wrote:
> 
>>I've refined the problem further.  It looks like the pyexpat Python 
>>module is not getting built.  The loading script is in place, and the 
>>module seems to be configured when building python, though.
>>
>>Anyone else seen this behavior?
> 
> 
> I don't know anything in particular about your problem,
> but py-expat is a separate package in textproc/py-expat.
> Does installing that change anything?
>  Thomas

I've attempted to build py-expat, but it dies horribly simply creating 
the python tree:

root@hephaestos[/usr/pkgsrc/textproc/py-expat]# bmake install
===> Checking for vulnerabilities in py22-expat-0
=> Checksum OK for Python-2.2.3.tgz.
===> Extracting for py22-expat-0
===> Required installed package expat>=1.95.2: expat-1.95.6nb1 found
===> Required installed package python22>=2.2: python22-2.2.3 found
/usr/xpg4/bin/sed  -e 
s!@EXPATPREFIX@!/usr/pkgsrc/textproc/py-expat/work/.buildlink!g  -e 
s!@EXPATRTPREFIX@!/usr/pkg!g 
</usr/pkgsrc/textproc/py-expat/files/setup.py 
 >/usr/pkgsrc/textproc/py-expat/work/Python-2.2.3/setup.py
===> Patching for py22-expat-0
(cd /usr/pkgsrc/textproc/py-expat/work/Python-2.2.3;  for f in 
/usr/pkgsrc/textproc/py-expat/../../lang/python22/patches/patch-*;do 
/usr/bin/gpatch -b --batch <$f || true;  done)
patching file setup.py
Hunk #1 FAILED at 210.
Hunk #2 FAILED at 278.
Hunk #3 FAILED at 334.
Hunk #4 FAILED at 367.
Hunk #5 FAILED at 413.
Hunk #6 FAILED at 469.
Hunk #7 FAILED at 498.
Hunk #8 FAILED at 509.
Hunk #9 FAILED at 581.
Hunk #10 FAILED at 808.
10 out of 10 hunks FAILED -- saving rejects to file setup.py.rej
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|$NetBSD: patch-ab,v 1.1.1.1 2002/01/15 17:11:03 drochner Exp $
|
|--- Tools/scripts/pydoc2.2.orig        Tue Jan 15 17:56:59 2002
|+++ Tools/scripts/pydoc2.2     Tue Jan 15 17:57:25 2002
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|$NetBSD: patch-ae,v 1.1 2002/04/09 04:33:21 jlam Exp $
|
|--- Lib/distutils/command/build_ext.py.orig    Thu Dec  6 17:59:54 2001
|+++ Lib/distutils/command/build_ext.py
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 7
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|$NetBSD: patch-af,v 1.1 2002/10/16 15:51:04 tsarna Exp $
|
|Unofficial patch to support Basic Auth for XML-RPC.
|
|--- Lib/xmlrpclib.py.orig      Tue Oct 15 18:52:10 2002
|+++ Lib/xmlrpclib.py   Wed Oct 16 11:44:47 2002
--------------------------
No file to patch.  Skipping patch.
3 out of 3 hunks ignored
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|$NetBSD: patch-ai,v 1.1 2003/06/06 17:31:19 drochner Exp $
|
|--- Makefile.pre.in.orig       2003-06-06 18:44:05.000000000 +0200
|+++ Makefile.pre.in    2003-06-06 18:45:02.000000000 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 5
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|$NetBSD: patch-bb,v 1.1 2003/04/08 18:32:59 drochner Exp $
|
|--- Lib/test/test_fcntl.py.orig        Tue Apr  8 16:07:57 2003
|+++ Lib/test/test_fcntl.py     Tue Apr  8 16:08:04 2003
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
===> Buildlinking for py22-expat-0
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/textproc/py-expat
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/textproc/py-expat

This appears to be a compatibility between bsd sed and solaris 4.x sed. 
(i.e. /usr/xpg4/bin/sed)

Any ideas?