Date: Sat, 27 Dec 2014 13:22:52 -0800 From: Garrett Cooper <yaneurabeya@gmail.com> To: Beeblebrox <zaphod@berentweb.com> Cc: FreeBSD CURRENT <freebsd-current@freebsd.org>, =?iso-8859-1?Q?Dag-Erling_Sm=F8rgrav?= <des@FreeBSD.org> Subject: Re: Buildworld fails due to WITHOUT_CRYPT (3 issues) Message-ID: <53C93307-F121-44D7-9F04-38EF10F4E0AA@gmail.com> In-Reply-To: <20141224114504.73165f6a@rsbsd.rsb> References: <20141224114504.73165f6a@rsbsd.rsb>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <zaphod@berentweb.com> 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 <openssl/ssl.h> >=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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53C93307-F121-44D7-9F04-38EF10F4E0AA>