pkgsrc-Bugs archive

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

Re: pkg/46480: textproc/py-cElementTree fails to patch using lang/python27/patches/



The following reply was made to PR pkg/46480; it has been noted by GNATS.

From: Sergey Litvinov <slitvinov%gmail.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: 
Subject: Re: pkg/46480: textproc/py-cElementTree fails to patch using 
lang/python27/patches/
Date: Thu, 24 May 2012 11:35:04 +0200

 > =A0Because only a part of the python27 distfile is extracted.
 > =A0While the warnings may be annoying, I'm pretty sure the package builds=
  fine -- doesn't it?
 
 For me the build phase fails with
 
 running build
 running build_ext
 error: invalid Python installation: unable to open
 /scratch/netbsd/lib64/python2.7/config/Makefile (No such file or
 directory)
 *** Error code 1
 
 /scratch/netbsd is my PREFIX
 config/Makefile is in
 /scratch/netbsd/lib/python2.7/config/Makefile
 
 In textproc/py-cElementTree
 bmake show-var VARNAME=3DPYLIB
 gives
 lib64/python2.7
 
 It can be related to
 http://bugs.python.org/issue11171
 http://hg.python.org/cpython/rev/9afd3d54c3cb
 
 It seems the sysconfig.py part of the patch is not in
 pkgsrc/lang/python27/work/Python-2.7.3/Lib/distutils/sysconfig.py
 


Home | Main Index | Thread Index | Old Index