From owner-freebsd-questions Sun Mar 2 22:14:57 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1F1F37B401 for ; Sun, 2 Mar 2003 22:14:53 -0800 (PST) Received: from creme-brulee.marcuscom.com (rdu57-17-158.nc.rr.com [66.57.17.158]) by mx1.FreeBSD.org (Postfix) with ESMTP id 758AB43FB1 for ; Sun, 2 Mar 2003 22:14:52 -0800 (PST) (envelope-from marcus@marcuscom.com) Received: from [192.168.1.4] (shumai.marcuscom.com [192.168.1.4]) by creme-brulee.marcuscom.com (8.12.7/8.12.7) with ESMTP id h236DjZX081844; Mon, 3 Mar 2003 01:13:45 -0500 (EST) (envelope-from marcus@marcuscom.com) Subject: Re: Updating limxsml2 From: Joe Marcus Clarke To: Roger Merritt Cc: FreeBSD User Questions List In-Reply-To: <5.2.0.9.0.20030303122855.00a2c600@127.0.0.1> References: <5.2.0.9.0.20030303122855.00a2c600@127.0.0.1> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-M0uBuPSQKPZZ9+tbnW5g" Organization: MarcusCom, Inc. Message-Id: <1046672083.92914.240.camel@shumai.marcuscom.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.2.2 Date: 03 Mar 2003 01:14:43 -0500 X-Spam-Status: No, hits=-32.4 required=5.0 tests=EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --=-M0uBuPSQKPZZ9+tbnW5g Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Mon, 2003-03-03 at 00:39, Roger Merritt wrote: > OK, before I present my problem, I'd like to ask if I should be posting=20 > questions about ports to the freebsd-ports list, or should I be e-mailing= =20 > the maintainer of the port? >=20 > I've been trying for quite a long time to upgrade libsxml2. The build=20 > invariably stops in=20 > /usr/home/ports/textproc/libxml2/work/libxml2-2.5.3/python with the=20 > following error message(s): > ... > gmake[3]: Entering directory=20 > `/usr/home/ports/textproc/libxml2/work/libxml2-2.5. > 3/python' > cd . && /usr/local/bin/python generator.py > Found 1132 functions in libxml2-api.xml > Found 45 functions in libxml2-python-api.xml > Generated 700 wrapper functions, 293 failed, 184 skipped >=20 > Missing type converters: > xmlGenericErrorFunc *:1 xlinkType:1 const htmlElemDesc *:1 xmlNotation= Ptr:1 > xmlElementContentPtr:4 xmlTextReaderErrorFunc *:1 void=20 > *:44 xmlElementContent > *:1 xmlAttributeType:1 xmlCatalogAllow:2 xmlElementContentType:1=20 > xmlXPathFu > nction:4 xmlIDTablePtr:1 xmlRegisterNodeFunc:1 xmlEntitiesTablePtr:3=20 > xmlPars > erInputPtr:17 xmlNodeSetPtr:32 xmlCharEncoding:12 xmlParserNodeInfoSeq= Ptr:3 > char=20 > **:5 htmlStatus:1 xmlOutputWriteCallback:1 xmlInputReadCallback:1 xml= Au > tomataPtr:15 xmlCharEncodingInputFunc:1 xmlNodePtr=20 > *:1 xmlCharEncodingHandler > Ptr:7 htmlElemDesc=20 > *:3 xmlRegExecCtxtPtr:2 xmlShellReadlineFunc:1 xmlXPathFu > ncLookupFunc:1 xmlCatalogPrefer:1 xmlDeregisterNodeFunc:1=20 > xmlC14NIsVisibleCal > lback:1 xmlValidCtxtPtr:23 xlinkHandlerPtr:2 const xmlParserNodeInfo=20 > *:1 xml > RelaxNGValidityErrorFunc:2 xmlElementContentPtr=20 > *:1 xmlParserNodeInfoPtr:1 xm > lRefTablePtr:1 xlinkNodeDetectFunc:2 xmlShellCtxtPtr:10=20 > xmlXPathVariableLooku > pFunc:1 xmlNotationTablePtr:2 xmlNsPtr *:1 xmlEnumerationPtr=20 > *:2 xmlBufferAl > locationScheme:2 size_t:1 xmlAttributeTablePtr:2=20 > xmlEntityReferenceFunc:1 xm > lExternalEntityLoader:2 xmlOutputMatchCallback:1 xmlTextReaderErrorFunc= :1=20 > xml > XPathCompExprPtr:4 xmlChar **:14 const htmlEntityDesc=20 > *:2 xmlElementTablePtr: > 2 xmlEnumerationPtr:5 xmlCharEncodingHandler=20 > *:4 xmlLocationSetPtr:6 xmlInpu > tMatchCallback:1 xmlRegExecCallbacks:1 xmlXPathObjectPtr:22 > Traceback (most recent call last): > File "generator.py", line 1134, in ? > buildWrappers() > File "generator.py", line 1092, in buildWrappers > if pref[0] =3D=3D ref[0]: > UnboundLocalError: ref > gmake[3]: *** [gen_prog] Error 1 > gmake[3]: Leaving directory=20 > `/usr/home/ports/textproc/libxml2/work/libxml2-2.5.3 > /python' > gmake[2]: *** [all-recursive] Error 1 > gmake[2]: Leaving directory=20 > `/usr/home/ports/textproc/libxml2/work/libxml2-2.5.3 > /python' > gmake[1]: *** [all-recursive] Error 1 > gmake[1]: Leaving directory=20 > `/usr/home/ports/textproc/libxml2/work/libxml2-2.5.3 > ' > gmake: *** [all-recursive-am] Error 2 > *** Error code 2 >=20 > Stop in /usr/home/ports/textproc/libxml2. >=20 > At this point I'm baffled. I've recvsupped the ports several times. I can= 't=20 > figure out if the problem is specifically with the libxml2 port or if I=20 > should be reinstalling python. Advice would be gratefully accepted. Make sure Python is up-to-date. If it is, try rebuilding it. I have yet to see this problem on any of my machines, and to my knowledge, you're the first to report it. Joe --=20 PGP Key : http://www.marcuscom.com/pgp.asc --=-M0uBuPSQKPZZ9+tbnW5g Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQA+YvLTb2iPiv4Uz4cRAuMyAJ9paikpKuztm38WK86ONJ+c+0sudACfd1I1 JVkVK55L4/EfeIpq2qylV+4= =6Ky8 -----END PGP SIGNATURE----- --=-M0uBuPSQKPZZ9+tbnW5g-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message