Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Dec 2014 14:47:57 +0200
From:      Beeblebrox <zaphod@berentweb.com>
Cc:        FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: Buildworld fails due to WITHOUT_CRYPT (3 issues)
Message-ID:  <20141224144757.4916f2c5@rsbsd.rsb>
In-Reply-To: <20141224124309.79f9b8fa@rsbsd.rsb>
References:  <20141224114504.73165f6a@rsbsd.rsb> <CACdU%2Bf91tFehbehOAzNSs%2Bf5A2e9cnsG5KknP72O6PgJ7NMtbg@mail.gmail.com> <20141224124309.79f9b8fa@rsbsd.rsb>

next in thread | previous in thread | raw e-mail | index | archive | help
I patched Herbert's code, deleted the entire partial world and have WITHOUT=
_CRYPT, WITHOUT_BSNMP in src.conf.

First this part below broke, but managed to move forward when I disabled cc=
ache (clipped for brevity):
=3D=3D=3D> rescue/rescue/chown/tests (depend)
(cd /asp/git/src/usr.sbin/chown/tests && make -f /asp/git/src/usr.sbin/chow=
n/tests/Makefile SUBDIR=3D _RECURSING_PROGS=3D  depend)
`chown.o' is up to date.
nc.lo: In function `_$$hide$$ nc.lo main':
(.text+0x61a): warning: warning: mktemp() possibly used unsafely; consider =
using mkstemp()
/usr/lib/libarchive.a(archive_crypto.o): In function `__archive_openssl_md5=
init':
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_cry=
pto.c:(.text+0xa): undefined reference to `EVP_md5'
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_cry=
pto.c:(.text+0x15): undefined reference to `EVP_DigestInit'
..........
/usr/lib/libarchive.a(archive_crypto.o): In function `__archive_openssl_sha=
512init':
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_cry=
pto.c:(.text+0x1ba): undefined reference to `EVP_sha512'
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_cry=
pto.c:(.text+0x1c5): undefined reference to `EVP_DigestInit'
/usr/lib/libarchive.a(archive_crypto.o): In function `__archive_openssl_sha=
512update':
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_cry=
pto.c:(.text+0x1e5): undefined reference to `EVP_DigestUpdate'
/usr/lib/libarchive.a(archive_crypto.o): In function `__archive_openssl_sha=
512final':
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_cry=
pto.c:(.text+0x1f7):
undefined reference to `EVP_DigestFinal'

* Then LDNS broke again, so I disabled that once more:
=3D=3D=3D> lib/libldns (all)
make[5]: /usr/obj/asp/git/src/lib/libldns/.depend, 2187: ignoring stale .de=
pend for /usr/obj/asp/git/src/tmp/usr/lib/libcrypto.a
building shared library libldns.so.5
/usr/obj/asp/git/src/tmp/usr/bin/ld: cannot find -lcrypto

* Finally buildworld broke at CAM
=3D=3D=3D> usr.sbin/ctld (all)
cc  -O2 -pipe   -I/asp/git/src/usr.sbin/ctld -I/asp/git/src/usr.sbin/ctld/.=
./../sys -I/asp/git/src/usr.sbin/ctld/../../sys/cam/ctl -I/asp/git/src/usr.=
sbin/ctld/../../sys/dev/iscsi -DNDEBUG -std=3Dgnu99 -fstack-protector -Wsys=
tem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototy=
pes -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-po=
inter-sign -Wthread-safety -Wno-empty-body -Wno-string-plus-int -Wno-unused=
-const-variable -Qunused-arguments -c /asp/git/src/usr.sbin/ctld/chap.c
/asp/git/src/usr.sbin/ctld/chap.c:38:10: fatal error: 'openssl/err.h' file =
not
      found
#include <openssl/err.h>
That file has several: (#include <openssl/err.h>, #include <openssl/md5.h>,=
 #include <openssl/rand.h>). Other that deleting the include lines, how sho=
uld I disable those?

* At svn revision 276177

Wow I haven't had this much trouble for quite a while. I don't see a full m=
oon, so it must be because of the way the planets are aligned today :(

--=20
FreeBSD_amd64_11-Current_RadeonKMS



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