pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/42034: security/isakmpd compilation error (NetBSD 4.0 / i386)



>Number:         42034
>Category:       pkg
>Synopsis:       security/isakmpd compilation error (NetBSD 4.0 / i386)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 10 11:25:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386    pkgsrc -current (2009-09-09)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        security/isakmpd file isakmpd/sysdep/common/libsysdep/arc4random.c
        apparently (according to gcc anyway) calls arc4_addrandom() with
        an incorrect arg type (arg 2).   (line 98 of the file).

>How-To-Repeat:
        I use pkg_comp with libkver and NetBSD 4.0 release sets installed
        (except the x* sets, I use pkgsrc modular xorg) to get a fairly
        pure NetBSD 4.0 release environment in which to build binary
        packages.

        In that environment, building security/isakmpd results in ...

#   compile  libsysdep/arc4random.ln
lint -chapbxzFS   -I/usr/include 
-I/pkg_comp/obj/pkgsrc/security/isakmpd/4x/isakmpd/sysdep/common/libsysdep/.. 
-I/usr/include/machine    -i arc4random.c
#   compile  libsysdep/arc4random.o
cc -O2 -I/usr/include  -Werror   -I/usr/include 
-I/pkg_comp/obj/pkgsrc/security/isakmpd/4x/isakmpd/sysdep/common/libsysdep/.. 
-I/usr/include/machine    -c    arc4random.c -o arc4random.o
cc1: warnings being treated as errors
arc4random.c: In function 'arc4random_stir':
arc4random.c:98: warning: passing argument 2 of 'arc4_addrandom' from 
incompatible pointer type
*** Error code 1

Stop.
make: stopped in 
/pkg_comp/obj/pkgsrc/security/isakmpd/4x/isakmpd/sysdep/common/libsysdep
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/security/isakmpd/4x/isakmpd
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/security/isakmpd
*** Error code 1

Stop.

>Fix:



Home | Main Index | Thread Index | Old Index