From owner-freebsd-stable@FreeBSD.ORG Sat Apr 9 13:40:14 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E6116106566C for ; Sat, 9 Apr 2011 13:40:14 +0000 (UTC) (envelope-from ml@my.gd) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C42008FC13 for ; Sat, 9 Apr 2011 13:40:12 +0000 (UTC) Received: by pzk27 with SMTP id 27so2029345pzk.13 for ; Sat, 09 Apr 2011 06:40:12 -0700 (PDT) Received: by 10.142.132.3 with SMTP id f3mr2893837wfd.36.1302356371755; Sat, 09 Apr 2011 06:39:31 -0700 (PDT) Received: from dfleuriot.local ([83.167.62.196]) by mx.google.com with ESMTPS id s39sm5161438wfc.4.2011.04.09.06.39.29 (version=SSLv3 cipher=OTHER); Sat, 09 Apr 2011 06:39:31 -0700 (PDT) Message-ID: <4DA06190.90507@my.gd> Date: Sat, 09 Apr 2011 15:39:28 +0200 From: Damien Fleuriot User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <54fbb6b0cf9c063b3e3d58d7e2d1d28e.squirrel@lamaiziere.net> In-Reply-To: <54fbb6b0cf9c063b3e3d58d7e2d1d28e.squirrel@lamaiziere.net> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: Cleaning temporary build tree failed X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Apr 2011 13:40:15 -0000 On 4/9/11 9:25 AM, 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 ? > > I experience no such problems on *many* boxes running 8.2 at work here. You will want to: chflags -R noschg /usr/obj/ && cd /usr/src && make -j4 buildworld && make buildkernel