NetBSD Problem Report #36368

From martin@duskware.de  Mon May 21 13:11:43 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 1C11A63BA01
	for <gnats-bugs@gnats.netbsd.org>; Mon, 21 May 2007 13:11:43 +0000 (UTC)
Message-Id: <20070521130608.262AF63BA01@narn.NetBSD.org>
Date: Mon, 21 May 2007 13:06:08 +0000 (UTC)
From: harenberg@physik.uni-wuppertal.de
Reply-To: harenberg@physik.uni-wuppertal.de
To: netbsd-bugs-owner@NetBSD.org
Subject: netbsd-4 tools doesn't build on alpha
X-Send-Pr-Version: www-1.0

>Number:         36368
>Category:       port-alpha
>Synopsis:       netbsd-4 tools doesn't build on alpha
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-alpha-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 21 13:15:00 +0000 2007
>Closed-Date:    Fri Jul 06 06:37:34 +0000 2007
>Last-Modified:  Fri Jul 06 06:37:34 +0000 2007
>Originator:     Torsten Harenberg
>Release:        4.0_BETA2/alpha
>Organization:
University of Wuppertal
>Environment:
NetBSD backup.physik.uni-wuppertal.de 4.0_BETA2 NetBSD 4.0_BETA2 (alice1) #0: Thu Mar 15 14:45:20 CET 2007  root@backup.physik.uni-wuppertal.de:/usr/alphaobj/sys/arch/alpha/compile/alice1 alpha
>Description:
>From today (May 21 2007)

bash-3.1# cvs co -rnetbsd-4 -P src
bash-3.1# cvs co -rnetbsd-4 -P xsrc
bash-3.1# ./build.sh -x -T /usr/alphatools -O /usr/alphaobj -D /usr/alphabuild tools

c++ -I. -I/usr/src/gnu/dist/groff/src/preproc/pic  -I/usr/alphaobj/tools/groff/build/src/include -I/usr/src/tools/groff/../../gnu/dist/groff/src/include -DHAVE_CONFIG_H -O -I/usr/alphaobj/tools/compat -I/usr/alphaobj/tools/compat/include  -I/usr/src/tools/groff/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64 -c  /usr/src/gnu/dist/groff/src/preproc/pic/troff.cpp
c++ -I. -I/usr/src/gnu/dist/groff/src/preproc/pic  -I/usr/alphaobj/tools/groff/build/src/include -I/usr/src/tools/groff/../../gnu/dist/groff/src/include -DHAVE_CONFIG_H -O -I/usr/alphaobj/tools/compat -I/usr/alphaobj/tools/compat/include  -I/usr/src/tools/groff/../compat -DHAVE_NBTOOL_CONFIG_H=1  -D_FILE_OFFSET_BITS=64 -c  /usr/src/gnu/dist/groff/src/preproc/pic/tex.cpp
c++ -O  -o pic pic.o  lex.o  main.o  object.o  common.o  troff.o  tex.o /usr/alphaobj/tools/groff/build/src/libs/libgroff/libgroff.a   -lm
pic.o: In function `do_sprintf(char const*, double const*, int)':
: undefined reference to `snprintf(char*, unsigned long, char const*, ...)'
pic.o: In function `do_sprintf(char const*, double const*, int)':
: undefined reference to `snprintf(char*, unsigned long, char const*, ...)'

*** Failed target:  pic
*** Failed command: c++ -O -o pic pic.o lex.o main.o object.o common.o troff.o tex.o /usr/alphaobj/tools/groff/build/src/libs/libgroff/libgroff.a -lm
*** Error code 1

Stop.
nbmake: stopped in /usr/alphaobj/tools/groff/build/src/preproc/pic

*** Failed target:  src/preproc/pic
*** Failed command: if test -f /usr/src/tools/groff/../../gnu/dist/groff/makefile.ccpg* && test -f /usr/src/tools/groff/../../gnu/dist/groff/Makefile.ccpg*; then FNCASE=y; export FNCASE; else :; fi; if test /usr/src/tools/groff/../../gnu/dist/groff = .; then srcdir=.; else srcdir=`cd /usr/src/tools/groff/../../gnu/dist/groff; pwd`/src/preproc/pic; fi; test -d src/preproc/pic || /bin/sh /usr/src/tools/groff/../../gnu/dist/groff/mkinstalldirs src/preproc/pic; cd src/preproc/pic; test -f Makefile.dep || touch Makefile.dep; /usr/alphatools/bin/nbmake "ALT_AWK_PROGS=gawk mawk nawk awk" "ALT_GHOSTSCRIPT_PROGS=gs gswin32c gsos2" "AR=ar" "BROKEN_SPOOLER_FLAGS=0" "CC=cc" "CCC=c++" "CCDEFINES=-DHAVE_CONFIG_H" "CCFLAGS=-O" "CDEFINES=-DHAVE_CONFIG_H" "CFLAGS=-O" "CPPFLAGS=-I/usr/alphaobj/tools/compat -I/usr/alphaobj/tools/compat/include -I/usr/src/tools/groff/../compat -DHAVE_NBTOOL_CONFIG_H=1 -D_FILE_OFFSET_BITS=64" "DEVICE=ps" "DVIPRINT=lpr -d" "ETAGS=etags" "ETAGSCCFLAG=-C" "ETAGSFLAG
 S=" "EXEEXT=" "INSTALL_DATA=/usr/alphatools/bin/nbinstall -c -r -m 644" "INSTALL_INFO=/usr/alphatools/bin/nbinstall-info" "INSTALL_PROGRAM=/usr/alphatools/bin/nbinstall -c -r" "INSTALL_SCRIPT=/usr/alphatools/bin/nbinstall -c -r" "LDFLAGS=" "LIBEXT=a" "LIBM=-lm" "LIBOBJS=" "LIBS=" "MAKEOVERRIDES=" "OBJEXT=o" "OTHERDEVDIRS=font/devlj4 font/devlbp" "PAGE=A4" "GHOSTSCRIPT=missing" "PERLPATH=/usr/pkg/bin/perl" "PSPRINT=lpr" "PURIFY=purify" "PURIFYCCFLAGS=" "RANLIB=ranlib" "RT_SEP=:" "SH_SEP=:" "SHELL=/bin/sh" "SH_SCRIPT_SED_CMD=1s/a/a/" "SH_DEPS_SED_SCRIPT=/usr/alphaobj/tools/groff/build/arch/misc/shdeps.sed" "TTYDEVDIRS=font/devascii font/devlatin1 font/devutf8" "XDEVDIRS=" "XLIBDIRS=" "XPROGDIRS=" "X_CFLAGS=" "X_LIBS=" "X_EXTRA_LIBS=" "X_PRE_LIBS=" "YACC=/usr/alphatools/bin/nbyacc" "YACCFLAGS=-v" "appresdir=" "bindir=/usr/alphatools/lib/groff" "common_words_file=/usr/alphatools/share/groff/eign" "datadir=/usr/alphatools/share" "dataprogramdir=/usr/alphatools/share/groff" "datas
 ubdir=/usr/alphatools/share/groff" "docdir=/usr/alphatools/share/doc/groff/1.19.2" "exampledir=/usr/alphatools/share/doc/groff/1.19.2/examples" "exec_prefix=/usr/alphatools" "fontdir=/usr/alphatools/share/groff/font" "fontpath=/usr/alphatools/share/groff/site-font:/usr/alphatools/share/groff/font:/usr/lib/font" "g=" "htmldocdir=/usr/alphatools/share/doc/groff/1.19.2/html" "pdfdocdir=/usr/alphatools/share/doc/groff/1.19.2/pdf" "indexdir=/usr/dict/papers" "indexext=.i" "indexname=Ind" "infodir=/usr/alphatools/info" "legacyfontdir=/usr/lib/font" "libdir=/usr/alphatools/lib" "libprogramdir=/usr/alphatools/lib/groff" "localfontdir=/usr/alphatools/share/groff/site-font" "localtmacdir=/usr/alphatools/share/groff/site-tmac" "make_html=" "make_install_html=" "make_pdfdoc=" "make_install_pdfdoc=" "man1dir=/usr/alphatools/man/man1" "man1ext=1" "man5dir=/usr/alphatools/man/man5" "man5ext=5" "man7dir=/usr/alphatools/man/man7" "man7ext=7" "manroot=/usr/alphatools/man" "mkinstalldirs=/bin/
 sh /usr/src/tools/groff/../../gnu/dist/groff/mkinstalldirs" "prefix=/usr/alphatools" "revision=.2" "sys_tmac_prefix=" "pnmtops_nosetpage=pnmtops" "systemtmacdir=/usr/alphatools/lib/groff/site-tmac" "tmac_an_prefix=" "tmac_m_prefix=" "tmac_s_prefix=" "tmac_wrap=" "tmacdir=/usr/alphatools/share/groff/tmac" "tmacpath=/usr/alphatools/lib/groff/site-tmac:/usr/alphatools/share/groff/site-tmac:/usr/alphatools/share/groff/tmac" "top_builddir=/usr/alphaobj/tools/groff/build" "top_srcdir=/usr/src/tools/groff/../../gnu/dist/groff" "version=1.19" srcdir=$srcdir VPATH=$srcdir -f /usr/src/tools/groff/../../gnu/dist/groff/Makefile.comm -f $srcdir/Makefile.sub -f /usr/src/tools/groff/../../gnu/dist/groff/Makefile.ccpg -f Makefile.dep all
*** Error code 1

>How-To-Repeat:
Use netbsd-4 src on a alpha running NetBSD 4.0_BETA2 (not sure if running 4.0_BETA2 is needed, but I can repeat on other alphas if needed) and try to build the tools.


>Fix:

>Release-Note:

>Audit-Trail:
From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-alpha/36368
Date: Wed, 23 May 2007 11:22:32 +0200

 I just tried that you *CAN* compile the tools when you're build from  
 NetBSD 3.1:


 ===> Tools built to /usr/alphatools
 ===> build.sh ended:   Wed May 23 11:17:12 CEST 2007
 ===> Summary of results:
           build.sh command: ./build.sh -T /usr/alphatools -O /usr/ 
 alphaobj -D /usr/alphabuild tools
           build.sh started: Wed May 23 10:04:20 CEST 2007
           NetBSD version:   4.0_BETA2
           MACHINE:          alpha
           MACHINE_ARCH:     alpha
           Build platform:   NetBSD 3.1_STABLE alpha
           HOST_SH:          /bin/sh
           No /usr/alphatools/bin/nbmake, needs building.
           Bootstrapping nbmake
           TOOLDIR path:     /usr/alphatools
           DESTDIR path:     /usr/alphabuild
           RELEASEDIR path:  /usr/alphaobj/releasedir
           Created /usr/alphatools/bin/nbmake
           makewrapper:      /usr/alphatools/bin/nbmake-alpha
           Updated /usr/alphatools/bin/nbmake-alpha
           Tools built to /usr/alphatools
           build.sh ended:   Wed May 23 11:17:12 CEST 2007
 ===> .

 However, if you allready run NetBSD 4.0_BETA2, you still cannot (cvs  
 update just an hour ago).

 Cheers,

     Torsten

 --
 <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 <>                                                              <>
 <> Torsten Harenberg         harenberg@physik.uni-wuppertal.de  <>
 <> Bergische Universitaet                                       <>
 <> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
 <> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
 <> 42097 Wuppertal                                              <>
 <>                                                              <>
 <><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>


From: Torsten Harenberg <harenberg@physik.uni-wuppertal.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-alpha/36368
Date: Fri, 06 Jul 2007 08:33:10 +0200

 Just re-updated and built successfully the tools (and a kernel, and the world), 
 bug seems to be fixed. Please close this report.

 Cheers,

    Torsten

 -- 
 <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 <>                                                              <>
 <> Torsten Harenberg         harenberg@physik.uni-wuppertal.de  <>
 <> Bergische Universitaet                                       <>
 <> FB C - Physik             Tel.: +49 (0)202 439-3521          <>
 <> Gaussstr. 20              Fax : +49 (0)202 439-2811          <>
 <> 42097 Wuppertal                                              <>
 <>                                                              <>
 <><><><><><><>< Of course it runs NetBSD http://www.netbsd.org ><>

State-Changed-From-To: open->closed
State-Changed-By: skrll@netbsd.org
State-Changed-When: Fri, 06 Jul 2007 06:37:34 +0000
State-Changed-Why:
Submitter requested


>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.