Subject: Re: pkg_comp compiling for 2.0 release
To: Tim Jakobsen <tja@jakobsen.vg>
From: Robert Elz <kre@munnari.OZ.AU>
List: tech-pkg
Date: 01/14/2005 17:45:04
    Date:        Fri, 14 Jan 2005 11:09:06 +0100
    From:        Tim Jakobsen <tja@jakobsen.vg>
    Message-ID:  <20050114100906.GA417@emperor.jakobsen.vg>

  | I've just installed pkg_comp on a 2.0G NetBSD. I am trying to compile
  | packages for a 2.0 release system. Whenever I've built a package using
  | pkg_comp(eg. pkg_comp build security/sudo) and try to install it on the
  | 2.0 release system is says: 
  | 
  | pkg_add: Package 'sudo-1.6.8pl5.tgz' OS mismatch
  | pkg_add: NetBSD/i386 2.0G (pkg) vs. NetBSD/i386 2.0 (this host)

You need to tell pkg_comp to use libkver and have a set of genuine
2.0 release tarballs for it to use (I'd guess that you have the latter,
but haven't done the former).

How to do this is in the pkg_comp man page.

kre