make installworld fails (touch not found)

Jason Hellenthal jhell at DataIX.net
Fri Sep 16 06:44:49 UTC 2011



On Wed, Sep 14, 2011 at 08:26:45PM +0200, David Demelier wrote:
> On 14/09/2011 19:10, Boris Kochergin wrote:
> > On 09/14/11 12:37, Kevin Oberman wrote:
> >> On Wed, Sep 14, 2011 at 9:09 AM, David Demelier
> >> <demelier.david at gmail.com> wrote:
> >>> Hi,
> >>>
> >>> Today I pulled up the last changes for RELENG_8 branch and I got an
> >>> error
> >>> when doing the make installworld target :
> >>>
> >>> ===> gnu/usr.bin/texinfo/doc (install)
> >>> install-info --quiet --defsection=Miscellaneous --defentry= info.info
> >>> /usr/share/info/dir
> >>> install-info --quiet --defsection=Miscellaneous --defentry=
> >>> info-stnd.info
> >>> /usr/share/info/dir
> >>> install-info --quiet --defsection=Miscellaneous --defentry= texinfo.info
> >>> /usr/share/info/dir
> >>> install -o root -g wheel -m 444 info.info.gz info-stnd.info.gz
> >>> texinfo.info.gz /usr/share/info
> >>> ===> include (install)
> >>> creating osreldate.h from newvers.sh
> >>> touch: not found
> >>> *** Error code 127
> >>>
> >>> Stop in /usr/src/include.
> >>> *** Error code 1
> >>>
> >>> Anyone having the same issue?
> >> Check the setting of the date/time on the system.
> >
> > I've also seen this happen when my /usr/src was out of sync with /usr/obj.
> >
> > -Boris
> 
> Thanks that was the problem!
> 

I have commented on this issue once before. This could be handled in a
much smarter way that does not involve touch(1).

...clib from beggining...

if [ ! -r version ]; then
        echo 0 >version
fi

v=`cat version` u=${USER:-root} d=`pwd` h=${HOSTNAME:-`hostname`} t=`date`
i=`${MAKE:-make} -V KERN_IDENT`

...clip to end...

echo $((${v}+1)) >version


Seems changes like this are too hard to do...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 522 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20110916/7eee022d/attachment.pgp


More information about the freebsd-stable mailing list