cross-build failure for kerberos libs during installworld

Ian Lepore freebsd at damnhippie.dyndns.org
Sat Aug 11 19:52:32 UTC 2012


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: makeinc1.diff
Type: text/x-patch
Size: 457 bytes
Desc: 
Url : http://lists.freebsd.org/pipermail/freebsd-embedded/attachments/20120811/09e4fb57/makeinc1.bin


More information about the freebsd-embedded mailing list