pkgsrc-Bugs archive

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

pkg/53587: security/racoon2 doesn not build



>Number:         53587
>Category:       pkg
>Synopsis:       security/racoon2 doesn not build
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 10 10:50:00 +0000 2018
>Originator:     Hauke Fath
>Release:        NetBSD 8.0_STABLE
>Organization:
Technische Universitaet Darmstadt
>Environment:
	
	
System: NetBSD Petzeck 8.0_STABLE NetBSD 8.0_STABLE (DMZ_DOMU) #1: Fri Sep 7 15:39:44 CEST 2018 hf@Hochstuhl:/var/obj/netbsd-builds/8/amd64/sys/arch/amd64/compile/DMZ_DOMU amd64
Architecture: x86_64
Machine: amd64
>Description:

	Building security/racoon2 on netbsd-8 fails with

[...]
gcc -O2 -D_FORTIFY_SOURCE=2 -I/usr/include/krb5 -I/usr/include -I/usr/include/krb5 -I/usr/include -DENABLE_SECURE -Werror -Wall -Wmissing-prototypes -Wmissing-declarations -g -O -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DYYTEXT_POINTER=1 -DINET6=1 -DSTDC_HEADERS=1 -DHAVE_SYS_WAIT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_TIME_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_NETINET6_IPSEC_H=1 -DHAVE_NETIPSEC_IPSEC_H=1 -DHAVE_NET_PFKEYV2_H=1 -DENABLE_NATT=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_STRFTIME=1 -DHAVE_VPRINTF=1 -DHAVE_GETTIMEOFDAY=1 -DHAVE_MKTIME=1 -DHAVE_SOCKET=1 -DHAVE_STRDUP=1 -DHAVE_STRERROR=1 -DHAVE_STRTOL=1 -DHAVE_GETIFADDRS=1 -DHAVE_STRLCPY=1 -DHAVE_STRLCAT=1 -DHAVE_ATOLL=1 -DHAVE_SA_LEN=1 -DHAVE_OPENSSL_EVP_H=1 -DSYSCON!
 FDIR=\"/etc/pkg/racoon2\" -DCF_DEBUG -c if_spmd.c
if_spmd.c: In function 'spmd_if_login_response':
if_spmd.c:1111:8: error: implicit declaration of function 'EVP_MD_CTX_new' [-Werror=implicit-function-declaration]
  ctx = EVP_MD_CTX_new();
        ^
if_spmd.c:1111:6: error: assignment makes pointer from integer without a cast [-Werror=int-conversion]
  ctx = EVP_MD_CTX_new();
      ^
if_spmd.c:1162:2: error: implicit declaration of function 'EVP_MD_CTX_free' [-Werror=implicit-function-declaration]
  EVP_MD_CTX_free(ctx);
  ^
cc1: all warnings being treated as errors
*** Error code 1


	probably because the code is out of sync with openssl api
	versioning, since the function prototypes, declared in
	<openssl/evp.h>, are protected with #if OPENSSL_API_COMPAT >=
	0x10100000L.

	
>How-To-Repeat:

	Build pkg on netbsd.8.

	
>Fix:
	Yes, please.

	

>Unformatted:
 	
 	


Home | Main Index | Thread Index | Old Index