Date: Sat, 11 Aug 2012 13:52:29 -0600 From: Ian Lepore <freebsd@damnhippie.dyndns.org> To: freebsd-embedded@freebsd.org Subject: cross-build failure for kerberos libs during installworld Message-ID: <1344714749.1186.15.camel@revolution.hippie.lan>
next in thread | raw e-mail | index | archive | help
--=-7VA5f/ryPr8cqD9TIUAX Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 --=-7VA5f/ryPr8cqD9TIUAX Content-Type: text/x-patch; name="makeinc1.diff"; charset="us-ascii" Content-Description: Content-Disposition: inline; filename="makeinc1.diff" Content-Transfer-Encoding: 7bit diff -r 25742f1019fe Makefile.inc1 --- a/Makefile.inc1 Sat Aug 11 10:34:22 2012 -0600 +++ b/Makefile.inc1 Sat Aug 11 13:33:17 2012 -0600 @@ -620,7 +620,7 @@ installcheck_UGID: _zoneinfo= zic tzsetup .endif -ITOOLS= [ awk cap_mkdb cat chflags chmod chown \ +ITOOLS= [ awk cap_mkdb cat chflags chmod chown cmp cp \ date echo egrep find grep ${_install-info} \ ln lockf make mkdir mtree mv pwd_mkdb rm sed sh sysctl \ test true uname wc ${_zoneinfo} --=-7VA5f/ryPr8cqD9TIUAX--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1344714749.1186.15.camel>