Bug 168327 - Extraneous directories left over after installworld when using WITHOUT_CLANG
Summary: Extraneous directories left over after installworld when using WITHOUT_CLANG
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: 9.0-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-25 05:10 UTC by Jeremy Chadwick
Modified: 2014-06-03 12:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.