Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Apr 2011 06:36:16 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
To:        David Marec <david.marec@davenulle.org>
Cc:        Stable@FreeBSD.org
Subject:   Re: Cleaning temporary build tree failed
Message-ID:  <20110409133616.GA53981@icarus.home.lan>
In-Reply-To: <54fbb6b0cf9c063b3e3d58d7e2d1d28e.squirrel@lamaiziere.net>
References:  <54fbb6b0cf9c063b3e3d58d7e2d1d28e.squirrel@lamaiziere.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 09, 2011 at 09:25:50AM +0200, David Marec wrote:
> 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
> 
> Any idea to get rid of this issue ?

"chflags noschg /usr/obj/usr/src/lib32/usr/lib32/*"

I would also strongly recommend "rm -fr /usr/obj" after doing the above,
just to make sure absolutely nothing is left.  I've seen "make clean"
not catch things before.

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |




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