Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2011 03:24:32 -0500
From:      Zhihao Yuan <lichray@gmail.com>
To:        david.marec@davenulle.org
Cc:        Stable@freebsd.org
Subject:   Re: Cleaning temporary build tree failed
Message-ID:  <BANLkTi=u6%2B9XWsi%2BNN5Z4ue3=zvGY3=f1Q@mail.gmail.com>
In-Reply-To: <54fbb6b0cf9c063b3e3d58d7e2d1d28e.squirrel@lamaiziere.net>
References:  <54fbb6b0cf9c063b3e3d58d7e2d1d28e.squirrel@lamaiziere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
/usr/src is controlled by root. Use `sudo` to perform the system
management related works.

On Sat, Apr 9, 2011 at 2:25 AM, David Marec <david.marec@davenulle.org> wro=
te:
> 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 =C2=A09 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 permitt=
ed
> 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-- =C2=A01 root =C2=A0wheel =C2=A0schg 1143468 22 mar 21:19 libc.=
so.7
> -r--r--r-- =C2=A01 root =C2=A0wheel =C2=A0schg =C2=A0 32060 22 mar 21:19 =
libcrypt.so.5
> -r--r--r-- =C2=A01 root =C2=A0wheel =C2=A0schg =C2=A0 16412 22 mar 21:22 =
librt.so.1
> -r--r--r-- =C2=A01 root =C2=A0wheel =C2=A0schg =C2=A0 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 ?
>
>
> --
> Cordialement,
> --
> David Marec: http://user.lamaiziere.net/david/Site/
> http://www.freebsd.org/fr/ =C2=A0 =C2=A0 http://www.diablotins.org/
>
>
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>

--=20
Zhihao Yuan
The best way to predict the future is to invent it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BANLkTi=u6%2B9XWsi%2BNN5Z4ue3=zvGY3=f1Q>