Subject: Re: Build failure: netbsd-4 amd64 built on i386, libcompat/regexp/regexp.c blowup
To: NetBSD-current Users's Discussion List <current-users@netbsd.org>
From: Greg A. Woods <woods@planix.ca>
List: current-users
Date: 05/28/2007 11:25:46
--pgp-sign-Multipart_Mon_May_28_11:25:46_2007-1
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
At Sun, 27 May 2007 17:04:43 -0400, Me-planix.com wrote:
Subject: Build failure: netbsd-4 amd64 built on i386, libcompat/regexp/rege=
xp.c blowup
>=20
> This is from a "build -m amd64 ..." running on a NetBSD/i386 3.1_RC4
> host, and a netbsd-4 source tree updated from an rsync at ~2007/05/26-03:=
00
>=20
> --- regexp.go ---
> # compile libcompat/regexp.go
> /build/woods/always/netbsd-4-i386-amd64-tools/bin/x86_64--netbsd-gcc -O2 =
-g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-sign=
-compare -Wno-traditional -Wreturn-type -Wswitch -Wshadow -Werror -O2 -pip=
e -DLIBC_SCCS -DSYSLIBC_SCCS -D__LIBCOMPAT_SOURCE__ -nostdinc -isystem =
/build/woods/always/netbsd-4-amd64-destdir/usr/include -c -DDEBUG -g /bu=
ilding/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c -o regexp.go
> cc1: warnings being treated as errors
> /building/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c: In functio=
n 'regdump':
> /building/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c:1178: warni=
ng: format '%2d' expects type 'int', but argument 2 has type 'long int'
> /building/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c:1183: warni=
ng: format '%d' expects type 'int', but argument 2 has type 'long int'
> *** [regexp.go] Error code 1
> 1 error
>=20
> nbmake: stopped in /building/work/woods/m-NetBSD-4/lib/libcompat
>=20
It gets worse it seems. This is from a "build -m amd64 ..." running on
a NetBSD/i386 4.0_BETA2 host, and a netbsd-4 source tree updated from an
rsync at ~2007/05/28-03:00
--- dependall-libcrypt ---
/building/work/woods/m-NetBSD-4/lib/libcrypt/md5crypt.c(67): warning: conve=
rsion from 'unsigned long' to 'unsigned int' may lose accuracy [132]
/building/work/woods/m-NetBSD-4/lib/libcrypt/md5crypt.c(81): warning: conve=
rsion from 'long' to 'unsigned int' may lose accuracy [132]
--- pw_gensalt.ln ---
# compile libcrypt/pw_gensalt.ln
CC=3D/build/woods/once/netbsd-4-i386-amd64-tools/bin/x86_64--netbsd-gcc /bu=
ild/woods/once/netbsd-4-i386-amd64-tools/bin/x86_64--netbsd-lint -chapbxzFS=
-d /build/woods/once/netbsd-4-amd64-destdir/usr/include -i /building/=
work/woods/m-NetBSD-4/lib/libcrypt/pw_gensalt.c
--- dependall-libcompat ---
cc1: warnings being treated as errors
/building/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c: In function =
'regdump':
/building/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c:1178: warning=
: format '%2d' expects type 'int', but argument 2 has type 'long int'
/building/work/woods/m-NetBSD-4/lib/libcompat/regexp/regexp.c:1183: warning=
: format '%d' expects type 'int', but argument 2 has type 'long int'
*** [regexp.go] Error code 1
1 error
nbmake: stopped in /building/work/woods/m-NetBSD-4/lib/libcompat
*** [dependall] Error code 2
1 error
nbmake: stopped in /building/work/woods/m-NetBSD-4/lib/libcompat
*** [dependall-libcompat] Error code 2
--- dependall-libcrypt ---
/building/work/woods/m-NetBSD-4/lib/libcrypt/pw_gensalt.c(161): warning: co=
nversion to 'unsigned int' due to prototype, arg #1 [259]
/building/work/woods/m-NetBSD-4/lib/libcrypt/pw_gensalt.c(161): warning: co=
nversion from 'unsigned long' to 'unsigned int' may lose accuracy, arg #1 [=
298]
A failure has been detected in another branch of the parallel make
nbmake: stopped in /building/work/woods/m-NetBSD-4/lib/libcrypt
*** [dependall] Error code 2
1 error
nbmake: stopped in /building/work/woods/m-NetBSD-4/lib/libcrypt
*** [dependall-libcrypt] Error code 2
--- dependall-libbz2 ---
A failure has been detected in another branch of the parallel make
nbmake: stopped in /building/work/woods/m-NetBSD-4/lib/libbz2
*** [dependall] Error code 2
1 error
nbmake: stopped in /building/work/woods/m-NetBSD-4/lib/libbz2
*** [dependall-libbz2] Error code 2
3 errors
nbmake: stopped in /building/work/woods/m-NetBSD-4/lib
*** [do-lib] Error code 2
1 error
nbmake: stopped in /building/work/woods/m-NetBSD-4
*** [build] Error code 2
1 error
nbmake: stopped in /building/work/woods/m-NetBSD-4
*** [distribution] Error code 2
1 error
nbmake: stopped in /building/work/woods/m-NetBSD-4
*** [release] Error code 2
1 error
nbmake: stopped in /building/work/woods/m-NetBSD-4
ERROR: Failed to make release
*** BUILD ABORTED ***
--=20
Greg A. Woods
Planix, Inc.
<woods@planix.com> +1 416 489-5852 x122 http://www.planix.com/
--pgp-sign-Multipart_Mon_May_28_11:25:46_2007-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0i for non-commercial use
MessageID: 7NJaDlhkcLpr80f1DmmvlgZ3g+m/wVB5
iQA/AwUBRlr0emZ9cbd4v/R/EQK7PACfZA66QheIlODfOlWo5WK3QVhF2KEAoIFb
gUCDx9Ph2FN2mYJDx/pY66MS
=d/o8
-----END PGP SIGNATURE-----
--pgp-sign-Multipart_Mon_May_28_11:25:46_2007-1--