From owner-freebsd-current@FreeBSD.ORG Sat Dec 27 21:22:56 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 9ED01EEC; Sat, 27 Dec 2014 21:22:56 +0000 (UTC) Received: from mail-pa0-x22f.google.com (mail-pa0-x22f.google.com [IPv6:2607:f8b0:400e:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 66FAE9AB; Sat, 27 Dec 2014 21:22:56 +0000 (UTC) Received: by mail-pa0-f47.google.com with SMTP id kq14so15003503pab.34; Sat, 27 Dec 2014 13:22:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=cvQlibNE7Nz9qYJkATskxa5cUl/uweHxYHyjYkZol6o=; b=IgqJjXBZ1xuAs6XPDC81zASTGaGVs5xya4/Iojh0YksnQSdNmYtWyT5lVD0IX4TlFX KbqFqAiTJVTpyxDpv7hpHxcOI/qexNMsmxvxVX1vbQE9hpaJU6tg54VADjKg+8W6V6gj +gcQuCx2mlEcBvcKWl2EbgqU6epeqcPk/8ac3G3Ofc+tZ8qFqfwEsFw1jXkoNGMiCSOm MTrM8RTBhwS5F6RSix7ufO8FnvpZn1WPlw4ujKCyFqkmb6Fvyeq4vPvjF/tw3YSB6Iw0 6hiF1ad2OTF1HG1Br1meg4/BOGgk/EoEx8a0uYFOjXlcbILs5xAlO1tMX/QtBAdHo2Ar TafA== X-Received: by 10.68.227.201 with SMTP id sc9mr55998378pbc.19.1419715376006; Sat, 27 Dec 2014 13:22:56 -0800 (PST) Received: from ?IPv6:2601:8:ab80:7d6:c897:196b:4714:53bc? ([2601:8:ab80:7d6:c897:196b:4714:53bc]) by mx.google.com with ESMTPSA id ph10sm16046868pdb.51.2014.12.27.13.22.55 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 27 Dec 2014 13:22:55 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_408D7C15-81D4-441E-891D-0E5A42149B37"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Buildworld fails due to WITHOUT_CRYPT (3 issues) From: Garrett Cooper In-Reply-To: <20141224114504.73165f6a@rsbsd.rsb> Date: Sat, 27 Dec 2014 13:22:52 -0800 Message-Id: <53C93307-F121-44D7-9F04-38EF10F4E0AA@gmail.com> References: <20141224114504.73165f6a@rsbsd.rsb> To: Beeblebrox X-Mailer: Apple Mail (2.1878.6) Cc: FreeBSD CURRENT , =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= 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: Sat, 27 Dec 2014 21:22:56 -0000 --Apple-Mail=_408D7C15-81D4-441E-891D-0E5A42149B37 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Dec 24, 2014, at 1:45, Beeblebrox wrote: > I plan on using openssl from ports and have no need for kerberos. > /etc/src.conf >> WITHOUT_CRYPT=3D yes >=20 > * First problem is with bsnmp (used WITHOUT_BSNMP to bypass) > =3D=3D=3D> 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=3D'"llu"' -DQUADXFMT=3D'"llx"' -DNDEBUG = -std=3Dgnu99 -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:=20 > 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:1= 6: note:=20 > 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:=20 > 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:1= 6: note:=20 > previous declaration is here > enum snmp_code snmp_get_local_keys(struct snmp_user *, uint8_t *, = uint32_t); >=20 > * Second problem is with ldns (used WITHOUT_LDNS as temporary fix) > =3D=3D=3D> 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=3Dgnu99 = -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:=20 > 'openssl/ssl.h' file not found > #include >=20 > * I found no work-around for this problem so I'm now stuck. > =3D=3D=3D> 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=3D SUBDIR=3D = PROG=3Dh_hash DEPENDFILE=3D.depend.h_hash = .MAKE.DEPENDFILE=3D.depend.h_hash depend) > (cd /asp/git/src/lib/libc/tests/hash && make -f = /asp/git/src/lib/libc/tests/hash/Makefile _RECURSING_PROGS=3D SUBDIR=3D = PROG=3Dsha2_test DEPENDFILE=3D.depend.sha2_test = .MAKE.DEPENDFILE=3D.depend.sha2_test depend) > rm -f .depend.sha2_test > CC=3D'/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-comp= at -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=3Dgnu99 = /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:=20 > 'openssl/sha.h' file not found Hi, I fixed 2/3 of the issues in the following commits: 1. https://svnweb.freebsd.org/changeset/base/276319 3. https://svnweb.freebsd.org/changeset/base/276318 ldns needs to be fixed to not define LDNS_BUILD_CONFIG_HAVE_SSL to 1 in = common.h and HAVE_SSL in config.h. I didn=92t touch it because I don=92t = maintain that component and the issue isn=92t a trivial fix and I can=92t = test all of the permutations easily. Please file a PR and CC des@ on the = PR. Thanks for the report! --Apple-Mail=_408D7C15-81D4-441E-891D-0E5A42149B37 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEcBAEBCgAGBQJUnyMsAAoJEMZr5QU6S73eDtEH/2BJR/fnGCi+4PTcvJcQNUlg c3n7MNj6dtRWdnKltOYtXBnP9tEyozzcAhiNG2n7gz4JQu7Hbk5EO6hPNnVhxJtv Tf46cF7a5I6mIe9nm+4n6RewIr+4U3e3NUEf4UKwxzo/ViqM5kt03aEgVEZ5xuFY wdcpsyUG4GY6n05zHs6LCD9EbCANYs76G2A+O/eqyPuzdVqmBEDDh5kd0zjxDdya j3nFGF/NwEf8rHTLM+izk7yChGm2IOBvLj43ZrdoO+FtnR86uzeyGQdGU0kGhF5H IsJkCZeTLCRsAp+8eAO8peCHyLz+9/bYFSz5jfPHWeFzxyi9pGzVmA63sConrYk= =fg29 -----END PGP SIGNATURE----- --Apple-Mail=_408D7C15-81D4-441E-891D-0E5A42149B37--