Subject: bin/11434: unable to build /usr/libexec/rmail with NetBSD-release
To: None <gnats-bugs@gnats.netbsd.org>
From: None <top@kleinbus.org>
List: netbsd-bugs
Date: 11/06/2000 19:28:10
>Number:         11434
>Category:       bin
>Synopsis:       unable to build /usr/libexec/rmail with NetBSD-release
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 06 19:28:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Tobias Walter
>Release:        release branch as of 2000-09-02
>Organization:
>Environment:
NetBSD soul.kleinbus.org 1.4.3_ALPHA NetBSD 1.4.3_ALPHA (KLEINBUS) #2: Thu Aug 31 06:08:38 CEST 2000 root@soul.kleinbus.org:/usr/src/sys/arch/i386/compile/KLEINBUS i386
>Description:
Building userland using the release sources of 2000-11-06 fails with the following error messages:

cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Werror -nostdinc -idirafter /usr/NetBSD-release/usr/include -c /usr/src/libexec/rmail/rmail.c
cc1: warnings being treated as errors
/usr/src/libexec/rmail/rmail.c: In function `main':
/usr/src/libexec/rmail/rmail.c:193: warning: null format string
/usr/src/libexec/rmail/rmail.c:204: warning: null format string
/usr/src/libexec/rmail/rmail.c:210: warning: null format string
/usr/src/libexec/rmail/rmail.c:226: warning: null format string
/usr/src/libexec/rmail/rmail.c:254: warning: null format string
/usr/src/libexec/rmail/rmail.c:260: warning: null format string
/usr/src/libexec/rmail/rmail.c:302: warning: null format string
/usr/src/libexec/rmail/rmail.c:306: warning: null format string
/usr/src/libexec/rmail/rmail.c:319: warning: null format string
/usr/src/libexec/rmail/rmail.c:331: warning: null format string
*** Error code 1

Stop.

I had no problems building NetBSD two months ago (release 2000-09-02).

>How-To-Repeat:
sup -s with this supfile:

#       $NetBSD: sup.netbsd.org,v 1.4 1999/02/16 08:22:19 abs Exp $
#
# Example supfile for sup.netbsd.org.
#

release release=allsrc host=sup.netbsd.org hostbase=/ftp/pub \
base=/usr prefix=/usr backup use-rel-suffix compress delete

current release=doc host=sup.netbsd.org hostbase=/ftp/pub \
base=/usr prefix=/usr backup use-rel-suffix compress delete

current release=pkgsrc host=sup.netbsd.org hostbase=/ftp/pub \
base=/usr prefix=/usr backup use-rel-suffix compress delete

release release=security host=sup.netbsd.org hostbase=/ftp/pub \
base=/usr prefix=/usr backup use-rel-suffix compress delete

Then build userland as usual:

cd /usr/src
make DESTDIR=/usr/NetBSD-release build 

>Fix:

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