Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2011 02:13:18 -0400
From:      Jason Hellenthal <jhell@DataIX.net>
To:        David Demelier <demelier.david@gmail.com>
Cc:        Boris Kochergin <spawk@acm.poly.edu>, freebsd-stable <freebsd-stable@freebsd.org>
Subject:   Re: make installworld fails (touch not found)
Message-ID:  <20110916061318.GA18043@DataIX.net>
In-Reply-To: <4E70F1E5.8050109@gmail.com>
References:  <4E70D1B1.3040203@gmail.com> <CAN6yY1sH9MjPRrpEGtYqxR-8r07wH7JNv5KZLm7r5qEuTpA4ug@mail.gmail.com> <4E70E005.8060804@acm.poly.edu> <4E70F1E5.8050109@gmail.com>

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

--gKMricLos+KVdGMg
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable



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@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 :
> >>>
> >>> =3D=3D=3D> gnu/usr.bin/texinfo/doc (install)
> >>> install-info --quiet --defsection=3DMiscellaneous --defentry=3D info.=
info
> >>> /usr/share/info/dir
> >>> install-info --quiet --defsection=3DMiscellaneous --defentry=3D
> >>> info-stnd.info
> >>> /usr/share/info/dir
> >>> install-info --quiet --defsection=3DMiscellaneous --defentry=3D texin=
fo.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
> >>> =3D=3D=3D> 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/o=
bj.
> >
> > -Boris
>=20
> Thanks that was the problem!
>=20

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

=2E..clib from beggining...

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

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

=2E..clip to end...

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


Seems changes like this are too hard to do...

--gKMricLos+KVdGMg
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (FreeBSD)
Comment: http://bit.ly/0x89D8547E

iQEcBAEBAgAGBQJOcuj9AAoJEJBXh4mJ2FR+5GAH/iJyKfN4z2EV7yV7acsk0QAr
ShXkSrZIzYOz9d6kHx6BIsadZhIU/HMDes9uLXJ1KTxWMq+RpF9xx/GVI6kSwmBU
y9NNwI/DIWpfMEJw62Hlb6Hvvc63kC4nF5YD171aVHw0vIhuCZBEVp2XcdjUklkw
iXsDRflwuFYZgENc9ww09QJUXcdP799PlV1vcJZXTwDAju03kWVr1VyyKomd4FY7
TJ14nqQtlsnYxEkF2fUGsIauLSobNdGQ03cxX8MFyoW1AQk6W7BvzixyS3uBGF1I
nvuqfb9iMHwhpsmqrmU+430974aLu9sgeX2hb0vPhP5WEfSc7/L1korXlDWrqIk=
=dsD+
-----END PGP SIGNATURE-----

--gKMricLos+KVdGMg--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110916061318.GA18043>