Bug 97707 - mkskel.sh has bogus timestamp, causing buildworld on sparc64 to fail
Summary: mkskel.sh has bogus timestamp, causing buildworld on sparc64 to fail
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: sparc64 (show other bugs)
Version: 6.1-RELEASE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-sparc64 (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-23 20:40 UTC by Paul Schiro
Modified: 2008-06-10 01:39 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Schiro 2006-05-23 20:40:16 UTC
If /usr/src is installed from the installation media (i.e. cdrom), the file /usr/src/usr.bin/lex/mkskel.sh will have a timestamp of "Dec 31  1969".  This causes a "make buildworld" in /usr/src to fail as shown below:

> ===> usr.bin/lex (depend)
> lex -t  -is /usr/src/usr.bin/lex/scan.l > scan.c
> yacc -d -o parse.c /usr/src/usr.bin/lex/parse.y
> make: don't know how to make mkskel.sh. Stop
> *** Error code 2

Fix: 

touch the file /usr/src/usr.bin/lex/mkskel.sh ...  Or don't install /usr/src from the installation media.
How-To-Repeat: Install FreeBSD 6.1/sparc64 (or i believe, any 6.x or 5.x for sparc64) from installation media, including src distribution.  Attempt to run "make buildworld" in /usr/src .  After a while, it will get to usr.bin/lex and make will fail on mkskel.sh .
Comment 1 Pietro Cerutti freebsd_committer freebsd_triage 2008-06-10 01:39:10 UTC
State Changed
From-To: open->closed

Timestamps on 6.3 and 7.0 are ok. Make depend works.