[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-tech-pkg
Subject:    Re: pkgsrc-2011Q2 NetBSD 5.0.2/i386 2011-08-14 13:15
From:       Aleksey Cheusov <cheusov () tut ! by>
Date:       2011-08-27 8:31:32
Message-ID: 87obzbfe6z.fsf () asrock ! chizhovka ! net
[Download RAW message or body]

 >>  >>  >>  >> > pkgtools/nih                                 vle@gmx.net
 >>  >>  >>  >>   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

http://mova.org/~cheusov/pub/pkgsrc-distbb/NetBSD/current/logs/distbb/META/report.html

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

-- 
Best regards, Aleksey Cheusov.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic