From owner-freebsd-embedded@FreeBSD.ORG Sun Aug 12 20:17:53 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CC42E1065672 for ; Sun, 12 Aug 2012 20:17:53 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from mail-pb0-f54.google.com (mail-pb0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 377918FC15 for ; Sun, 12 Aug 2012 20:17:52 +0000 (UTC) Received: by pbbrp2 with SMTP id rp2so6417153pbb.13 for ; Sun, 12 Aug 2012 13:17:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=sender:subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer :x-gm-message-state; bh=4iwM4UBt4WP8ckyoKojopJXL8QNpCqQiDUGNK9QTH1w=; b=WoLVx0N84NHkUX3NVwdxZSsh3690iqRnxRpFoDr3VZ7L5EGiHTB4pDXGNPbgzcyw5E L1pLszHHR//+zQPdzNnZtB8krIn0Gzt54RsuHYCO9nzNzxtioCpQ/9s/ELVTCCPDJL+y +WVf9OFJsgrB9w8W6JZJ2gIYWTt+dtCR8kTjRWuAPoGrH5E0GZRs852Vq3CTBQhUhzbH ERhdehZKyt7ZHl6MeJIiGpQrhlm5t0kuHUIOec+phN/o602qe3mHGjy4UV1SL8Bgk0yw KuiolnL1iiUj/orjMiZUPG7079d87PSaf/w0YOs9LkOkioY6gB8o6r9Zig47JjT8FG5S Ivbg== Received: by 10.66.75.229 with SMTP id f5mr21169798paw.47.1344802672382; Sun, 12 Aug 2012 13:17:52 -0700 (PDT) Received: from [10.0.0.63] (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPS id to6sm3860197pbc.12.2012.08.12.13.17.48 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 12 Aug 2012 13:17:51 -0700 (PDT) Sender: Warner Losh Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: text/plain; charset=us-ascii From: Warner Losh In-Reply-To: Date: Sun, 12 Aug 2012 14:17:43 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: References: <1344714749.1186.15.camel@revolution.hippie.lan> To: Adrian Chadd X-Mailer: Apple Mail (2.1084) X-Gm-Message-State: ALoCoQn66KpE+XIdZODq8iO2vdGogOkdb9rQtrpB27za7D42u0lDTUVZPOAspnaXHM6wMudpCgmQ Cc: freebsd-embedded@freebsd.org Subject: Re: cross-build failure for kerberos libs during installworld X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 Aug 2012 20:17:54 -0000 The right fix is to have heimdal use install rather than cp + cmp. Warner On Aug 12, 2012, at 1:56 PM, Adrian Chadd wrote: > Would you please file a PR for this? >=20 > I'll assign it to the committer of r233294 so they can re-test with = crossbuilds. >=20 >=20 >=20 > Adrian >=20 > On 11 August 2012 12:52, Ian Lepore = wrote: >> I just ran into an installworld glitch while doing an arm = cross-build: >>=20 >> =3D=3D=3D> kerberos5/lib/libasn1 (install) >> install -C -o root -g wheel -m 444 libasn1.a = /local/build/staging/freebsd/dp10/nfsroot/usr/lib >> install -C -o root -g wheel -m 444 libasn1_p.a = /local/build/staging/freebsd/dp10/nfsroot/usr/lib >> cmp -s krb5_asn1.hx krb5_asn1.h 2> /dev/null || cp krb5_asn1.hx = krb5_asn1.h >> cmp: not found >> cp: not found >> [more of the same errors follow] >>=20 >> It looks like it's caused by r233294 (import of new Heimdal), which >> added rules to the makefile that installs some components by using = cmp >> and cp to install the file only if its contents changed. >>=20 >> The attached patch is how I quickly worked around the problem. I'm = not >> sure if this is the right way to fix it long term -- I'm not sure why >> the makefile is using cmp/cp instead of install -C for header files. >>=20 >> -- Ian >>=20 >>=20 >> _______________________________________________ >> freebsd-embedded@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-embedded >> To unsubscribe, send any mail to = "freebsd-embedded-unsubscribe@freebsd.org" >>=20 > _______________________________________________ > freebsd-embedded@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-embedded > To unsubscribe, send any mail to = "freebsd-embedded-unsubscribe@freebsd.org"