pkgsrc-Users archive

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

Re: pkgsrc on OpenBSD



* On 2020-08-29 at 14:00 BST, Greg Troxel wrote:

> So probably there is a missing normalization in pkg_install.  But first
> this needs a clear design about about MACHINE_ARCH is being handled.  If
> we are going to translate openbsd's uname -p of amd64 to x86_64, that
> has to happene everywhere.

Yes, this is already the intention.  MACHINE_ARCH is intended to be
normalised across pkgsrc, and doesn't have to match what the host OS
happens to report.  SunOS also reports amd64 for "isainfo -k", but
still uses x86_64 correctly for MACHINE_ARCH.

It should be pretty easy to patch bmake or pkg_install to enforce what
bootstrap sets MACHINE_ARCH to in this case.  If nobody is able to
I'll try to take a look, though my OpenBSD host is an octeon.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index