Subject: pkg/19586: make readme fails on alpha
To: None <gnats-bugs@gnats.netbsd.org>
From: None <kpneal@pobox.com>
List: netbsd-bugs
Date: 12/27/2002 18:41:51
>Number:         19586
>Category:       pkg
>Synopsis:       a make readme fails (on an alpha).
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 27 15:48:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Kevin P. Neal
>Release:        NetBSD 1.6
>Organization:
-- 
Kevin P. Neal                                http://www.pobox.com/~kpn/

"You know, I think I can hear the machine screaming from here...  \
'help me! hellpp meeee!'"  - Heather Flanagan, 14:52:23 Wed Jun 10 1998
>Environment:
System: NetBSD rune.neutralgood.org 1.6 NetBSD 1.6 (RUNE-$Revision: 1.1 $) #7: Sun Sep 22 20:32:24 EDT 2002 kpn@neutralgood.org:/local/kernel/compile/RUNE alpha
Architecture: alpha
Machine: alpha
>Description:

===> Creating README.html for src/nas-1.6
===> Creating README.html for src/normalize-0.7.6nb1
===> Creating README.html for src/nspmod-0.1
===> Creating README.html for src/oggasm-1.4.0
CATEGORIES and DISTNAME are mandatory.
*** Error code 1 (continuing)


Stop.
make: stopped in /usr/pkg/src/audio/oss
*** Error code 1 (continuing)


Stop.
make: stopped in /usr/pkg/src/audio
*** Error code 1 (continuing)


Stop.
make: stopped in /usr/pkg/src/audio
*** Error code 1 (continuing)


Stop.
make: stopped in /usr/pkg/src
*** Error code 1 (continuing)


Stop.
make: stopped in /usr/pkg/src
Processing categories for README-all.html: archivers audio.
rune% 

The problem seems to be in audio/oss/Makefile here:

.if !empty(MACHINE_PLATFORM:MNetBSD-1.5*-i386)
DISTNAME=               oss397c-netbsd-v1.5
OSS_VERSION=            3.9.7c
.elif !empty(MACHINE_PLATFORM:MNetBSD-1.6*-i386)
DISTNAME=               oss397f-netbsd-v1.6
OSS_VERSION=            3.9.7f
.endif

Since I'm not on an i386, this snippit fails. 

>How-To-Repeat:

On an Alpha, run this script:

#!/bin/sh

cd /usr/pkg/src 

find . -name README\*.html -print | xargs rm

make -k readme __ARCH_OK=yes NO_IGNORE=yes

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: