pkgsrc-Bugs archive

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

Re: pkg/46262: pkgsrc-current breaks xentools33



On Tue, Mar 27, 2012 at 07:30:01AM +0000, ignatios%cs.uni-bonn.de@localhost 
wrote:
> perl-5.14.2nb5      Practical Extraction and Report Language
> python27-2.7.2nb3   Interpreted, interactive, object-oriented programming 
> language
> py27-readline-0nb5  Line editing support for Python
> expat-2.0.1nb2      XML parser library written in C
> py27-xml-0.8.4nb4   Collection of libraries to process XML with Python
> ncurses-5.9         CRT screen handling and optimization package
> py27-curses-0nb5    Curses module for Python
> xentools33-3.3.2nb11 Userland Tools for Xen 3.3.x
> 
> [...]
> >Description:
> Starting xenbackendd.
> Starting xen domains.
> Using config file "/usr/pkg/etc/xen/jaguar-zeta".
> Unexpected error: <type 'exceptions.AttributeError'>
> 
> Please report to xen-devel%lists.xensource.com@localhost
> Traceback (most recent call last):
>   File "/usr/pkg/sbin/xm", line 10, in <module>
>     main.main(sys.argv)
>   File "/usr/pkg/lib/python2.7/site-packages/xen/xm/main.py", line 2888, in 
> main
>     _, rc = _run_cmd(cmd, cmd_name, args)
>   File "/usr/pkg/lib/python2.7/site-packages/xen/xm/main.py", line 2912, in 
> _rud
>     return True, cmd(args)
>   File "<string>", line 1, in <lambda>
>   File "/usr/pkg/lib/python2.7/site-packages/xen/xm/main.py", line 1380, in 
> xm_d
>     cmd.main([command] + args)
>   File "/usr/pkg/lib/python2.7/site-packages/xen/xm/create.py", line 1342, in 
> mn
>     dom = make_domain(opts, config)
>   File "/usr/pkg/lib/python2.7/site-packages/xen/xm/create.py", line 1201, in 
> mn
>     dominfo = server.xend.domain.create(config)
>   File "/usr/pkg/lib/python2.7/xmlrpclib.py", line 1224, in __call__
>     return self.__send(self.__name, args)
>   File "/usr/pkg/lib/python2.7/site-packages/xen/util/xmlrpcclient.py", line 
> 11t
>     response = xmlrpclib.ServerProxy.__request(self, methodname, params)
>   File "/usr/pkg/lib/python2.7/xmlrpclib.py", line 1575, in __request
>     verbose=self.__verbose
>   File "/usr/pkg/lib/python2.7/site-packages/xen/util/xmlrpcclient.py", line 
> 55t
>     request_body, verbose)
>   File "/usr/pkg/lib/python2.7/xmlrpclib.py", line 1264, in request
>     return self.single_request(host, handler, request_body, verbose)
>   File "/usr/pkg/lib/python2.7/xmlrpclib.py", line 1294, in single_request
>     response = h.getresponse(buffering=True)
> AttributeError: HTTPUnix instance has no attribute 'getresponse'

Can you see if the attached patch would fix the problem for you ?

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--
Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/sysutils/xentools33/Makefile,v
retrieving revision 1.30
diff -u -p -u -r1.30 Makefile
--- Makefile    9 Mar 2012 12:34:22 -0000       1.30
+++ Makefile    28 Mar 2012 14:40:28 -0000
@@ -44,6 +44,7 @@ MAKE_ENV+=            CONFIG_NetBSD=yes
 MAKE_ENV+=             CONFIG_MBOOTPACK=no
 MAKE_ENV+=             EGDIR=${EGDIR:Q}
 MAKE_ENV+=             MV=${MV:Q} PYTHON=${PYTHONBIN:Q} SED=${SED:Q}
+PYTHON_VERSIONS_ACCEPTED= 26 25 24
 .if ${MACHINE_ARCH} == "i386"
 MAKE_ENV+=             XEN_TARGET_ARCH="x86_32" XEN_COMPILE_ARCH="x86_32"
 .elif  ${MACHINE_ARCH} == "x86_64"


Home | Main Index | Thread Index | Old Index