Bug 168327

Summary: Extraneous directories left over after installworld when using WITHOUT_CLANG
Product: Base System Reporter: Jeremy Chadwick <jdc>
Component: miscAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: rdivacky
Priority: Normal    
Version: 9.0-STABLE   
Hardware: Any   
OS: Any   

Description Jeremy Chadwick 2012-05-25 05:10:02 UTC
	Using WITHOUT_CLANG=true in /etc/src.conf presently results in
	some directories getting created (which probably shouldn't)
	during installworld, as well as some directories not being
	deleted during "make delete-old".

	I should note that this problem began after the llvm/clang 3.1
	preparation import within the past few days.

root@icarus:/usr/src # make delete-old

Fix: 

Only workaround I know of is, after running make delete-old,
	do the following:

	rm -fr /usr/include/clang

	The other directories in /usr/share/doc get deleted by delete-old, but
	my point is that they shouldn't be created if WITHOUT_CLANG is in use.
How-To-Repeat: 	1. csup to latest sources (a few minutes ago)
	2. Make sure WITHOUT_CLANG=true is in src.conf
	3. Go through usual procedure of building world/kernel and installing them
	4. make delete-old
Comment 1 Roman Divacky freebsd_committer freebsd_triage 2014-06-03 12:55:42 UTC
We do include usr/include/clang/* in ObsoleteFiles.inc now.