Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Jun 2010 14:43:21 -0700
From:      Garrett Cooper <yanefbsd@gmail.com>
To:        FreeBSD-Hackers <hackers@freebsd.org>
Cc:        Warner Losh <imp@freebsd.org>, Dag-Erling Smorgrav <des@freebsd.org>
Subject:   Re: [PATCH] Build error with buildworld and -j1 on a memory backed  /usr/obj
Message-ID:  <AANLkTimhFhDyMsBAMszmq951U4d3Sn8_6lDeQnfg4acU@mail.gmail.com>
In-Reply-To: <AANLkTildcwTnUiCNReWDoCm9Hf9d1JEmV4t4K-40HYSC@mail.gmail.com>
References:  <AANLkTildcwTnUiCNReWDoCm9Hf9d1JEmV4t4K-40HYSC@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--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 <yanefbsd@gmail.com> 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
a2VyYmVyb3M1X2xpYl9saWJoZWltbnRsbX0gXA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WJzPQkke19j
ZGRsX2xpYn0gZ251L2xpYiAke19rZXJiZXJvczVfbGlifSBsaWIgJHtfc2VjdXJlX2xpYn0gdXNy
LmJpbi9sZXgvbGliCiAKKy5pZiAke01LX0NSWVBUfSA9PSBubworbGliL2xpYmFyY2hpdmVfX0w6
IGxpYi9saWJiejJfX0wgbGliL2xpYmx6bWFfX0wgbGliL2xpYm1kX19MIGxpYi9saWJ6X19MCisu
ZWxzZQorbGliL2xpYmFyY2hpdmVfX0w6IGxpYi9saWJiejJfX0wgbGliL2xpYmx6bWFfX0wgbGli
L2xpYm1kX19MIGxpYi9saWJ6X19MIFwKKwkJICAgc2VjdXJlL2xpYi9saWJjcnlwdG9fX0wKKy5l
bmRpZgorCiBsaWIvbGlib3BpZV9fTCBsaWIvbGlidGFjcGx1c19fTDogbGliL2xpYm1kX19MCiAK
IC5pZiAke01LX0NEREx9ICE9ICJubyIKQEAgLTExODgsNiArMTE5NCwxMiBAQAogbGliL2xpYmZl
dGNoX19MIGxpYi9saWJyYWRpdXNfX0w6IGxpYi9saWJtZF9fTAogLmVuZGlmCiAKKy5pZiAke01L
X1BLR1RPT0xTfSAhPSAibm8iCitfbGliX2xpYnBrZz0JbGliL2xpYnBrZworIyBPbmx5IGxpc3Rp
bmcgZGlyZWN0IGRlcGVuZGVuY2llcyBvZiBsaWJwa2cuCitsaWIvbGlicGtnX19MOiBsaWIvbGli
YXJjaGl2ZV9fTCBsaWIvbGliZmV0Y2hfX0wgbGliL2xpYm1kX19MIGxpYi9saWJ1dGlsX19MCisu
ZW5kaWYKKwogLmZvciBfbGliIGluICR7X3ByZXJlcV9saWJzfQogJHtfbGlifV9fUEw6IC5QSE9O
WQogLmlmIGV4aXN0cygkey5DVVJESVJ9LyR7X2xpYn0pCg==
--0016363101cbbf047d0489f5c63f--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimhFhDyMsBAMszmq951U4d3Sn8_6lDeQnfg4acU>