pkgsrc-Users archive

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

Re: Python package issues



On Tue, 21 May 2019 08:14:57 +0100
Sad Clouds <cryintothebluesky%gmail.com@localhost> wrote:

> On Tue, 21 May 2019 08:12:41 +0200
> Thomas Klausner <wiz%NetBSD.org@localhost> wrote:
> 
> > On Tue, May 21, 2019 at 07:44:17AM +0100, Sad Clouds wrote:
> > > Any idea what is going on here?
> > 
> > Leftover work directory in py-expat?
> > 
> > 'make clean clean-depends' and try again.
> >  Thomas
> 
> Hmm... I thought I cleaned them all, but you could be right. I was
> previously using pkgsrc-current then switched to stable, so maybe
> I left some old junk in there. Thanks for the pointers.


Well, something is not right here. I completely removed /usr/pkg and
build directories, and started from scratch but I'm getting this error

===> Installing binary package of py27-libxml2-2.9.9
pkg_add: no pkg found for '/netbsd_build/objects/textproc/py-libxml2/work/.packages/py27-libxml2-2.9.9.tgz', sorry.
pkg_add: 1 package addition failed
*** Error code 1

Stop.
make[5]: stopped in /netbsd_build/pkgsrc/textproc/py-libxml2
*** Error code 1

Stop.
make[4]: stopped in /netbsd_build/pkgsrc/textproc/py-libxml2
*** Error code 1

Stop.
make[3]: stopped in /netbsd_build/pkgsrc/textproc/py-libxml2
*** Error code 1

Stop.
make[2]: stopped in /netbsd_build/pkgsrc/security/mate-polkit
*** Error code 1

Stop.
make[1]: stopped in /netbsd_build/pkgsrc/x11/xfce4-session
*** Error code 1

Stop.
make: stopped in /netbsd_build/pkgsrc/meta-pkgs/xfce4


Looking at installed packages, there is a mix of python 2.7 and 3.7
This is probably why it is getting confused, as it find previously
built 3.7 package. The question - why is it building both versions,
because they cause conflict.

pkg_info | grep '^py'
python27-2.7.16     Interpreted, interactive, object-oriented programming language
py27-expat-2.7.16   Python interface to expat
py27-cElementTree-2.7.16 C implementation of Python ElementTree API
python37-3.7.3      Interpreted, interactive, object-oriented programming language
py37-expat-3.7.3    Python interface to expat
py37-setuptools-40.8.0 New Python packaging system
py37-meson-0.50.0   Open source build system meant to be fast and user friendly
py37-libxml2-2.9.9  Python wrapper for libxml2


Home | Main Index | Thread Index | Old Index