Subject: pkg/19776: pkg_install fails to build in solaris using zoularis
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dolemite@wuli.nu>
List: netbsd-bugs
Date: 01/10/2003 22:41:36
>Number:         19776
>Category:       pkg
>Synopsis:       pkg_install fails to build in solaris using zoularis
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jan 10 22:42:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Alex Newman
>Release:        sunos 5.8
>Organization:
WuLi
>Environment:
SunOS hidden 5.8 Generic_108528-15 sun4u sparc SUNW,Ultra-5_10

>Description:
when i updated cvs and needed to update pkg_install all heck broke loose.
===> Building for pkg_install-20030109
cd lib && bmake
g++ -DHAVE_CONFIG_H -I. -I. -I/usr/pkg/include/db2  -I/usr/pkg/include -O2 -I/us
r/pkg/include -c digest.c -o digest.o
In file included from /usr/include/string.h:18,
                 from digest.c:55:
/usr/include/iso/string_iso.h:60: warning: declaration of `int memcmp(void *, vo
id *, unsigned int)'
/usr/include/iso/string_iso.h:60: warning: conflicts with built-in declaration `
int memcmp(const void *, const void *, unsigned int)'
/usr/include/iso/string_iso.h:61: warning: declaration of `void * memcpy(void *,
 void *, unsigned int)'
/usr/include/iso/string_iso.h:61: warning: conflicts with built-in declaration `
void * memcpy(void *, const void *, unsigned int)'
/usr/include/iso/string_iso.h:65: warning: declaration of `int strcmp(char *, ch
ar *)'
/usr/include/iso/string_iso.h:65: warning: conflicts with built-in declaration `
int strcmp(const char *, const char *)'
/usr/include/iso/string_iso.h:66: warning: declaration of `char * strcpy(char *,
 char *)'
/usr/include/iso/string_iso.h:66: warning: conflicts with built-in declaration `
char * strcpy(char *, const char *)'
/usr/include/iso/string_iso.h:70: warning: declaration of `size_t strlen(char *)
'
/usr/include/iso/string_iso.h:70: warning: conflicts with built-in declaration `
unsigned int strlen(const char *)'
digest.c: In function `char * MD5File(char *, char *)':
digest.c:76: implicit declaration of function `int warn(...)'
digest.c:89: ANSI C++ forbids implicit conversion from `void *' in assignment
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install/work/pkg_install-20030109/lib
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install/work/pkg_install-20030109
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install

>How-To-Repeat:
cvs update -d -P cd /usr/pkgsrc/pkgtool/pkg_install
>Fix:
probably rebootstrapping from othersrc
>Release-Note:
>Audit-Trail:
>Unformatted: