From nobody@FreeBSD.org  Wed Feb 15 11:53:17 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5134C106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Feb 2012 11:53:17 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 3B86B8FC0A
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Feb 2012 11:53:17 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1FBrHMT094378
	for <freebsd-gnats-submit@FreeBSD.org>; Wed, 15 Feb 2012 11:53:17 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1FBrHWw094375;
	Wed, 15 Feb 2012 11:53:17 GMT
	(envelope-from nobody)
Message-Id: <201202151153.q1FBrHWw094375@red.freebsd.org>
Date: Wed, 15 Feb 2012 11:53:17 GMT
From: Shane Ambler <FreeBSD@Shaneware.biz>
To: freebsd-gnats-submit@FreeBSD.org
Subject: installworld built WITHOUT_LIB32 still installs empty lib32 dir
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         165175
>Category:       misc
>Synopsis:       [build] installworld built WITHOUT_LIB32 still installs empty lib32 dir
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 15 12:00:31 UTC 2012
>Closed-Date:    
>Last-Modified:  Sun Feb 19 22:18:06 UTC 2012
>Originator:     Shane Ambler
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD leader 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Wed Feb 15 16:03:18 CST 2012     root@:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
When make installworld is run after building with WITHOUT_LIB32 set in /etc/src.conf the dirs /usr/lib32 /usr/lib32/dtrace and /usr/lib32/i18n still get created with no files inside.

The issue with that is that some ports use the existence of /usr/lib32 to decide whether to build 32bit versions. devel/valgrind is an example.

Deleting the dirs solves the port build issues.
>How-To-Repeat:
Set WITHOUT_LIB32 in /etc/src.conf and then make buildworld then make installworld

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
