Subject: toolchain/17762: Failed to cross compile NetBSD-current on FreeBSD-4.6
To: None <gnats-bugs@gnats.netbsd.org>
From: None <maxunder@choisyclub.org>
List: netbsd-bugs
Date: 07/30/2002 02:20:33
>Number: 17762
>Category: toolchain
>Synopsis: Failed to cross compile NetBSD-current on FreeBSD-4.6
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 30 02:21:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Maxime
>Release: -current (29/07/2002)
>Organization:
ChoisyClub
>Environment:
FreeBSD fgw 4.6-STABLE FreeBSD 4.6-STABLE #15: Wed Jul 10 15:45:40 CEST 2002 admin@fgw:/usr/obj/usr/src/sys/fgw i386
>Description:
The build process cannot succed successfully when trying to cross compile NetBSD-current for mvme68k on a FreeBSD-4.6/i386.
Stopping on the folowing error:
/usr/include/stdlib.h:145: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `getent':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:273: warning: passing arg 2 of `cgetmatch' discards qualifiers from pointer target type
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:472: warning: passing arg 2 of `cgetmatch' discards qualifiers from pointer target type
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `cgetmatch':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:683: argument `buf' doesn't match prototype
/usr/include/stdlib.h:147: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:683: argument `name' doesn't match prototype
/usr/include/stdlib.h:147: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `cgetstr':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:899: argument `cap' doesn't match prototype
/usr/include/stdlib.h:151: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:913: warning: passing arg 2 of `cgetcap' discards qualifiers from pointer target type
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `cgetustr':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:1037: argument `cap' doesn't match prototype
/usr/include/stdlib.h:152: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:1051: warning: passing arg 2 of `cgetcap' discards qualifiers from pointer target type
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c: In function `cgetnum':
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:1120: argument `cap' doesn't match prototype
/usr/include/stdlib.h:149: prototype declaration
/home/maxunder/netbsd/src/tools/cap_mkdb/../../lib/libc/gen/getcap.c:1132: warning: passing arg 2 of `cgetcap' discards qualifiers from pointer target type
*** [getcap.lo] Error code 1
1 error
nbmake: stopped in /home/maxunder/netbsd/src/tools/cap_mkdb
*** [dependall] Error code 2
1 error
nbmake: stopped in /home/maxunder/netbsd/src/tools/cap_mkdb
*** Error code 2
Stop.
nbmake: stopped in /home/maxunder/netbsd/src/tools
*** [do-tools] Error code 1
1 error
>How-To-Repeat:
On a FreeBSD box:
cd /home/maxunder/netbsd
mkdir tools dest rel
cvs co src
cd src
./build.sh -Uod -m mvme68k -T /home/maxunder/netbsd/tools -R /home/maxunder/netbsd/rel -D /home/maxunder/netbsd/dest
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: