pkgsrc-Users archive

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

Re: automate update from py25 to py26 for dependencies?



On Wed, 7 Apr 2010, Greg Troxel wrote:

> "OBATA Akio" <obache%netbsd.org@localhost> writes:
> 
> >> How can I get pkgsrc to attempt to build py26-dbus automatically?
> >
> > Probably your libpurple-2.6.2nb1 was built with PYTHON_VERSION_DEFAULT=25.
> > How about rebuild it?
> 
> I think the problem was during libpurple rebuild.

Sorry I didn't give enough context. libpurple was not getting rebuilt:

===> Creating toolchain wrappers for pidgin-otr-3.2.0nb4
ERROR: py26-dbus>=0.23.4 is not installed; can't buildlink files.
*** Error code 1

Stop.
make: stopped in /home/reed/pkgsrc/chat/pidgin-otr

> >> I also tried to workaround with (in pidgin-otr):
> >>
> >>      make clean
> >>      make PKG_OPTIONS.libpurple=-dbus
> >>
> >> But no change.
> >
> > Put following line in chat/libpurple/buildlink3.mk before 
> > sysutils/py-dbus/buildlink3.mk?
> > PYTHON_VERSION_REQD!=       ${PKG_INFO} -Q PYTHON_VERSION_DEFAULT libpurple

Okay that does bypass my problem. But no py26-dbus is built either. Note 
this is empty:

$ pkg_info -Q PYTHON_VERSION_DEFAULT libpurple
$ 

My libpurple doesn't use any python as far as I see. I use 
USE_ABI_DEPENDS?=NO so if the API dependency is not increased I don't 
require a new libpurple since the dbus requirement.

> Hmm, but I wonder if that should be in extension.mk somehow - libpurple
> and py-dbus are not special - this is a general problem.



Home | Main Index | Thread Index | Old Index