From owner-freebsd-questions@FreeBSD.ORG Sat Jan 14 03:14:06 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 834E11065676 for ; Sat, 14 Jan 2012 03:14:06 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 4A98E8FC19 for ; Sat, 14 Jan 2012 03:14:05 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa03 [127.0.0.1]) by ltcfislmsgpa03.fnfis.com (8.14.4/8.14.4) with SMTP id q0E2pg0J002411 for ; Fri, 13 Jan 2012 21:14:05 -0600 Received: from smtp.fisglobal.com ([10.132.206.16]) by ltcfislmsgpa03.fnfis.com with ESMTP id 12avaj930w-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Fri, 13 Jan 2012 21:14:05 -0600 Received: from [10.0.0.104] (10.14.152.28) by smtp.fisglobal.com (10.132.206.16) with Microsoft SMTP Server (TLS) id 14.1.323.3; Fri, 13 Jan 2012 21:14:04 -0600 MIME-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset="us-ascii" From: Devin Teske In-Reply-To: <2F8A82E5-70D7-4A1F-A785-704F41E7DFDA@fisglobal.com> Date: Fri, 13 Jan 2012 19:14:02 -0800 Content-Transfer-Encoding: quoted-printable Message-ID: <3489DCF5-0E1F-4F6B-A924-772F6F7B2E18@fisglobal.com> References: <2F8A82E5-70D7-4A1F-A785-704F41E7DFDA@fisglobal.com> To: FreeBSD Questions X-Mailer: Apple Mail (2.1084) X-Originating-IP: [10.14.152.28] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.5.7110, 1.0.211, 0.0.0000 definitions=2012-01-13_05:2012-01-13, 2012-01-13, 1970-01-01 signatures=0 Cc: Devin Teske , Dave Robison Subject: Re: buildworld -DWITHOUT_OPENSSL fails at lib/libarchive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Jan 2012 03:14:06 -0000 On Jan 13, 2012, at 5:20 PM, Devin Teske wrote: > Not sure when this happened, but RELENG_8 circa FreeBSD-8.1 didn't have t= his problem. >=20 > Can anyone confirm that this appears to be a regression in RELENG_9? >=20 > Output below. > --=20 > Devin >=20 > $ make buildworld -DWITHOUT_OPENSSL > [snip] > =3D=3D=3D> lib/libarchive (depend) > rm -f .depend > mkdep -f .depend -a -DDRUID -DHAVE_BZLIB_H=3D1 -DHAVE_LIBLZMA=3D1 -DHA= VE_LZMA_H=3D1 -DPLATFORM_CONFIG_H=3D\"/usr/src/lib/libarchive/config_freebs= d.h\" -I/usr/obj/usr/src/lib/libarchive > [snip] > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_read_= support_format_xar.c > [snip] > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write= _set_format_mtree.c /usr/src/lib/libarchive/../../contrib/libarchive/libarc= hive/archive_write_set_format_pax.c /usr/src/lib/libarchive/../../contrib/l= ibarchive/libarchive/archive_write_set_format_shar.c /usr/src/lib/libarchiv= e/../../contrib/libarchive/libarchive/archive_write_set_format_ustar.c /usr= /src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_f= ormat_zip.c /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/fil= ter_fork.c > In file included from /usr/src/lib/libarchive/../../contrib/libarchive/li= barchive/archive_read_support_format_xar.c:57: > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.= h:129:20: error: sha1.h: No such file or directory > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.= h:166:20: error: sha2.h: No such file or directory > In file included from /usr/src/lib/libarchive/../../contrib/libarchive/li= barchive/archive_write_set_format_mtree.c:42: > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.= h:129:20: error: sha1.h: No such file or directory > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.= h:166:20: error: sha2.h: No such file or directory > mkdep: compile failed > *** Error code 1 >=20 > Stop in /usr/src/lib/libarchive. > *** Error code 1 [snip] Solved this with the following patch (RELENG_9; config_freebsd.h revision 1= .28.2.2): --- lib/libarchive/config_freebsd.h.orig 2012-01-05 03:44:55.000000000 -0800 +++ lib/libarchive/config_freebsd.h 2012-01-13 18:43:46.000000000 -0800 @@ -176,9 +176,4 @@ #define ARCHIVE_HASH_SHA256_OPENSSL 1 #define ARCHIVE_HASH_SHA384_OPENSSL 1 #define ARCHIVE_HASH_SHA512_OPENSSL 1 -#else -#define ARCHIVE_HASH_MD5_LIBC 1 -#define ARCHIVE_HASH_SHA1_LIBC 1 -#define ARCHIVE_HASH_SHA256_LIBC 1 -#define ARCHIVE_HASH_SHA512_LIBC 1 #endif The above patch allowed the mkdep to succeed and later-compilation in the s= ame directory succeeded (yay). --=20 Devin NOTE: I'll file a PR once we get a successful buildworld (... yeah, next pl= ace we stopped with -DWITHOUT_OPENSSL is making (all) in lib/libbsnmp/libbs= nmp -- but I'll start a new thread for that). _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.