From owner-freebsd-bugs@FreeBSD.ORG Sun May 12 20:30:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B998AA0D for ; Sun, 12 May 2013 20:30:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 9BFA3D65 for ; Sun, 12 May 2013 20:30:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r4CKU1gG095738 for ; Sun, 12 May 2013 20:30:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r4CKU1SJ095737; Sun, 12 May 2013 20:30:01 GMT (envelope-from gnats) Resent-Date: Sun, 12 May 2013 20:30:01 GMT Resent-Message-Id: <201305122030.r4CKU1SJ095737@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Arseny Nasokin Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id A019B9DB for ; Sun, 12 May 2013 20:26:21 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.FreeBSD.org (oldred.freebsd.org [8.8.178.121]) by mx1.freebsd.org (Postfix) with ESMTP id 90E06D4D for ; Sun, 12 May 2013 20:26:21 +0000 (UTC) Received: from oldred.FreeBSD.org ([127.0.1.6]) by oldred.FreeBSD.org (8.14.5/8.14.5) with ESMTP id r4CKQL5K038380 for ; Sun, 12 May 2013 20:26:21 GMT (envelope-from nobody@oldred.FreeBSD.org) Received: (from nobody@localhost) by oldred.FreeBSD.org (8.14.5/8.14.5/Submit) id r4CKQKAF038379; Sun, 12 May 2013 20:26:20 GMT (envelope-from nobody) Message-Id: <201305122026.r4CKQKAF038379@oldred.FreeBSD.org> Date: Sun, 12 May 2013 20:26:20 GMT From: Arseny Nasokin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: conf/178547: new install (see UPDATING 20130121) break crossbuild process. X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 12 May 2013 20:30:01 -0000 >Number: 178547 >Category: conf >Synopsis: new install (see UPDATING 20130121) break crossbuild process. >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: Sun May 12 20:30:01 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Arseny Nasokin >Release: FreeBSD-CURRENT, 10 >Organization: private person >Environment: FreeBSD eroese.org 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r226748: Wed Oct 26 02:10:17 MSD 2011 root@eroese.org:/usr/obj/usr/src/sys/GENERIC_PF amd64 >Description: New install(1) will be built as legacy tools with world building process(CROSSENV, BPATH), but not taken from when you'll install world. For example, I can build only kernel for cross-arch, but I have to build toolchain before. >How-To-Repeat: $ cat /dev/null > /etc/make.conf $ cat /dev/null > /etc/src.conf $ rm -rf /usr/src $ cd /usr && svn co http://${FREEBSD_SVN_SERVER}/head src $ $ DESTDIR=/path/to/destdir $ make TARGET=amd64 toolchain buildworld >/dev/null $ make TARGET=amd64 DESTDIR=${DESTDIR} hierarchy distrib-dirs distribution installworld >/dev/null install: illegal option -- l usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 ... fileN directory install -d [-v] [-g group] [-m mode] [-o owner] directory ... *** [_installlinks] Error code 64 Stop in /usr/src/usr.bin/makewhatis. *** [bootstrap-tools] Error code 1 Stop in /usr/src. *** [_bootstrap-tools] Error code 1 Stop in /usr/src. *** [buildworld] Error code 1 Stop in /usr/src. >Fix: Workaround is defining INSTALL make variable as "/usr/obj/${TARGET}.${TARGET_ARCH}${SRC_PATH}/tmp/legacy/usr/bin/install" >Release-Note: >Audit-Trail: >Unformatted: