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

 >>  >>  >>  >> > pkgtools/nih                                 
 >>  >>  >>  >>   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.

The only special thing about nih is that it is a package manager.  So,
I consider it as a valuable package and it would be nice to have it in
binary repository. In this case users can run

   env PKG_PATH=... pkg_add nih

and then use it for managing packages without downloading pkgsrc tree.
If it's too late for 2011Q2, what can we do for 2011Q3?

> The only real fix is really to kick out pkg_install from base and get
> it managed properly...
distbb builds nih without any problem

See "really built" link. I believe the same is feasible for pbulk.

Best regards, Aleksey Cheusov.

Home | Main Index | Thread Index | Old Index