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>

index | next in thread | previous in thread | raw e-mail

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 ccache (clipped for brevity):
===> rescue/rescue/chown/tests (depend)
(cd /asp/git/src/usr.sbin/chown/tests && make -f /asp/git/src/usr.sbin/chown/tests/Makefile SUBDIR= _RECURSING_PROGS=  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_md5init':
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_crypto.c:(.text+0xa): undefined reference to `EVP_md5'
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_crypto.c:(.text+0x15): undefined reference to `EVP_DigestInit'
..........
/usr/lib/libarchive.a(archive_crypto.o): In function `__archive_openssl_sha512init':
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_crypto.c:(.text+0x1ba): undefined reference to `EVP_sha512'
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_crypto.c:(.text+0x1c5): undefined reference to `EVP_DigestInit'
/usr/lib/libarchive.a(archive_crypto.o): In function `__archive_openssl_sha512update':
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_crypto.c:(.text+0x1e5): undefined reference to `EVP_DigestUpdate'
/usr/lib/libarchive.a(archive_crypto.o): In function `__archive_openssl_sha512final':
/asp/git/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_crypto.c:(.text+0x1f7):
undefined reference to `EVP_DigestFinal'

* Then LDNS broke again, so I disabled that once more:
===> lib/libldns (all)
make[5]: /usr/obj/asp/git/src/lib/libldns/.depend, 2187: ignoring stale .depend 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
===> 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=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 -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 should 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 moon, so it must be because of the way the planets are aligned today :(

-- 
FreeBSD_amd64_11-Current_RadeonKMS


home | help

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