From nobody Wed Jun 23 00:11:35 2021 X-Original-To: freebsd-current@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id DEBA211D5A1C for ; Wed, 23 Jun 2021 00:11:50 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from msc11.plala.or.jp (msc11.plala.or.jp [IPv6:2400:7800:0:502e::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4G8kGF0s8tz4hvG for ; Wed, 23 Jun 2021 00:11:48 +0000 (UTC) (envelope-from ish@amail.plala.or.jp) Received: from localhost ([2400:4050:9320:7a00::8]) by msc11.plala.or.jp with ESMTP id <20210623001143.UXYT28026.msc11.plala.or.jp@localhost> for ; Wed, 23 Jun 2021 09:11:43 +0900 Date: Wed, 23 Jun 2021 09:11:35 +0900 (JST) Message-Id: <20210623.091135.1849075657579037644.ish@amail.plala.or.jp> To: freebsd-current@freebsd.org Subject: Re: make buildworls over NFS From: Masachika ISHIZUKA In-Reply-To: <20210622.214359.806627415661659158.ish@amail.plala.or.jp> References: <20210622.214359.806627415661659158.ish@amail.plala.or.jp> X-Mailer: Mew version 6.8 on Emacs 27.2 List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-VirusScan: Outbound; mvir-ac11; Wed, 23 Jun 2021 09:11:43 +0900 X-Rspamd-Queue-Id: 4G8kGF0s8tz4hvG X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of ish@amail.plala.or.jp designates 2400:7800:0:502e::21 as permitted sender) smtp.mailfrom=ish@amail.plala.or.jp X-Spamd-Result: default: False [-0.60 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[2400:7800:0:502e::21:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[2400:7800:0:502e::21:from:127.0.2.255]; DMARC_NA(0.00)[plala.or.jp]; R_SPF_ALLOW(-0.20)[+ip6:2400:7800:0:502e::/60]; NEURAL_HAM_LONG(-1.00)[-1.000]; MID_CONTAINS_FROM(1.00)[]; NEURAL_SPAM_SHORT(0.10)[0.105]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:4713, ipnet:2400:7800::/32, country:JP]; RCVD_COUNT_TWO(0.00)[2]; MAILMAN_DEST(0.00)[freebsd-current] X-ThisMailContainsUnwantedMimeParts: N > I want to 'make buildworld' over NFS and they could. > Recently, I changed to zfs from ufs, and many file are set > uarch (archive flag). (ex. /usr/bin/bzip2) > > % make -j4 buildworld > (snip) > -------------------------------------------------------------- >>>> Rebuilding the temporary build tree > -------------------------------------------------------------- > (snip) > --- host-symlinks --- > Linking host tools into /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin > cp: chflags: /usr/obj/usr/src/amd64.amd64/tmp/legacy/bin/bzip2: Operation not supported > *** [host-symlinks] Error code 1 > > I can 'make buildworld' after clear uarch flags on all files in > /bin, /sbin, /usr/bin and /usr/sbin. > Is there any way to 'make buildworld' easier ? My workaround is: (1) edit /usr/src/tools/build/Makefile [old] _COPY_HOST_TOOL=cp -pf [new] _COPY_HOST_TOOL=ln -sfn (2) edit /usr/src/Makefile.inc1 [old] cp -pf ${.CURDIR}/sys ${WORLDTMP} [new] ln -sfn ${.CURDIR}/sys ${WORLDTMP} -- Masachika ISHIZUKA