conf/178547: new install (see UPDATING 20130121) break crossbuild process.
Arseny Nasokin
eirnym at gmail.com
Wed May 15 05:10:02 UTC 2013
The following reply was made to PR conf/178547; it has been noted by GNATS.
From: Arseny Nasokin <eirnym at gmail.com>
To: freebsd-gnats-submit at FreeBSD.org
Cc:
Subject: conf/178547: new install (see UPDATING 20130121) break crossbuild
process.
Date: Sun, 12 May 2013 20:26:20 GMT
>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 at 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:
_______________________________________________
freebsd-bugs at freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
More information about the freebsd-bugs
mailing list