Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2012 14:17:43 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Adrian Chadd <adrian@FreeBSD.org>
Cc:        freebsd-embedded@freebsd.org
Subject:   Re: cross-build failure for kerberos libs during installworld
Message-ID:  <EABBE1ED-608D-47CD-8AC8-D92E9D064DB4@bsdimp.com>
In-Reply-To: <CAJ-VmokXsztV7CqqPhHi4qAaj_58-GyW_5hNEXbTDSTqZa2E_g@mail.gmail.com>
References:  <1344714749.1186.15.camel@revolution.hippie.lan> <CAJ-VmokXsztV7CqqPhHi4qAaj_58-GyW_5hNEXbTDSTqZa2E_g@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

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 <freebsd@damnhippie.dyndns.org> 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"



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EABBE1ED-608D-47CD-8AC8-D92E9D064DB4>