On 2015/04/29 13:58, Jérémie Courrèges-Anglas wrote:
> Diff addressing the issue above plus the following nits:
OK with me.
> Regarding ''make test'':
> - the current port failed 10 times out of 10, 2 of them due to a double
> free error
> - the proposed port failed 3 times out of 10, all of them due to
> a double free error
>
> Thoughts?
3 is better than 10, but worse than 2 :-) But strangely I don't see this
at all (amd64).
+++ Wed Apr 29 15:03:47 BST 2015
===> Checking files for py-lxml-3.4.3
`/data/distfiles/lxml-3.4.3.tar.gz' is up to date.
>> (SHA256) lxml-3.4.3.tar.gz: OK
===> py-lxml-3.4.3 depends on: python->=2.7,<2.8 -> python-2.7.9p0
===> py-lxml-3.4.3 depends on: py-setuptools-* -> py-setuptools-3.4.4p2v0
===> py-lxml-3.4.3 depends on: ccache-* -> ccache-3.2.1
===> py-lxml-3.4.3 depends on: libxslt-* -> libxslt-1.1.28p0
===> Verifying specs: python2.7 exslt m pthread xml2 xslt z
===> found python2.7.0.0 exslt.9.8 m.9.0 pthread.19.0 xml2.15.1 xslt.3.8 z.5.0
===> Extracting for py-lxml-3.4.3
===> Patching for py-lxml-3.4.3
===> Configuring for py-lxml-3.4.3
===> Building for py-lxml-3.4.3
Building lxml version 3.4.3.
Building without Cython.
Using build configuration of libxslt 1.1.28
Building against libxml2/libxslt in the following directory: /usr/local/lib
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'bugtrack_url'
warnings.warn(msg)
running egg_info
writing requirements to src/lxml.egg-info/requires.txt
writing src/lxml.egg-info/PKG-INFO
writing top-level names to src/lxml.egg-info/top_level.txt
writing dependency_links to src/lxml.egg-info/dependency_links.txt
reading manifest file 'src/lxml.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/lxml.egg-info/SOURCES.txt'
Building lxml version 3.4.3.
Building without Cython.
Using build configuration of libxslt 1.1.28
Building against libxml2/libxslt in the following directory: /usr/local/lib
/usr/local/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'bugtrack_url'
warnings.warn(msg)
running build
running build_py
creating /usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7
creating /usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/builder.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/cssselect.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/pyclasslookup.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/usedoctest.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/ElementInclude.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/sax.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/_elementpath.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/__init__.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/doctestcompare.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
creating
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/__init__.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
creating
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/_html5builder.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/builder.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/html5parser.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/_diffcommand.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/clean.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/formfill.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/usedoctest.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/_setmixin.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/soupparser.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/ElementSoup.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/__init__.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/defs.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
copying src/lxml/html/diff.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/html
creating
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron
copying src/lxml/isoschematron/__init__.py ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron
copying src/lxml/lxml.etree.h ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/lxml.etree_api.h ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml
copying src/lxml/includes/relaxng.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/xmlerror.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/etreepublic.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/c14n.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/dtdvalid.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/config.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/schematron.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/xpath.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/xmlparser.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/tree.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/xslt.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/htmlparser.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/xmlschema.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/uri.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/xinclude.pxd ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/lxml-version.h ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
copying src/lxml/includes/etree_defs.h ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/includes
creating
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources
creating
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/rng
copying src/lxml/isoschematron/resources/rng/iso-schematron.rng ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/rng
creating
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/XSD2Schtrn.xsl ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl
copying src/lxml/isoschematron/resources/xsl/RNG2Schtrn.xsl ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl
creating
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_dsdl_include.xsl
->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_message.xsl
->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_svrl_for_xslt1.xsl
->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_abstract_expand.xsl
->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying
src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/iso_schematron_skeleton_for_xslt1.xsl
->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
copying src/lxml/isoschematron/resources/xsl/iso-schematron-xslt1/readme.txt ->
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/isoschematron/resources/xsl/iso-schematron-xslt1
running build_ext
building 'lxml.etree' extension
creating /usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/temp.openbsd-5.7-amd64-2.7
creating /usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/temp.openbsd-5.7-amd64-2.7/src
creating
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/temp.openbsd-5.7-amd64-2.7/src/lxml
cc -DNDEBUG -O2 -pipe -fPIC -O2 -pipe -fPIC -I/usr/local/include
-I/usr/local/include/libxml2
-I/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/./src/lxml/includes
-I/usr/local/include/python2.7 -c src/lxml/lxml.etree.c -o
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/temp.openbsd-5.7-amd64-2.7/src/lxml/lxml.etree.o
-w
cc -pthread -shared -fPIC -L/usr/local/lib/ -O2 -pipe
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/temp.openbsd-5.7-amd64-2.7/src/lxml/lxml.etree.o
-L/usr/local/lib -L/usr/local/lib -lxslt -lexslt -lxml2 -lz -lm -lpython2.7 -o
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/etree.so
building 'lxml.objectify' extension
cc -DNDEBUG -O2 -pipe -fPIC -O2 -pipe -fPIC -I/usr/local/include
-I/usr/local/include/libxml2
-I/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/./src/lxml/includes
-I/usr/local/include/python2.7 -c src/lxml/lxml.objectify.c -o
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/temp.openbsd-5.7-amd64-2.7/src/lxml/lxml.objectify.o
-w
cc -pthread -shared -fPIC -L/usr/local/lib/ -O2 -pipe
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/temp.openbsd-5.7-amd64-2.7/src/lxml/lxml.objectify.o
-L/usr/local/lib -L/usr/local/lib -lxslt -lexslt -lxml2 -lz -lm -lpython2.7 -o
/usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3/lib.openbsd-5.7-amd64-2.7/lxml/objectify.so
===> py-lxml-3.4.3 depends on: py-cssselect-* -> py-cssselect-0.9.1
===> Regression tests for py-lxml-3.4.3
cd /usr/obj/ports/py-lxml-3.4.3/lxml-3.4.3 && cp lib.openbsd-*/lxml/*.so
src/lxml; /usr/local/bin/python2.7 test.py
----------------------------------------------------------------------
Ran 1648 tests in 16.850s
OK
Comparing with ElementTree 1.3.0
TESTED VERSION: 3.4.3
Python: sys.version_info(major=2, minor=7, micro=9,
releaselevel='final', serial=0)
lxml.etree: (3, 4, 3, 0)
libxml used: (2, 9, 2)
libxml compiled: (2, 9, 2)
libxslt used: (1, 1, 28)
libxslt compiled: (1, 1, 28)