Skip site navigation (1)Skip section navigation (2)
Date:      03 Mar 2003 01:14:43 -0500
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Roger Merritt <mcrogerm@stjohn.ac.th>
Cc:        FreeBSD User Questions List <freebsd-questions@freebsd.org>
Subject:   Re: Updating limxsml2
Message-ID:  <1046672083.92914.240.camel@shumai.marcuscom.com>
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>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1046672083.92914.240.camel>