From owner-freebsd-current@FreeBSD.ORG Wed Dec 24 10:34:24 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E962B7BC for ; Wed, 24 Dec 2014 10:34:24 +0000 (UTC) Received: from oslo.ath.cx (oslo.ath.cx [IPv6:2a01:4f8:200:42e4::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "oslo.ath.cx", Issuer "oslo.ath.cx" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FE1266D8F for ; Wed, 24 Dec 2014 10:34:24 +0000 (UTC) Received: by oslo.ath.cx (OpenSMTPD) with ESMTP id 2d123a9e; Wed, 24 Dec 2014 11:34:22 +0100 (CET) Date: Wed, 24 Dec 2014 11:34:22 +0100 From: "Herbert J. Skuhra" To: Beeblebrox Subject: Re: Buildworld fails due to WITHOUT_CRYPT (3 issues) Message-ID: <20141224103422.GB94416@oslo.ath.cx> References: <20141224114504.73165f6a@rsbsd.rsb> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141224114504.73165f6a@rsbsd.rsb> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-current@freebsd.org X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2014 10:34:25 -0000 On Wed, Dec 24, 2014 at 11:45:04AM +0200, Beeblebrox wrote: > I plan on using openssl from ports and have no need for kerberos. > /etc/src.conf >> WITHOUT_CRYPT= yes > > * First problem is with bsnmp (used WITHOUT_BSNMP to bypass) > ===> lib/libbsnmp/libbsnmp (all) > cc -O2 -pipe -I/asp/git/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib -DHAVE_ERR_H -DHAVE_GETADDRINFO -DHAVE_STRLCPY -DHAVE_STDINT_H -DHAVE_INTTYPES_H -DQUADFMT='"llu"' -DQUADXFMT='"llx"' -DNDEBUG -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments -c /asp/git/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmpcrypto.c -o snmpcrypto.o > /asp/git/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmpcrypto.c:370:1: error: > conflicting types for 'snmp_passwd_to_keys' > snmp_passwd_to_keys(struct snmp_user *user, char *passwd __unused) > /asp/git/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmp.h:273:16: note: > previous declaration is here > enum snmp_code snmp_passwd_to_keys(struct snmp_user *, char *); > /asp/git/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmpcrypto.c:382:1: error: > conflicting types for 'snmp_get_local_keys' > snmp_get_local_keys(struct snmp_user *user, uint8_t *eid __unused, > /asp/git/src/lib/libbsnmp/libbsnmp/../../../contrib/bsnmp/lib/snmp.h:274:16: note: > previous declaration is here > enum snmp_code snmp_get_local_keys(struct snmp_user *, uint8_t *, uint32_t); > > * Second problem is with ldns (used WITHOUT_LDNS as temporary fix) > ===> lib/libldns (all) > /usr/local/libexec/ccache/world/clang -target x86_64-unknown-freebsd11.0 -O2 -pipe -I/asp/git/src/lib/libldns/../../contrib/ldns -DNDEBUG -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion -Qunused-arguments -c /asp/git/src/lib/libldns/../../contrib/ldns/buffer.c -o buffer.o > In file included from /asp/git/src/lib/libldns/../../contrib/ldns/buffer.c:12: > In file included from /asp/git/src/lib/libldns/../../contrib/ldns/ldns/ldns.h:98: > /asp/git/src/lib/libldns/../../contrib/ldns/ldns/dane.h:31:10: fatal error: > 'openssl/ssl.h' file not found > #include > > * I found no work-around for this problem so I'm now stuck. > ===> lib/libc/tests/hash (depend) > (cd /asp/git/src/lib/libc/tests/hash && make -f /asp/git/src/lib/libc/tests/hash/Makefile _RECURSING_PROGS= SUBDIR= PROG=h_hash DEPENDFILE=.depend.h_hash .MAKE.DEPENDFILE=.depend.h_hash depend) > (cd /asp/git/src/lib/libc/tests/hash && make -f /asp/git/src/lib/libc/tests/hash/Makefile _RECURSING_PROGS= SUBDIR= PROG=sha2_test DEPENDFILE=.depend.sha2_test .MAKE.DEPENDFILE=.depend.sha2_test depend) > rm -f .depend.sha2_test > CC='/usr/local/libexec/ccache/world/clang -target x86_64-unknown-freebsd11.0 ' mkdep -f .depend.sha2_test -a -I/asp/git/src/lib/libc/tests/hash/../../../../crypto/openssh/openbsd-compat -I/asp/git/src/lib/libc/tests/hash/../../../../crypto/openssh -I/asp/git/src/lib/libnetbsd -I/asp/git/src/contrib/netbsd-tests -DNDEBUG -std=gnu99 /asp/git/src/contrib/netbsd-tests/lib/libc/hash/t_sha2.c > /asp/git/src/contrib/netbsd-tests/lib/libc/hash/t_sha2.c:45:10: fatal error: > 'openssl/sha.h' file not found For this error, maybe the following patch can be applied: Index: lib/libc/tests/Makefile =================================================================== --- lib/libc/tests/Makefile (revision 276057) +++ lib/libc/tests/Makefile (working copy) @@ -9,7 +9,6 @@ TESTS_SUBDIRS= c063 TESTS_SUBDIRS+= db TESTS_SUBDIRS+= gen -TESTS_SUBDIRS+= hash TESTS_SUBDIRS+= inet TESTS_SUBDIRS+= net TESTS_SUBDIRS+= regex @@ -29,4 +28,8 @@ TESTS_SUBDIRS+= ssp .endif +.if ${MK_OPENSSL} != "no" +TESTS_SUBDIRS+= hash +.endif + .include -- Herbert