Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Oct 2016 23:25:51 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 213428] make buildworld relies on /usr/include i.e. -nostdinc breaks buildworld
Message-ID:  <bug-213428-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213428

            Bug ID: 213428
           Summary: make buildworld relies on /usr/include i.e. -nostdinc
                    breaks buildworld
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: frf@xocolatl.com

buildworld fails because it relies on /usr/include instead of /usr/src/incl=
ude.
i.e. buildworld does not rely upon a good source tree, but rather relies up=
on
/usr/include to be correct for /usr/src. We used to have -nostdinc as a
compiler flag, but the addition of this flag now causes buildworld to fail =
in
all cases that I tested.
I don't know when this change was made. It could have been many years ago,
and/or with the adoption of llvm, but it is a bug that should be corrected.=
 I
should not need to rely upon /usr/include being clean to make world when I =
have
a perfectly good /usr/src. For example, I could have a system crash during =
an
installworld leaving /usr/include in an uncertain state that would then
prohibit me from rebuilding a system.=20
This is a regression from past stability that needs to be corrected.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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