Subject: toolchain/36876: netbsd-4 build failure in compat tools
To: None <toolchain-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Greg A. Woods <woods@planix.com>
List: netbsd-bugs
Date: 08/31/2007 21:00:01
>Number: 36876
>Category: toolchain
>Synopsis: netbsd-4 build failure in compat tools
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Aug 31 21:00:01 +0000 2007
>Originator: Greg A. Woods
>Release: netbsd-4 2007/08/30
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Environment:
System:
Architecture: i386
Machine: i386
>Description:
new build problems on netbsd-4 as of 2007/08/30
>How-To-Repeat:
do-tools ===> .
dependall ===> tools
dependall ===> tools/host-mkdep
install ===> tools/host-mkdep
dependall ===> tools/compat
compile compat/atoll.lo
compile compat/basename.lo
compile compat/dirname.lo
compile compat/fgetln.lo
compile compat/flock.lo
compile compat/fparseln.lo
In file included from ./nbtool_config.h:535,
from /building/work/woods/m-NetBSD-4/tools/compat/../../lib/libc/stdlib/atoll.c:33:
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:653: error: redefinition of 'be16enc'
/usr/include/sys/endian.h:195: error: previous definition of 'be16enc' was here
In file included from ./nbtool_config.h:535,
from /building/work/woods/m-NetBSD-4/tools/compat/fgetln.c:36:
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:653: error: redefinition of 'be16enc'
/usr/include/sys/endian.h:195: error: previous definition of 'be16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:656: error: redefinition of 'be32enc'
/usr/include/sys/endian.h:229: error: previous definition of 'be32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:656: error: redefinition of 'be32enc'
/usr/include/sys/endian.h:229: error: previous definition of 'be32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:659: error: redefinition of 'be64enc'
/usr/include/sys/endian.h:267: error: previous definition of 'be64enc' was here
In file included from ./nbtool_config.h:535,
from /building/work/woods/m-NetBSD-4/tools/compat/flock.c:44:
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:653: error: redefinition of 'be16enc'
/usr/include/sys/endian.h:195: error: previous definition of 'be16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:656: error: redefinition of 'be32enc'
/usr/include/sys/endian.h:229: error: previous definition of 'be32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:659: error: redefinition of 'be64enc'
/usr/include/sys/endian.h:267: error: previous definition of 'be64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:662: error: redefinition of 'le16enc'
/usr/include/sys/endian.h:204: error: previous definition of 'le16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:665: error: redefinition of 'le32enc'
/usr/include/sys/endian.h:240: error: previous definition of 'le32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:668: error: redefinition of 'le64enc'
/usr/include/sys/endian.h:276: error: previous definition of 'le64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:681: error: redefinition of 'be16dec'
/usr/include/sys/endian.h:213: error: previous definition of 'be16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:684: error: redefinition of 'be32dec'
/usr/include/sys/endian.h:251: error: previous definition of 'be32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:687: error: redefinition of 'be64dec'
/usr/include/sys/endian.h:285: error: previous definition of 'be64dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:690: error: redefinition of 'le16dec'
/usr/include/sys/endian.h:221: error: previous definition of 'le16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:693: error: redefinition of 'le32dec'
/usr/include/sys/endian.h:259: error: previous definition of 'le32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:696: error: redefinition of 'le64dec'
/usr/include/sys/endian.h:293: error: previous definition of 'le64dec' was here
--- flock.lo ---
*** [flock.lo] Error code 1
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:659: error: redefinition of 'be64enc'
/usr/include/sys/endian.h:267: error: previous definition of 'be64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:662: error: redefinition of 'le16enc'
/usr/include/sys/endian.h:204: error: previous definition of 'le16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:665: error: redefinition of 'le32enc'
/usr/include/sys/endian.h:240: error: previous definition of 'le32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:668: error: redefinition of 'le64enc'
/usr/include/sys/endian.h:276: error: previous definition of 'le64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:681: error: redefinition of 'be16dec'
/usr/include/sys/endian.h:213: error: previous definition of 'be16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:684: error: redefinition of 'be32dec'
In file included from ./nbtool_config.h:535,
from /building/work/woods/m-NetBSD-4/tools/compat/namespace.h:9,
from /building/work/woods/m-NetBSD-4/tools/compat/../../lib/libc/gen/dirname.c:44:
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:653: error: redefinition of 'be16enc'
/usr/include/sys/endian.h:195: error: previous definition of 'be16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:656: error: redefinition of 'be32enc'
/usr/include/sys/endian.h:229: error: previous definition of 'be32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:659: error: redefinition of 'be64enc'
/usr/include/sys/endian.h:267: error: previous definition of 'be64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:662: error: redefinition of 'le16enc'
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:662: error: redefinition of 'le16enc'
/usr/include/sys/endian.h:251: error: previous definition of 'be32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:687: error: redefinition of 'be64dec'
/usr/include/sys/endian.h:285: error: previous definition of 'be64dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:690: error: redefinition of 'le16dec'
/usr/include/sys/endian.h:221: error: previous definition of 'le16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:693: error: redefinition of 'le32dec'
/usr/include/sys/endian.h:259: error: previous definition of 'le32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:696: error: redefinition of 'le64dec'
/usr/include/sys/endian.h:293: error: previous definition of 'le64dec' was here
/usr/include/sys/endian.h:204: error: previous definition of 'le16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:665: error: redefinition of 'le32enc'
/usr/include/sys/endian.h:240: error: previous definition of 'le32enc' was here
/usr/include/sys/endian.h:204: error: previous definition of 'le16enc' was here
--- atoll.lo ---
*** [atoll.lo] Error code 1
In file included from ./nbtool_config.h:535,
from /building/work/woods/m-NetBSD-4/tools/compat/namespace.h:9,
from /building/work/woods/m-NetBSD-4/tools/compat/../../lib/libc/gen/basename.c:44:
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:653: error: redefinition of 'be16enc'
/usr/include/sys/endian.h:195: error: previous definition of 'be16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:668: error: redefinition of 'le64enc'
/usr/include/sys/endian.h:276: error: previous definition of 'le64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:681: error: redefinition of 'be16dec'
/usr/include/sys/endian.h:213: error: previous definition of 'be16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:684: error: redefinition of 'be32dec'
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:665: error: redefinition of 'le32enc'
/usr/include/sys/endian.h:240: error: previous definition of 'le32enc' was here
/usr/include/sys/endian.h:251: error: previous definition of 'be32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:656: error: redefinition of 'be32enc'
/usr/include/sys/endian.h:229: error: previous definition of 'be32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:687: error: redefinition of 'be64dec'
/usr/include/sys/endian.h:285: error: previous definition of 'be64dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:668: error: redefinition of 'le64enc'
/usr/include/sys/endian.h:276: error: previous definition of 'le64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:681: error: redefinition of 'be16dec'
/usr/include/sys/endian.h:213: error: previous definition of 'be16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:684: error: redefinition of 'be32dec'
/usr/include/sys/endian.h:251: error: previous definition of 'be32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:690: error: redefinition of 'le16dec'
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:659: error: redefinition of 'be64enc'
/usr/include/sys/endian.h:267: error: previous definition of 'be64enc' was here
/usr/include/sys/endian.h:221: error: previous definition of 'le16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:687: error: redefinition of 'be64dec'
/usr/include/sys/endian.h:285: error: previous definition of 'be64dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:693: error: redefinition of 'le32dec'
/usr/include/sys/endian.h:259: error: previous definition of 'le32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:662: error: redefinition of 'le16enc'
/usr/include/sys/endian.h:204: error: previous definition of 'le16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:665: error: redefinition of 'le32enc'
/usr/include/sys/endian.h:240: error: previous definition of 'le32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:668: error: redefinition of 'le64enc'
/usr/include/sys/endian.h:276: error: previous definition of 'le64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:681: error: redefinition of 'be16dec'
/usr/include/sys/endian.h:213: error: previous definition of 'be16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:684: error: redefinition of 'be32dec'
/usr/include/sys/endian.h:251: error: previous definition of 'be32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:687: error: redefinition of 'be64dec'
/usr/include/sys/endian.h:285: error: previous definition of 'be64dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:696: error: redefinition of 'le64dec'
/usr/include/sys/endian.h:293: error: previous definition of 'le64dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:690: error: redefinition of 'le16dec'
/usr/include/sys/endian.h:221: error: previous definition of 'le16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:693: error: redefinition of 'le32dec'
/usr/include/sys/endian.h:259: error: previous definition of 'le32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:696: error: redefinition of 'le64dec'
/usr/include/sys/endian.h:293: error: previous definition of 'le64dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:690: error: redefinition of 'le16dec'
/usr/include/sys/endian.h:221: error: previous definition of 'le16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:693: error: redefinition of 'le32dec'
/usr/include/sys/endian.h:259: error: previous definition of 'le32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:696: error: redefinition of 'le64dec'
/usr/include/sys/endian.h:293: error: previous definition of 'le64dec' was here
--- dirname.lo ---
*** [dirname.lo] Error code 1
--- fgetln.lo ---
*** [fgetln.lo] Error code 1
--- basename.lo ---
*** [basename.lo] Error code 1
In file included from ./nbtool_config.h:535,
from /building/work/woods/m-NetBSD-4/tools/compat/namespace.h:9,
from /building/work/woods/m-NetBSD-4/tools/compat/../../lib/libc/stdio/fparseln.c:37:
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:653: error: redefinition of 'be16enc'
/usr/include/sys/endian.h:195: error: previous definition of 'be16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:656: error: redefinition of 'be32enc'
/usr/include/sys/endian.h:229: error: previous definition of 'be32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:659: error: redefinition of 'be64enc'
/usr/include/sys/endian.h:267: error: previous definition of 'be64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:662: error: redefinition of 'le16enc'
/usr/include/sys/endian.h:204: error: previous definition of 'le16enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:665: error: redefinition of 'le32enc'
/usr/include/sys/endian.h:240: error: previous definition of 'le32enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:668: error: redefinition of 'le64enc'
/usr/include/sys/endian.h:276: error: previous definition of 'le64enc' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:681: error: redefinition of 'be16dec'
/usr/include/sys/endian.h:213: error: previous definition of 'be16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:684: error: redefinition of 'be32dec'
/usr/include/sys/endian.h:251: error: previous definition of 'be32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:687: error: redefinition of 'be64dec'
/usr/include/sys/endian.h:285: error: previous definition of 'be64dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:690: error: redefinition of 'le16dec'
/usr/include/sys/endian.h:221: error: previous definition of 'le16dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:693: error: redefinition of 'le32dec'
/usr/include/sys/endian.h:259: error: previous definition of 'le32dec' was here
/building/work/woods/m-NetBSD-4/tools/compat/compat_defs.h:696: error: redefinition of 'le64dec'
/usr/include/sys/endian.h:293: error: previous definition of 'le64dec' was here
--- fparseln.lo ---
*** [fparseln.lo] Error code 1
6 errors
nbmake: stopped in /building/work/woods/m-NetBSD-4/tools/compat
--- dependall ---
*** [dependall] Error code 2
1 error
>Fix:
>Unformatted: