From owner-freebsd-hackers@FreeBSD.ORG Sun Jun 27 00:13:51 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 C95621065670; Sun, 27 Jun 2010 00:13:51 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 6DEF08FC19; Sun, 27 Jun 2010 00:13:51 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.3/8.14.1) with ESMTP id o5R09ISc064733; Sat, 26 Jun 2010 18:09:18 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sat, 26 Jun 2010 18:09:27 -0600 (MDT) Message-Id: <20100626.180927.999284355998302680.imp@bsdimp.com> To: yanefbsd@gmail.com From: "M. Warner Losh" In-Reply-To: References: X-Mailer: Mew version 6.3 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: hackers@freebsd.org, des@freebsd.org 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: Sun, 27 Jun 2010 00:13:51 -0000 In message: Garrett Cooper writes: : The 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: : : ===> usr.bin/ar (depend) : lex -t /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 -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. : : I 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. This patch is contaminated with other patches. Warner