From nobody@FreeBSD.org  Tue Jan 14 10:46:52 2014
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115])
	(using TLSv1 with cipher ADH-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by hub.freebsd.org (Postfix) with ESMTPS id 98F13149
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Jan 2014 10:46:52 +0000 (UTC)
Received: from oldred.freebsd.org (oldred.freebsd.org [IPv6:2001:1900:2254:206a::50:4])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mx1.freebsd.org (Postfix) with ESMTPS id 843721758
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Jan 2014 10:46:52 +0000 (UTC)
Received: from oldred.freebsd.org ([127.0.1.6])
	by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id s0EAkqAN050427
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Jan 2014 10:46:52 GMT
	(envelope-from nobody@oldred.freebsd.org)
Received: (from nobody@localhost)
	by oldred.freebsd.org (8.14.5/8.14.5/Submit) id s0EAkq7U050413;
	Tue, 14 Jan 2014 10:46:52 GMT
	(envelope-from nobody)
Message-Id: <201401141046.s0EAkq7U050413@oldred.freebsd.org>
Date: Tue, 14 Jan 2014 10:46:52 GMT
From: Alexander Yerenkow <yerenkow@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Installing wolrd and kernel not from /usr/src produces "mkdir: Argument list too long"
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         185769
>Category:       misc
>Synopsis:       [build] Installing world and kernel not from /usr/src produces "mkdir: Argument list too long"
>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:   Tue Jan 14 10:50:00 UTC 2014
>Closed-Date:    
>Last-Modified:  Sun Apr 20 03:23:00 UTC 2014
>Originator:     Alexander Yerenkow
>Release:        9.2-RELEASE
>Organization:
>Environment:
r255898
>Description:
Seems that using deep (long named) directory for sources (in my case is 
/zbuilder/src/src-stable-10-clone) produced this error at stage world/kernel install.

Probably either some part of Makefiles must be rewritten (from * to
find+exec), or MAX_ARGS should be raised (but this will be temporary fix
anyway)
>How-To-Repeat:

>Fix:


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