tech-pkg archive

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

Re: pkgsrc-2011Q2 NetBSD 5.0.2/i386 2011-08-14 13:15



On Tue, Aug 23, 2011 at 12:38:20AM +0300, Aleksey Cheusov wrote:
>  >>  >>  >> > pkgtools/nih                                 
> vle%gmx.net@localhost
>  >>  >>  >>   pkg_add: Error: package `nih-0.7.2' was built with a newer 
> pkg_install version
>  >>  >>  >>   pkg_add: 1 package addition failed
>  >>  >>  >> 
>  >>  >> 
>  >>  >> Could you please explain why nih fails in pbulk?
>  >>  >> Your recent clang bulk build has the same problem.
>  >> 
>  >> > Sure, since it is just running "pkg_add $FOO" to test installation.
>  >> 
>  >> Does pbulk create packages using pkg_* tools from /usr/pkg/sbin
>  >> if they are available? Under NetBSD "make package" should always
>  >> use /usr/sbin/pkg_*. Right?
> 
> > pbulk doesn't change the logic behind "make package" at all.
> 
> Can running "/usr/pkg/sbin/pkg_add $FOO" solve the problem?

The problem is that it would only apply to a few specific packages and
it is also a decision made relatively late. Since normal users have the
same issue, I'm not sure it is going to help much. The only real fix is
really to kick out pkg_install from base and get it managed properly...

Joerg


Home | Main Index | Thread Index | Old Index