pkgsrc-Users archive

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

Re: hplip - Operating System version (10.1) does not match 10.0




To: pkgsrc-users%netbsd.org@localhost

Subject: Re: hplip - Operating System version (10.1) does not match 10.0

From: "David H. Gutteridge" <david%gutteridge.ca@localhost>

Date: Tue, 27 Jan 2026 21:09:16 -0500


On Sun, 25 Jan 2026 at 07:42:44 -0500, Greg Troxel wrote:
> braxton%btn.xyz@localhost writes:
> 
> > When trying to install the package hplip via pkgin, I get the
> following
> > error saying that the Operating System version (10.1) does not match
> 10.0.
> >
> > Where is the best place to report this? I was also wondering if I
> force
> > the install by setting CHECK_OSABI=no are there any consequences?
> >
> >
> > [11/12] installing net-snmp-5.9.4nb2...
> > The Operating System version (10.1) does not match 10.0
> > To force installation of this package, add CHECK_OSABI=no to
> pkg_install.conf
> 
> It's ok to set CHECK_OSABI=no because 10.0 and 10.1 have the same ABI
> --
> our release management rules don't allow ABI changes on release
> branches
> (post .0).
> 
> I am puzzled why you are getting an error and not a warning.  You are
> pretty clearly using NetBSD but you didn't say that.  Did you
> bootstrap
> pkgsrc yourself?  Have you placed anything related in /etc/mk.conf or
> pkg_install.conf, in /etc or in /usr/pkg/etc?  Or is there leftover
> that
> you forgot about - read throughly all the config files.

This is because net/net-snmp sets OSVERSION_SPECIFIC on NetBSD, which
pulls in pkgtools/osabi, which enforces (by design) that this is an
error -- the exact versions don't match. This topic comes up
occasionally with packages that set this, e.g., also sysutils/lsof.
We don't have anything sophisticated enough to say "this is a release
branch, so it doesn't matter, but this is an unstable release, so it
may matter". (There's no action here for the reporter to take, other
than decide whether to set CHECK_OSABI to "no".)

(See e.g., PR pkg/59530. There's the older PR pkg/52325 about this
where people discussed different options for improvement.)

Regards,

Dave




Prev by Date: Re: odd -J complaint from make on netbsd-11

Next by Date: Re: security/libkleo linker errors on aarch64

Previous by Thread: Re: hplip - Operating System version (10.1) does not match 10.0

Next by Thread: New pkgsrc-security@ PGP key for 2026

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index