[MacPorts] #21820: py26-lxml breaks on build on snow leopard without py25-lxml installed
#21820: py26-lxml breaks on build on snow leopard without py25-lxml installed ------------------------------------------------+--------------------------- Reporter: bumens@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: py26 lxml build break snow leopard | Port: py26-lxml ------------------------------------------------+--------------------------- Using OSX 10.6.1 and MacPorts 1.8.1, I'd try to install py26-lxml. Build broke with an error. After installing py25-lxml, it was possible to install py26-lxml without any errors. {{{ ---> Building py26-lxml Building lxml version 2.2.2. NOTE: Trying to build without Cython, pre-generated 'src/lxml/lxml.etree.c' needs to be available. Using build configuration of libxslt 1.1.26 Building against libxml2/libxslt in the following directory: /opt/local/lib running build running build_py creating build creating build/lib.macosx-10.6-i386-2.6 creating build/lib.macosx-10.6-i386-2.6/lxml copying src/lxml/__init__.py -> build/lib.macosx-10.6-i386-2.6/lxml copying src/lxml/_elementpath.py -> build/lib.macosx-10.6-i386-2.6/lxml copying src/lxml/builder.py -> build/lib.macosx-10.6-i386-2.6/lxml copying src/lxml/cssselect.py -> build/lib.macosx-10.6-i386-2.6/lxml copying src/lxml/doctestcompare.py -> build/lib.macosx-10.6-i386-2.6/lxml copying src/lxml/ElementInclude.py -> build/lib.macosx-10.6-i386-2.6/lxml copying src/lxml/pyclasslookup.py -> build/lib.macosx-10.6-i386-2.6/lxml copying src/lxml/sax.py -> build/lib.macosx-10.6-i386-2.6/lxml copying src/lxml/usedoctest.py -> build/lib.macosx-10.6-i386-2.6/lxml creating build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/__init__.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/_dictmixin.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/_diffcommand.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/_html5builder.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/_setmixin.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/builder.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/clean.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/defs.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/diff.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/ElementSoup.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/formfill.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/html5parser.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/soupparser.py -> build/lib.macosx-10.6-i386-2.6/lxml/html copying src/lxml/html/usedoctest.py -> build/lib.macosx-10.6-i386-2.6/lxml/html running build_ext Traceback (most recent call last): File "setup.py", line 116, in <module> **extra_options File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/core.py", line 152, in setup dist.run_commands() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 987, in run_commands self.run_command(cmd) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command cmd_obj.run() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build.py", line 134, in run self.run_command(cmd_name) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/cmd.py", line 333, in run_command self.distribution.run_command(command) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/dist.py", line 1007, in run_command cmd_obj.run() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/setuptools/command/build_ext.py", line 46, in run _build_ext.run(self) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 340, in run self.build_extensions() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/Pyrex/Distutils/build_ext.py", line 82, in build_extensions self.build_extension(ext) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/setuptools/command/build_ext.py", line 175, in build_extension _build_ext.build_extension(self,ext) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 460, in build_extension ext_path = self.get_ext_fullpath(ext.name) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/distutils/command/build_ext.py", line 633, in get_ext_fullpath filename = self.get_ext_filename(modpath[-1]) File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6 /site-packages/setuptools/command/build_ext.py", line 85, in get_ext_filename ext = self.ext_map[fullname] KeyError: 'etree' }}} -- Ticket URL: <http://trac.macports.org/ticket/21820> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21820: py26-lxml breaks on build on snow leopard without py25-lxml installed -----------------------------------------------+---------------------------- Reporter: bumens@… | Owner: dbraband@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: py26 lxml build break snowleopard | Port: py26-lxml -----------------------------------------------+---------------------------- Changes (by raimue@…): * cc: akitada@… (added) * keywords: py26 lxml build break snow leopard => py26 lxml build break snowleopard * owner: macports-tickets@… => dbraband@… -- Ticket URL: <http://trac.macports.org/ticket/21820#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21820: py26-lxml breaks on build on snow leopard without py25-lxml installed -----------------------------------------------+---------------------------- Reporter: bumens@… | Owner: dbraband@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: py26 lxml build break snowleopard | Port: py26-lxml -----------------------------------------------+---------------------------- Comment(by bumens@…): BTW: I changed another thing: I installed cython using easy_install in between. Another try to build py26-lxml failed with the same error. But after installing py25-lxml, the build for py26-lxml worked without any errors. -- Ticket URL: <http://trac.macports.org/ticket/21820#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21820: py26-lxml breaks on build on snow leopard without py25-lxml installed -----------------------------------------------+---------------------------- Reporter: bumens@… | Owner: dbraband@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Keywords: py26 lxml build break snowleopard | Port: py26-lxml -----------------------------------------------+---------------------------- Comment(by stromnov@…): It's a problem with updated distutils module in Python 2.6.3. It's backward incompatible with current setuptools module when building C extensions via 'build_ext' target. As a workaround you can try Distribute module (http://tarekziade.wordpress.com/2009/10/03/python-2-6-3-and- distribute/). -- Ticket URL: <http://trac.macports.org/ticket/21820#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21820: py26-lxml breaks on build on snow leopard without py25-lxml installed ---------------------------------+------------------------------------------ Reporter: bumens@… | Owner: dbraband@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: py26 lxml build break snowleopard Port: py26-lxml | ---------------------------------+------------------------------------------ Changes (by blb@…): * status: new => closed * resolution: => fixed Comment: Should be fixed in r58754 by requiring py26-cython (build failed the same here without it, went fine with it). -- Ticket URL: <http://trac.macports.org/ticket/21820#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#21820: py26-lxml breaks on build on snow leopard without py25-lxml installed ---------------------------------+------------------------------------------ Reporter: bumens@… | Owner: dbraband@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.1 Resolution: fixed | Keywords: build break snowleopard distutils263 Port: py26-lxml | ---------------------------------+------------------------------------------ Changes (by blb@…): * keywords: py26 lxml build break snowleopard => build break snowleopard distutils263 Comment: Better fix in r58886 to fix setuptools, so removed cython dependency for lxml in r58891. -- Ticket URL: <http://trac.macports.org/ticket/21820#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts