Subject: Problem Building 06/27/2003 Source
To: None <current-users@netbsd.org>
From: Bryan Vyhmeister <bsd@hub3.net>
List: current-users
Date: 07/03/2003 22:42:09
I am having trouble building current lately. I must be doing something 
wrong. According to releng.netbsd.org, the 06/27/2003 sources build 
properly. I used cvs to update my current tree using the following 
script:

#!/bin/sh
export CVS_RSH=ssh
export CVSROOT=anoncvs@anoncvs.netbsd.org:/cvsroot
cd /usr/src
cvs update -dP -D 20030627-UTC

According to my understanding, this would check out sources from 
06/27/2003 00:00:00 UTC. Is that correct? I also tried updating using 
the above script with this change just in case the above was not 
correct:

cvs update -dP -D "2003-06-27 00:00 UTC"

I have also been wondering if using a command like the above can back a 
tree to that date. In other words, if I have a tree with 07/02/2003 
sources, can the above command take my tree back to 06/27/2003 sources, 
or do I need to check out a new tree from scratch?

After checking out the sources, I tried building release several times 
with the build stopping each time while building tools with the 
following error:


cc -c -DLOCALEDIR=\"/usr/autobuild/tools/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/usr/autobuild/tools/share/locale\"  
-DLIBDIR=\"/usr/autobuild/tools/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. 
-I. -I/usr/src/tools/texinfo/../../gnu/dist/texinfo/intl  -O  
/usr/src/tools/texinfo/../../gnu/dist/texinfo/intl/finddomain.c
cc -c -DLOCALEDIR=\"/usr/autobuild/tools/share/locale\" 
-DLOCALE_ALIAS_PATH=\"/usr/autobuild/tools/share/locale\"  
-DLIBDIR=\"/usr/autobuild/tools/lib\" -DIN_LIBINTL -DHAVE_CONFIG_H -I.. 
-I. -I/usr/src/tools/texinfo/../../gnu/dist/texinfo/intl  -O  
/usr/src/tools/texinfo/../../gnu/dist/texinfo/intl/loadmsgcat.c
/usr/src/tools/texinfo/../../gnu/dist/texinfo/intl/loadmsgcat.c: In 
function `get_sysdep_segment_value':
/usr/src/tools/texinfo/../../gnu/dist/texinfo/intl/loadmsgcat.c:721: 
`uintmax_t' undeclared (first use in this function)
/usr/src/tools/texinfo/../../gnu/dist/texinfo/intl/loadmsgcat.c:721: 
(Each undeclared identifier is reported only once
/usr/src/tools/texinfo/../../gnu/dist/texinfo/intl/loadmsgcat.c:721: 
for each function it appears in.)
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo/obj/build/intl
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo/obj/build
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo/obj/build
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools/texinfo
*** Error code 1

Stop.
nbmake: stopped in /usr/src/tools

ERROR: Failed to make tools
*** BUILD ABORTED ***


This exact error was generated by running the following command from 
/usr/src:

./build.sh -T /usr/autobuild/tools tools

Any idea what I am doing wrong? Thank you for your help.

Bryan