Cleaning temporary build tree failed

Marat N.Afanasyev amarat at ksu.ru
Sat Apr 9 09:53:32 UTC 2011


David Marec wrote:
> Hi guys.
>
>
> Since the release of FreeBSD 8.2, building world fails on the following
> error:
>
>
> <------>
> david:/home/david#cd /usr/src
> david:/usr/src#make -j4 buildworld&&  make kernel
> --------------------------------------------------------------
>>>> World build started on Sat Apr  9 09:16:50 CEST 2011
> --------------------------------------------------------------
> --------------------------------------------------------------
>>>> Rebuilding the temporary build tree
> --------------------------------------------------------------
> rm -rf /usr/obj/usr/src/tmp
> rm -rf /usr/obj/usr/src/lib32
> rm: /usr/obj/usr/src/lib32/usr/lib32/libc.so.7: Operation not permitted
> rm: /usr/obj/usr/src/lib32/usr/lib32/libcrypt.so.5: Operation not permitted
> rm: /usr/obj/usr/src/lib32/usr/lib32/libthr.so.3: Operation not permitted
> rm: /usr/obj/usr/src/lib32/usr/lib32/librt.so.1: Operation not permitted
> rm: /usr/obj/usr/src/lib32/usr/lib32: Directory not empty
> rm: /usr/obj/usr/src/lib32/usr: Directory not empty
> rm: /usr/obj/usr/src/lib32: Directory not empty
> *** Error code 1
> 1 error
> *** Error code 2
> 1 error
> david:/usr/src#ls -lo /usr/obj/usr/src/lib32/usr/lib32/
> total 1262
> -r--r--r--  1 root  wheel  schg 1143468 22 mar 21:19 libc.so.7
> -r--r--r--  1 root  wheel  schg   32060 22 mar 21:19 libcrypt.so.5
> -r--r--r--  1 root  wheel  schg   16412 22 mar 21:22 librt.so.1
> -r--r--r--  1 root  wheel  schg   76412 22 mar 21:20 libthr.so.3
> <------>
>
> Im a running FreeBSD 8.2-Stable for amd64.
>
> So, before building world, i have to change the flags for the files above.
> There was no need to do this before.
>
>
> Any idea to get rid of this issue ?
>
>
man chflags

-- 
С уважением, Марат Афанасьев



More information about the freebsd-stable mailing list