From owner-freebsd-embedded@FreeBSD.ORG Mon Aug 13 21:00:28 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 403F9106566C for ; Mon, 13 Aug 2012 21:00:28 +0000 (UTC) (envelope-from freebsd@damnhippie.dyndns.org) Received: from qmta10.emeryville.ca.mail.comcast.net (qmta10.emeryville.ca.mail.comcast.net [76.96.30.17]) by mx1.freebsd.org (Postfix) with ESMTP id 058A38FC16 for ; Mon, 13 Aug 2012 21:00:27 +0000 (UTC) Received: from omta03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by qmta10.emeryville.ca.mail.comcast.net with comcast id mDhA1j0030b6N64AAM0Mlh; Mon, 13 Aug 2012 21:00:21 +0000 Received: from damnhippie.dyndns.org ([24.8.232.202]) by omta03.emeryville.ca.mail.comcast.net with comcast id mM0K1j00z4NgCEG8PM0LHr; Mon, 13 Aug 2012 21:00:20 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by damnhippie.dyndns.org (8.14.3/8.14.3) with ESMTP id q7DL0IGZ014191; Mon, 13 Aug 2012 15:00:18 -0600 (MDT) (envelope-from freebsd@damnhippie.dyndns.org) From: Ian Lepore To: Warner Losh In-Reply-To: References: <1344714749.1186.15.camel@revolution.hippie.lan> Content-Type: text/plain; charset="us-ascii" Date: Mon, 13 Aug 2012 15:00:17 -0600 Message-ID: <1344891617.1186.50.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit 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: Mon, 13 Aug 2012 21:00:28 -0000 Hrm. I went to recreate the problem to get more details for a PR, and now I can't get it to happen at all. I think I may have been working with a (semi-)broken build environment related to the armv6 patches I was testing. Sorry for the noise. -- Ian On Sun, 2012-08-12 at 14:17 -0600, Warner Losh wrote: > 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? > > > > I'll assign it to the committer of r233294 so they can re-test with crossbuilds. > > > > > > > > Adrian > > > > On 11 August 2012 12:52, Ian Lepore wrote: > >> I just ran into an installworld glitch while doing an arm cross-build: > >> > >> ===> 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] > >> > >> 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. > >> > >> 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. > >> > >> -- Ian > >> > >> > >> _______________________________________________ > >> 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" > >> > > _______________________________________________ > > 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" >