pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41848: lang/python26 doesn't build cElementTree support



>Number:         41848
>Category:       pkg
>Synopsis:       lang/python26 doesn't build cElementTree support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Aug 08 21:05:01 +0000 2009
>Originator:     Jan Danielsson
>Release:        NetBSD/amd64 5.0
>Organization:
>Environment:
NetBSD gauss 5.0 NetBSD 5.0 (GENERIC) #0: Sun Apr 26 06:32:14 UTC 2009  
builds%b6.netbsd.org@localhost:/home/builds/ab/netbsd-5-0-RELEASE/amd6
4/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/amd64/compile/GENERIC
 amd64

>Description:
I need cElementTree support in Python, but it does not include it -- in fact, 
it appears to be explicitly disabled in patches/patch-am.

>How-To-Repeat:
# python2.6
Python 2.6.2 (r262:71600, Aug  6 2009, 20:01:45) 
[GCC 4.1.2 20061021 prerelease (NetBSD nb3 20061125)] on netbsd4
Type "help", "copyright", "credits" or "license" for more information.
>>> import xml.etree.cElementTree  
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/pkg/lib/python2.6/xml/etree/cElementTree.py", line 3, in <module>
    from _elementtree import *
ImportError: No module named _elementtree

>Fix:
Removing it from the exclusion list in patch-am, and fixing the resulting 
dependency problem.



Home | Main Index | Thread Index | Old Index