Subject: which python?
To: None <pkgsrc-users@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 08/07/2006 18:49:19
I was trying to build database/gramps2 and it failed with:

=> Required installed package py23-bsddb3>=4.3.3nb1: py23-bsddb3-4.4.2 
found
=> Required installed package py23-imaging>=1.1.4: py23-imaging-1.1.5nb1 
found
=> Required installed package py23-xml>=0.8.3nb1: py23-xml-0.8.4nb2 found
=> Required installed package py23-gnome2>=2.10.0: NOT found
=> Verifying package for ../../x11/py-gnome2
WARNING: Skipping -gnome2-2.12.4nb1:
WARNING: No valid Python version
ERROR: [depends.mk] A package matching ``py23-gnome2>=2.10.0'' should
ERROR:     be installed, but one cannot be found.  Perhaps there is a
ERROR:     stale work directory for ../../x11/py-gnome2?
*** Error code 1


Doing a "make clean-depends" listed a bunch of py23 and py24 packages.

And when I go into x11/py-gnome2 to build it starts building python24.
I see pyversion.mk has:
PYTHON_VERSION_DEFAULT?=                23

and nothing related in my /etc/mk.conf

Any ideas?