FreeBSD 5.3-BETA2/alpha successes/failures

Ruslan Ermilov ru at FreeBSD.org
Fri Sep 3 05:02:58 PDT 2004


On Fri, Sep 03, 2004 at 08:47:25PM +1000, Peter Jeremy wrote:
> On Wed, 2004-Sep-01 21:54:03 +1000, I wrote:
> >It's the second gnu/usr.bin/cc/cc1plus in "stage 3: cross tools".  Now
> >that I've reported it as repeatable, it doesn't fail.  The only
> >difference is "which gperf" and "env|sort" in cc1plus/Makefile (as per
> >your suggestion.  I wonder if this was some sort of NFS glitch - maybe
> >timing related, though I can't explain why it failed identically twice
> >in a row.
> >
> >Once this buildworld completes (in about a day), I'll try another and
> >see if I can work out what is happening.  It's painful when a test run
> >takes ~24 hours.
> 
> The repeat buildworld completed successfully.  I removed the added
> "which" and "env", tried again and (twice) got
> >>> stage 3: cross tools
> ...
> ===> gnu/usr.bin/cc/cc1plus
> ...
> ===> gnu/usr.bin/cc/cc1plus
> ...
> ===> gnu/usr.bin/cc/cc1plus
> make: don't know how to make bsd.README. Stop
> *** Error code 2
> 
> Stop in /home/src5/gnu/usr.bin/cc.
> *** Error code 1
> 
> I'm inclined to believe there's something strange going on with NFS.
> Unfortunately, I turned my AS400 off and when I turned it on again,
> there was a loud bang and one of the PSU jumpers vapourised :-(.
> This means it's going to be out of action for a while.
> 
> I don't suppose anyone has a schematic for an AS400 PSU?
> 
You seem to have deleted your src/gnu/usr.bin/cc/cc1plus/Makefile.
Here's what happens here.  The make(1) (the one that's run during
a buildworld) is passed the "-m src/share/mk" argument.  Since it
cannot find a makefile in .CURDIR (src/gnu/usr.bin/cc/cc1plus) it
ends up using the src/share/mk/Makefile.  Here's the demo:

$ cd /var/empty && make -n
make: no target to make.
$ cd /var/empty && make -n -m /usr/src/share/mk
make: don't know how to make bsd.README. Stop

This feature is (vaguely) documented in the make(1) manpage:

: -I directory
:   Specify a directory in which to search for makefiles and included
:   makefiles.  The system makefile directory (or directories, see
:   the -m option) is automatically included as part of this list.


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-alpha/attachments/20040903/54d8689a/attachment.bin


More information about the freebsd-alpha mailing list