Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2014 11:45:04 +0200
From:      Beeblebrox <zaphod@berentweb.com>
To:        <freebsd-current@freebsd.org>
Subject:   Buildworld fails due to WITHOUT_CRYPT (3 issues)
Message-ID:  <20141224114504.73165f6a@rsbsd.rsb>

next in thread | raw e-mail | index | archive | help
I plan on using openssl from ports and have no need for kerberos.
/etc/src.conf >> WITHOUT_CRYPT=3D yes

* 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/bsnm=
p/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-par=
ameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-ty=
pe -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-=
align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-s=
tyle-definition -Wno-pointer-sign -Wmissing-variable-declarations -Wthread-=
safety -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -Qun=
used-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:16=
: 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:16=
: note:=20
      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)
=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=3Dgn=
u99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused=
-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wno-un=
initialized -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unu=
sed-const-variable -Wno-tautological-compare -Wno-unused-value -Wno-parenth=
eses-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>

* 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-freebsd1=
1.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/con=
trib/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

* I would prefer being able to use SSH from world (instead of dropbear), bu=
t that seems impossible when openssl is disabled.

* Different question, but when doing buildworld for i386 (buildworld TARGET=
=3Di386) I try CCACHE_DISABLE=3Dyes or -DNO_CCACHE. Both alternatives seem =
to be ignored, because of the output I see scrolling by (all lines begin wi=
th "/usr/local/libexec/ccache/world/clang"). Is this as expected or am I do=
ing it wrong?

Regards.
--=20
FreeBSD_amd64_11-Current_RadeonKMS



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20141224114504.73165f6a>