From owner-freebsd-stable@FreeBSD.ORG Thu Mar 15 18:49:40 2012 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 70FDA106564A; Thu, 15 Mar 2012 18:49:40 +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 358EE8FC08; Thu, 15 Mar 2012 18:49:39 +0000 (UTC) Received: from pps.filterd (ltcfislmsgpa04 [127.0.0.1]) by ltcfislmsgpa04.fnfis.com (8.14.4/8.14.4) with SMTP id q2FIPZS7002667; Thu, 15 Mar 2012 13:49:39 -0500 Received: from smtp.fisglobal.com ([10.132.206.31]) by ltcfislmsgpa04.fnfis.com with ESMTP id 13knnf831m-1 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 15 Mar 2012 13:49:39 -0500 Received: from dtwin (10.14.152.15) by smtp.fisglobal.com (10.132.206.31) with Microsoft SMTP Server (TLS) id 14.1.323.3; Thu, 15 Mar 2012 13:49:37 -0500 From: Devin Teske To: "'Oliver Lehmann'" , References: <20120315191835.Horde.U3yYVKQd9PdPYjJ7hzJKXVA@avocado.salatschuessel.net> <03be01cd02db$5b5da6d0$1218f470$@fisglobal.com> In-Reply-To: <03be01cd02db$5b5da6d0$1218f470$@fisglobal.com> Date: Thu, 15 Mar 2012 11:49:42 -0700 Message-ID: <03c301cd02dc$6576fd50$3064f7f0$@fisglobal.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQGgDetsEPy6a5A08qHBZ+l0DDmGJwEfDLzmlryjKzA= Content-Language: en-us X-Originating-IP: [10.14.152.15] X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.6.7498, 1.0.260, 0.0.0000 definitions=2012-03-15_04:2012-03-15, 2012-03-14, 1970-01-01 signatures=0 Cc: kientzle@freebsd.org Subject: RE: libarchive and WITHOUT_CRYPT X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Mar 2012 18:49:40 -0000 > -----Original Message----- > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > stable@freebsd.org] On Behalf Of Devin Teske > Sent: Thursday, March 15, 2012 11:42 AM > To: 'Oliver Lehmann'; stable@freebsd.org > Cc: kientzle@freebsd.org > Subject: RE: libarchive and WITHOUT_CRYPT > > > > > -----Original Message----- > > From: owner-freebsd-stable@freebsd.org [mailto:owner-freebsd- > > stable@freebsd.org] On Behalf Of Oliver Lehmann > > Sent: Thursday, March 15, 2012 11:19 AM > > To: stable@freebsd.org > > Cc: kientzle@freebsd.org > > Subject: libarchive and WITHOUT_CRYPT > > > > Hi, > > > > has someone ever tested to compile world with WITHOUT_CRYPT set > > in /etc/src.conf? It stops at: > > > > In file included from > > > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_read_support > _f > > ormat_xar.c:57: > > > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:129:2 > 0: > > error: sha1.h: No such file or > > directory > > > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:166:2 > 0: > > error: sha2.h: No such file or > > directory > > In file included from > > > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_write_set_fo > rm > > at_mtree.c:42: > > > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:129:2 > 0: > > error: sha1.h: No such file or > > directory > > > /usr/src/lib/libarchive/../../contrib/libarchive/libarchive/archive_hash.h:166:2 > 0: > > error: sha2.h: No such file or > > directory > > mkdep: compile failed > > > > So it obviously does not work correctly :( > > > > I've already filed a PR against this: > > http://www.freebsd.org/cgi/query-pr.cgi?pr=misc/164206 > > There's a patch in the PR that fixes this. > > BTW, the PR is still open after 59 days (can someone have a look?)! > -- > Devin > There appears to be a duplicate (and much older) PR that is related: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/160922 NOTE: I haven't tested that patch. It may not work. I know that misc/164206 works to fix RELENG_9 however. But let me warn you... If you're compiling RELENG_9, after you fix the error in libarchive, you'll then hit 3 more errors (of which I have filed PRs for also): http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164208 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164209 http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/164210 If you apply the patches in misc/164206, kern/164208, kern/164209, and kern/164210... You should be able to compile RELENG_9 cleanly all-the-way through with -DWITHOUT_OPENSSL (comparable to -DWITHOUT_CRYPT). -- Devin _____________ The information contained in this message is proprietary and/or confidential. If you are not the intended recipient, please: (i) delete the message and all copies; (ii) do not disclose, distribute or use the message in any manner; and (iii) notify the sender immediately. In addition, please be aware that any message addressed to our domain is subject to archiving and review by persons other than the intended recipient. Thank you.