Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Jun 2021 09:11:35 +0900 (JST)
From:      Masachika ISHIZUKA <ish@amail.plala.or.jp>
To:        freebsd-current@freebsd.org
Subject:   Re: make buildworls over NFS
Message-ID:  <20210623.091135.1849075657579037644.ish@amail.plala.or.jp>
In-Reply-To: <20210622.214359.806627415661659158.ish@amail.plala.or.jp>
References:  <20210622.214359.806627415661659158.ish@amail.plala.or.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
>   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



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