NetBSD Problem Report #16256

Received: (qmail 8476 invoked from network); 9 Apr 2002 12:46:25 -0000
Message-Id: <Pine.SOL.4.33.0204091341150.29645-100000@draco.cus.cam.ac.uk>
Date: Tue, 9 Apr 2002 13:46:24 +0100 (BST)
From: Ben Harris <bjh21@netbsd.org>
Sender: Ben Harris <bjh21@cus.cam.ac.uk>
To: <gnats-bugs@gnats.netbsd.org>
Subject: /usr/mdec/sboot{,.srec} have odd contents

>Number:         16256
>Category:       port-mvme68k
>Synopsis:       /usr/mdec/sboot{,.srec} have odd contents
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    port-mvme68k-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 09 12:47:01 +0000 2002
>Closed-Date:    Wed Apr 10 18:35:14 +0000 2002
>Last-Modified:  Wed Apr 10 18:35:14 +0000 2002
>Originator:     Ben Harris
>Release:        2002-04-07
>Organization:
>Environment:
Cross-compiling from Debian GNU/Linux 2.2
>Description:
Having done a "make install" in sys/arch/mvme68k/stand/sboot, I find that
${DESTDIR}/usr/mdec/sboot contains S-records, and
${DESTDIR}/usr/mdec/sboot.srec is a binary file.  This seems odd.  The
output from "make" seems to agree, though:

ixion:/u1/ben/netbsd/src/sys/arch/mvme68k/stand/sboot$ /u1/ben/netbsd/tools/bin/nbmake-mvme68k install
making sure the libsa is up to date...
/u1/ben/netbsd/tools/bin/m68k--netbsdelf-ld -N -Ttext 0x4000 -o sboot start.o clock.o console.o etherfun.o le_poll.o oc_cksum.o sboot.o vers.o /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/libsa/libsa.a
/u1/ben/netbsd/tools/bin/m68k--netbsdelf-objcopy -O binary /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/sboot
/u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/srec 4 0x4000 /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/sboot  > sboot.srec < /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/sboot
STRIP=/u1/ben/netbsd/tools/bin/m68k--netbsdelf-strip /u1/ben/netbsd/tools/bin/nbinstall -U -M /u1/ben/netbsd/obj.mvme68k/METALOG -c  -r -o root -g wheel -m 555   sboot /u1/ben/netbsd/dest.mvme68k/usr/mdec/sboot.srec
STRIP=/u1/ben/netbsd/tools/bin/m68k--netbsdelf-strip /u1/ben/netbsd/tools/bin/nbinstall -U -M /u1/ben/netbsd/obj.mvme68k/METALOG -c  -r  -o root -g wheel -m 555  /u1/ben/netbsd/obj.mvme68k/sys/arch/mvme68k/stand/sboot/sboot.srec /u1/ben/netbsd/dest.mvme68k/usr/mdec/sboot

Note the last two lines, which swap sboot and sboot.srec around while
installing them.  I can't work out where in the Makefile the former of
them comes from.

>How-To-Repeat:
"make install" in sys/arch/mvme68k/stand/sboot.

>Fix:



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: scw 
State-Changed-When: Tue Apr 9 20:49:03 BST 2002 
State-Changed-Why:  
Problm *should* now be fixed. 
I'll start a cross-build this evening to verify it, but in case 
of problems, the PR is being left in feedback state. 

From: Ben Harris <bjh21@netbsd.org>
To: <scw@netbsd.org>,  <gnats-bugs@gnats.netbsd.org>
Cc:  
Subject: Re: port-mvme68k/16256
Date: Wed, 10 Apr 2002 12:43:08 +0100 (BST)

 On 9 Apr 2002 scw@netbsd.org wrote:

 > Problm *should* now be fixed.

 Confirmed.

 -- 
 Ben Harris                                                   <bjh21@netbsd.org>
 Portmaster, NetBSD/acorn26           <URL:http://www.netbsd.org/Ports/acorn26/>

State-Changed-From-To: feedback->closed 
State-Changed-By: scw 
State-Changed-When: Wed Apr 10 19:34:38 BST 2002 
State-Changed-Why:  
Confirmed fixed by submitter. 
>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.