From owner-freebsd-hackers@FreeBSD.ORG Sat Jun 26 21:43:22 2010 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A32641065672; Sat, 26 Jun 2010 21:43:22 +0000 (UTC) (envelope-from yanefbsd@gmail.com) Received: from mail-qy0-f182.google.com (mail-qy0-f182.google.com [209.85.216.182]) by mx1.freebsd.org (Postfix) with ESMTP id 2839B8FC0A; Sat, 26 Jun 2010 21:43:21 +0000 (UTC) Received: by qyk12 with SMTP id 12so80851qyk.13 for ; Sat, 26 Jun 2010 14:43:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=yDlXKeSlLgYz09DV7mHSjRcWBPcd0N1IyVxMycmthkc=; b=YUbJvzl94eZWokqFhMAzXmmCb9A/Khc6nKYN0Ceff866GBMh/xbOMMMKHOS1ih00eQ ySQNwhPowUHa1FdGk9bMXwuJQEsQU84MgPzz7Fa99Cc5JVz1q/eyDGFhEW1KXdSqhDH1 jUpESD7c2aQ2ESDeKVvtXdFaC78s6Exq/euI8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=rrWs8crcmidHneN/GUPsejTwwWydT3K11uLHz2JfyryXSeAhx120nFb+GJSAabaRgN MGN1o+SrvyV9vcz70tPHcmSgNOaY7Aw7WGqj2HgmVoxi/ElrxQpUWL+N2SV8yg3sKSJq gB4xojYVrg9YHIqIMhkHXEWaiDOZbKwIg4cCs= MIME-Version: 1.0 Received: by 10.229.182.16 with SMTP id ca16mr1514024qcb.88.1277588601242; Sat, 26 Jun 2010 14:43:21 -0700 (PDT) Received: by 10.229.80.75 with HTTP; Sat, 26 Jun 2010 14:43:21 -0700 (PDT) In-Reply-To: References: Date: Sat, 26 Jun 2010 14:43:21 -0700 Message-ID: From: Garrett Cooper To: FreeBSD-Hackers Content-Type: multipart/mixed; boundary=0016363101cbbf047d0489f5c63f Cc: Warner Losh , Dag-Erling Smorgrav Subject: Re: [PATCH] Build error with buildworld and -j1 on a memory backed /usr/obj X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2010 21:43:22 -0000 --0016363101cbbf047d0489f5c63f Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sat, Jun 26, 2010 at 2:14 PM, Garrett Cooper wrote: > =A0 =A0The build for r209530 failed with a clean workspace and a clean > /usr/obj/scratch. I was building with a memory-disk backed /usr/obj. > Here's the error: > > =3D=3D=3D> usr.bin/ar (depend) > lex -t =A0/scratch/freebsd/current/usr.bin/ar/acplex.l > acplex.c > yacc -d /scratch/freebsd/current/usr.bin/ar/acpyacc.y > cp y.tab.c acpyacc.c > rm -f .depend > mkdep -f .depend -a =A0 =A0-I. -I/scratch/freebsd/current/usr.bin/ar > /scratch/freebsd/current/usr.bin/ar/ar.c acplex.c acpyacc.c > /scratch/freebsd/current/usr.bin/ar/read.c > /scratch/freebsd/current/usr.bin/ar/util.c > /scratch/freebsd/current/usr.bin/ar/write.c > /scratch/freebsd/current/usr.bin/ar/ar.c:66:21: error: archive.h: No > such file or directory > /scratch/freebsd/current/usr.bin/ar/acpyacc.y:35:21: error: archive.h: > No such file or directory > /scratch/freebsd/current/usr.bin/ar/acpyacc.y:36:27: error: > archive_entry.h: No such file or directory > /scratch/freebsd/current/usr.bin/ar/read.c:33:21: error: archive.h: No > such file or directory > /scratch/freebsd/current/usr.bin/ar/read.c:34:27: error: > archive_entry.h: No such file or directory > /scratch/freebsd/current/usr.bin/ar/write.c:34:21: error: archive.h: > No such file or directory > /scratch/freebsd/current/usr.bin/ar/write.c:35:27: error: > archive_entry.h: No such file or directory > mkdep: compile failed > *** Error code 1 > > Stop in /scratch/freebsd/current/usr.bin/ar. > *** Error code 1 > > Stop in /scratch/freebsd/current/usr.bin. > *** Error code 1 > > Stop in /scratch/freebsd/current. > *** Error code 1 > > Stop in /scratch/freebsd/current. > *** Error code 1 > > Stop in /scratch/freebsd/current. > > =A0 =A0I think this is due to dependency issues with libarchive. I had > some changes in my p4 workspace to address the libarchive dependency > for libpkg (for work that's incoming in the next couple of months) > that Warner helped me out with, and once I applied the change things > worked. The patch is attached. > > Thanks, > -Garrett > > PS This might also resolve some other outstanding issues related to > build dependencies with libarchive, like with the ia64 lzma issue that > DES and a few other folks have been munging over for a while now. Sorry. The old patch contained some noise from other changes I was testing out earlier. This cleans it up. Thanks, -Garrett --0016363101cbbf047d0489f5c63f Content-Type: application/octet-stream; name="fix-libarchive-dependencies.diff" Content-Disposition: attachment; filename="fix-libarchive-dependencies.diff" Content-Transfer-Encoding: base64 X-Attachment-Id: f_gawz73vx1 SW5kZXg6IE1ha2VmaWxlLmluYzEKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PQotLS0gTWFrZWZpbGUuaW5jMQkocmV2aXNp b24gMjA5NTMwKQorKysgTWFrZWZpbGUuaW5jMQkod29ya2luZyBjb3B5KQpAQCAtMTEyMSwxNiAr MTEyMSwxNSBAQAogX3ByZWJ1aWxkX2xpYnM9CSR7X2tlcmJlcm9zNV9saWJfbGliYXNuMX0gJHtf a2VyYmVyb3M1X2xpYl9saWJoZWltbnRsbX0gXAogCQkke19rZXJiZXJvczVfbGliX2xpYmh4NTA5 fSAke19rZXJiZXJvczVfbGliX2xpYmtyYjV9IFwKIAkJJHtfa2VyYmVyb3M1X2xpYl9saWJyb2tl bn0gXAotCQlsaWIvbGliYnoyIGxpYi9saWJjb21fZXJyIGxpYi9saWJjcnlwdCBcCi0JCWxp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fX0wgbGliL2xpYm1kX19MIGxpYi9saWJ6X19MCisu ZWxzZQorbGliL2xpYmFyY2hpdmVfX0w6IGxpYi9saWJiejJfX0wgbGliL2xpYmx6bWFfX0wgbGli L2xpYm1kX19MIGxpYi9saWJ6X19MIFwKKwkJICAgc2VjdXJlL2xpYi9saWJjcnlwdG9fX0wKKy5l bmRpZgorCiBsaWIvbGlib3BpZV9fTCBsaWIvbGlidGFjcGx1c19fTDogbGliL2xpYm1kX19MCiAK IC5pZiAke01LX0NEREx9ICE9ICJubyIKQEAgLTExODgsNiArMTE5NCwxMiBAQAogbGliL2xpYmZl dGNoX19MIGxpYi9saWJyYWRpdXNfX0w6IGxpYi9saWJtZF9fTAogLmVuZGlmCiAKKy5pZiAke01L X1BLR1RPT0xTfSAhPSAibm8iCitfbGliX2xpYnBrZz0JbGliL2xpYnBrZworIyBPbmx5IGxpc3Rp bmcgZGlyZWN0IGRlcGVuZGVuY2llcyBvZiBsaWJwa2cuCitsaWIvbGlicGtnX19MOiBsaWIvbGli YXJjaGl2ZV9fTCBsaWIvbGliZmV0Y2hfX0wgbGliL2xpYm1kX19MIGxpYi9saWJ1dGlsX19MCisu ZW5kaWYKKwogLmZvciBfbGliIGluICR7X3ByZXJlcV9saWJzfQogJHtfbGlifV9fUEw6IC5QSE9O WQogLmlmIGV4aXN0cygkey5DVVJESVJ9LyR7X2xpYn0pCg== --0016363101cbbf047d0489f5c63f--