pkgsrc-Bugs archive

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

pkg/39101: Recent builds detect wrong endianness on IRIX(!)



>Number:         39101
>Category:       pkg
>Synopsis:       Recent builds detect wrong endianness on IRIX(!)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 04 10:40:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 6.5.30; MIPSpro Compilers: version 7.4.4m
>Description:

I've just noticed that the +BUILD_INFO file in the pkgsrc db/pkg directory, 
since approximately 2008-06-03 (the last mipseb build was 2008-06-02), contain:

MACHINE_GNU_ARCH=mipsel

... which is wrong!  SGI machines are big-endian - and builds before this date 
correctly wrote MACHINE_GNU_ARCH=mipseb to their +BUILD_INFO files.

I don't know whether this actually affects anything (since I'm not using a GNU 
toolchain) - but it's definitely incorrect.
>How-To-Repeat:

Last 20 mipseb builds:

2008-05-16 /usr/bsd/src/../var/db/pkg/libgetopt-1.4.3/+BUILD_INFO
2008-05-16 /usr/bsd/src/../var/db/pkg/libidn-1.8/+BUILD_INFO
2008-05-16 /usr/bsd/src/../var/db/pkg/speex-1.0.5nb1/+BUILD_INFO
2008-05-16 /usr/bsd/src/../var/db/pkg/vorbis-tools-1.2.0nb1/+BUILD_INFO
2008-05-19 /usr/bsd/src/../var/db/pkg/gtar-1.20/+BUILD_INFO
2008-05-19 /usr/bsd/src/../var/db/pkg/gtar-base-1.20/+BUILD_INFO
2008-05-19 /usr/bsd/src/../var/db/pkg/gtar-info-1.20/+BUILD_INFO
2008-05-21 /usr/bsd/src/../var/db/pkg/ImageMagick-6.3.6.1/+BUILD_INFO
2008-05-21 /usr/bsd/src/../var/db/pkg/lzo-2.03/+BUILD_INFO
2008-05-21 /usr/bsd/src/../var/db/pkg/netpbm-10.34nb1/+BUILD_INFO
2008-05-21 /usr/bsd/src/../var/db/pkg/png-1.2.29/+BUILD_INFO
2008-05-22 /usr/bsd/src/../var/db/pkg/links-2.1.0.36/+BUILD_INFO
2008-05-23 /usr/bsd/src/../var/db/pkg/gnutls-2.2.5/+BUILD_INFO
2008-05-23 /usr/bsd/src/../var/db/pkg/libxslt-1.1.24/+BUILD_INFO
2008-06-02 /usr/bsd/src/../var/db/pkg/bmake-20080215nb1/+BUILD_INFO
2008-06-02 /usr/bsd/src/../var/db/pkg/install-sh-20070712/+BUILD_INFO
2008-06-02 /usr/bsd/src/../var/db/pkg/nawk-20050424/+BUILD_INFO
2008-06-02 /usr/bsd/src/../var/db/pkg/nbsed-20040821nb1/+BUILD_INFO
2008-06-02 /usr/bsd/src/../var/db/pkg/pax-20080110/+BUILD_INFO
2008-06-02 /usr/bsd/src/../var/db/pkg/tnftp-20070806/+BUILD_INFO

(NB: It appears that the last action here was to re-bootstrap after the 
problems I had whereby upgrading bmake removed bmake, breaking the system)

First builds with mipsel:

2008-06-03 /usr/bsd/src/../var/db/pkg/randrproto-1.2.1nb1/+BUILD_INFO
2008-06-03 /usr/bsd/src/../var/db/pkg/wget-1.11.3/+BUILD_INFO
2008-06-03 /usr/bsd/src/../var/db/pkg/xextproto-7.0.3/+BUILD_INFO
2008-06-03 /usr/bsd/src/../var/db/pkg/xproto-7.0.13/+BUILD_INFO
2008-06-05 /usr/bsd/src/../var/db/pkg/libmikmod-3.1.11.1nb3/+BUILD_INFO
2008-06-09 /usr/bsd/src/../var/db/pkg/autoconf-2.62/+BUILD_INFO
2008-06-09 /usr/bsd/src/../var/db/pkg/autoconf213-2.13nb1/+BUILD_INFO
2008-06-09 /usr/bsd/src/../var/db/pkg/automake-1.10.1/+BUILD_INFO
2008-06-09 /usr/bsd/src/../var/db/pkg/automake14-1.4.6/+BUILD_INFO
2008-06-09 /usr/bsd/src/../var/db/pkg/dillo-0.8.6nb2/+BUILD_INFO

>Fix:

Do I need to manually set 'MACHINE_ARCH', 'MACHINE_GNU_ARCH' or 'CPU' in 
mk.conf?  This seems to be the value used by configure...

The correct value for CPU seems to be "mips" - should the MACHINE*ARCH 
caraibles be "mipseb" OR "mips" (I'm assuming the former...)



Home | Main Index | Thread Index | Old Index