From owner-freebsd-current@FreeBSD.ORG Wed Dec 24 10:16:48 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 062BB393 for ; Wed, 24 Dec 2014 10:16:48 +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 5BD3966B5A for ; Wed, 24 Dec 2014 10:16:46 +0000 (UTC) Received: by oslo.ath.cx (OpenSMTPD) with ESMTP id ed6f9e53; Wed, 24 Dec 2014 11:16:44 +0100 (CET) Date: Wed, 24 Dec 2014 11:16:44 +0100 From: "Herbert J. Skuhra" To: Beeblebrox Subject: Re: Buildworld fails due to WITHOUT_CRYPT (3 issues) Message-ID: <20141224101644.GA94416@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:16:48 -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 I am not running HEAD, but have you tried to disable MK_TESTS as well? The file lib/libc/Makefile.amd64 includes: if ${MK_TESTS} != "no" SUBDIR+= tests .endif > * I would prefer being able to use SSH from world (instead of dropbear), but that seems impossible when openssl is disabled. What's wrong with security/openssh-portable? -- Herbert