On Mon 27 Oct 2014 at 07:29:52 -0400, Greg Troxel wrote: > > Ray Phillips <r.phillips%uq.edu.au@localhost> writes: > > > pkg_add: Warning: package `osabi-NetBSD-6.0' was built for a platform: > > pkg_add: NetBSD/x86_64 6.0 (pkg) vs. NetBSD/x86_64 6.1.5 (this host) > > The Operating System version (6.1.5) does not match 6.0 > > pkg_add: install script returned error status > > pkg_add: Can't install dependency osabi-NetBSD-6.0 > > We have been discussing this problem on tech-pkg... > > Generally, 6.0 and 6.1.5 should be pretty much ABI compatible. > So what I would do is download the osabi package, and then install it > with "pkg_add -f". I build my own stuff but I ran into it anyway, because my pkg_comp environment was pinned to 6.0. What I did was to stub out the error result from the INSTALL script and work around it that way: Index: INSTALL =================================================================== RCS file: /cvsroot/pkgsrc/pkgtools/osabi/INSTALL,v retrieving revision 1.3 diff -u -r1.3 INSTALL --- INSTALL 23 Feb 2013 05:47:59 -0000 1.3 +++ INSTALL 27 Oct 2014 21:33:23 -0000 @@ -32,7 +32,7 @@ if ${TEST} "${OS_VERSION}" != "${PKG_VERSION}" ;then echo "The Operating System version (${OS_VERSION}) does not match ${PKG_VERSION}" - exit 1 + #exit 1 fi ;; esac -Olaf. -- ___ Olaf 'Rhialto' Seibert -- The Doctor: No, 'eureka' is Greek for \X/ rhialto/at/xs4all.nl -- 'this bath is too hot.'
Attachment:
pgp8r9mysDce9.pgp
Description: PGP signature