pkgsrc-Bugs archive

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

pkg/44501: MACHINE_ARCH problem on IRIX64: mips != mipseb



>Number:         44501
>Category:       pkg
>Synopsis:       MACHINE_ARCH problem on IRIX64: mips != mipseb
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 02 01:45:00 +0000 2011
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.1
>Organization:
>Environment:
System: NetBSD asrock.chizhovka.net 5.1 NetBSD 5.1 (GENERIC) #0: Mon Jan 31 
23:53:52 EET 2011 
cheusov%asrock.chizhovka.net@localhost:/srv/obj/sys/arch/amd64/compile/GENERIC 
amd64
Architecture: x86_64
Machine: amd64
>Description:
After bootstrapping pkgsrc on IRIX 6.5 installed packages
(pkg_info -Xa) are marked as MACHINE_ARCH=mipseb. The value 'mipseb' is set
from 'bootstrap' script.

On the other hand bmake's internal MACHINE_ARCH is set to 'mips'
according to machine.sh script that uses IRIX's 'uname -p'
on systems other than *BSD, SunOS, Linux, HP-UX, Interix and UnixWare.

As a result packages built after bootstrapping will not be installed
by pkg_add due to difference in architectures.

>How-To-Repeat:
See above.
>Fix:
It probably makes sense to add IRIX64 case to bmake's machine.sh script
and set MACHINE_ARCH to 'mipseb' (On my system uname(1) says IRIX64, not IRIX).



Home | Main Index | Thread Index | Old Index