Subject: pkg/17840: Pb to compile pkg_install 20020723 on i386
To: None <gnats-bugs@gnats.netbsd.org>
From: None <mahe@civis.net>
List: netbsd-bugs
Date: 08/04/2002 16:54:17
>Number:         17840
>Category:       pkg
>Synopsis:       Pb to compile pkg_install 20020723 on i386
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Aug 04 16:55:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Franck MAHE
>Release:        1.5.2
>Organization:
>Environment:
NetBSD azrael.mediaframe.org 1.5.2 NetBSD 1.5.2 (GENERIC) #3: Sat Aug 18 23:37:05 CEST 2001     he@hamster.urc.uninett.no:/usr/src/sys/arch/i386/compile/GENERIC i386
>Description:
# make
=> Checksum OK for pkg_install-20020723.tar.gz.
===> Extracting for pkg_install-20020723
===> Patching for pkg_install-20020723
===> Applying NetBSD patches for pkg_install-20020723
===> Building for pkg_install-20020723
all ===> lib
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror    -I/usr/pkgsrc/pkgtools/pkg_install/work/pkg_install/lib/../lib  -DBINDIR='"/usr/sbin"' -DCHMOD='"/bin/chmod"' -DCHOWN='"/usr/sbin/chown"' -DCHGRP='"/usr/bin/chgrp"' -c exec.c
cc -O2  -Wall -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wreturn-type -Wcast-qual -Wpointer-arith -Wwrite-strings -Wswitch -Wshadow -Werror    -I/usr/pkgsrc/pkgtools/pkg_install/work/pkg_install/lib/../lib  -DBINDIR='"/usr/sbin"' -DCHMOD='"/bin/chmod"' -DCHOWN='"/usr/sbin/chown"' -DCHGRP='"/usr/bin/chgrp"' -c file.c
cc1: warnings being treated as errors
file.c:147: warning: initialization discards `const' from pointer target type
file.c:148: warning: initialization discards `const' from pointer target type
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: