Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 May 2013 20:26:20 GMT
From:      Arseny Nasokin <eirnym@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/178547: new install (see UPDATING 20130121) break crossbuild process.
Message-ID:  <201305122026.r4CKQKAF038379@oldred.FreeBSD.org>
Resent-Message-ID: <201305122030.r4CKU1SJ095737@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305122026.r4CKQKAF038379>