Bug 206536 - Warnings during buildworld possibly affecting build of up-to-date make
Summary: Warnings during buildworld possibly affecting build of up-to-date make
Status: Closed Overcome By Events
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Bryan Drewery
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-23 18:59 UTC by Dave Evans
Modified: 2018-09-13 22:24 UTC (History)
3 users (show)

See Also:


Attachments
log of the initial stage of buildworld stable/9 showing warnings, 14kbytes (14.48 KB, text/plain)
2016-01-23 18:59 UTC, Dave Evans
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Evans 2016-01-23 18:59:09 UTC
Created attachment 166022 [details]
log of the initial stage of buildworld  stable/9 showing warnings, 14kbytes

uname:

FreeBSD fb11.pearl 11.0-CURRENT FreeBSD 11.0-CURRENT #3 r294529: Fri Jan 22 13:38:11 GMT 2016     root@fb11.pearl:/usr/obj/relbuild/sources/FreeBSD-current_11-amd64/sys/GENERIC  amd64


During buildworld I noticed some warnings from /usr/share/mk/bsd.compiler.mk during the initial stage of buildworld starting with a clean obj tree.  It did not seem to affect the build of the up-to-date make.

I was building  base/stable/9  -r294529

I tried to make the build as clean as possible with this script:

env -i PATH=/usr/bin:/bin:/usr/sbin:/sbin \
	SRCCONF=/dev/null MAKE_CONF=/dev/null script log  make buildworld 

The quite short log (15k) is attached.
Comment 1 Enji Cooper freebsd_committer freebsd_triage 2016-01-23 20:38:45 UTC
Could you please provide the host version (stable/10, head)?
Comment 2 Dave Evans 2016-01-24 09:42:05 UTC
The host I was building on was FreeBSD 11.0-CURRENT #3 r294529 amd64 which I built about 3 days ago.

The target I was building for was  stable/9 i386

svn info reports in my src directory:

Revision: 294529

Last Changed Rev: 294457

Last Changed Date: 2016-01-20 19:56:43 +0000 (Wed, 20 Jan 2016)

I also tried an amd64 build with the same results. This is the one I reported about.

The i386 build has successfully completed.  I stopped the amd64 build after a couple of minutes once it had logged the warnings.
Comment 3 Bryan Drewery freebsd_committer freebsd_triage 2016-01-25 16:56:37 UTC
Oh boy, it's building fmake while reading /usr/share/mk. It needs to only be reading
from the src tree's share/mk at this point.

I'll take this.
Comment 4 Mark Linimon freebsd_committer freebsd_triage 2018-08-12 15:12:12 UTC
Is this PR still relevant?
Comment 5 Bryan Drewery freebsd_committer freebsd_triage 2018-09-13 22:24:54 UTC
This has since been fixed.