>Number: 160922 >Category: misc >Synopsis: libarchive stops buildworld using WITHOUT_OPENSSL >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 22 21:00:17 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Dewayne >Release: 8.2Stable as of 20110922 >Organization: Heuristic Systems >Environment: FreeBSD hs1.hs 8.2-STABLE FreeBSD 8.2-STABLE #0: Sat Sep 17 14:39:33 EST 2011 r...@hs1.hs:/usr/obj/basesystem/usr/src/sys/hqdev-smp-vga i386 >Description: A buildworld is halted, when using WITHOUT_OPENSSL because libarchive is unable to find necessary include files /usr/include/openssl/sha.h and others.
The actual error below is a little misleading, as "cd /usr/src/lib/libarchive && make -DWITHOUT_OPENSSL" looks for sha1.h and sha2.h due to the WITHOUT_OPENSSL variable being set. "mkdep -f .depend -a -DSTRIP_FBSDID -DHAVE_BZLIB_H=1 -DHAVE_LIBLZMA=1 -DHAVE_LZMA_H=1 -DPLATFORM_CONFIG_H=\"config_freebsd.h c++ -O2 -pipe -g0 -DSTRIP_FBSDID -UDEBUGGING -UEBUGGING -march=core2 -tune=core2 -DIN_GLIBCPP_V3 -DHAVE_CONF In file included from /usr/src/lib/libarchive/archive_read_support_format_xar.c:57: /usr/src/lib/libarchive/archive_hash.h:122:20: error: sha1.h: No such file or directory /usr/src/lib/libarchive/archive_hash.h:152:20: error: sha2.h: No such file or directory" Unfortunately a similar problem with geom_eli was worked around by extracting the required files from the openssl package and placement under /usr/src. In this case, the variable WITHOUT_OPENSSL prevents building libarchive, even when the required files are in /usr/include/openssl. (Aside: Actually /etc/src.conf contains WITHOUT_CRYPT, I've just narrowed down the PR) >How-To-Repeat: cd /usr/src/lib/libarchive/ make -DWITHOUT_OPENSSL >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"