From owner-freebsd-questions@FreeBSD.ORG Fri Jun 13 14:07:02 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D1D137B401; Fri, 13 Jun 2003 14:07:02 -0700 (PDT) Received: from whale.sunbay.crimea.ua (whale.sunbay.crimea.ua [212.110.138.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4864E43FDD; Fri, 13 Jun 2003 14:06:56 -0700 (PDT) (envelope-from ru@sunbay.com) Received: from whale.sunbay.crimea.ua (ru@localhost [127.0.0.1]) h5DL6pVd040704 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Jun 2003 00:06:51 +0300 (EEST) (envelope-from ru@sunbay.com) Received: (from ru@localhost) by whale.sunbay.crimea.ua (8.12.9/8.12.8/Submit) id h5DL6oHr040699; Sat, 14 Jun 2003 00:06:50 +0300 (EEST) (envelope-from ru) Date: Sat, 14 Jun 2003 00:06:50 +0300 From: Ruslan Ermilov To: Alessandro de Manzano Message-ID: <20030613210650.GD29368@sunbay.com> References: <20030613135906.AA6EC20682@viger.playstos.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="JwB53PgKC5A7+0Ej" Content-Disposition: inline In-Reply-To: <20030613135906.AA6EC20682@viger.playstos.com> User-Agent: Mutt/1.5.4i cc: "stable@freebsd.org" cc: "questions@freebsd.org" Subject: Re: Strange problem with "make clean" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jun 2003 21:07:02 -0000 --JwB53PgKC5A7+0Ej Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Jun 13, 2003 at 03:59:06PM +0200, Alessandro de Manzano wrote: > Hello, >=20 > I'm experiencing a weird problem doing "make clean" in "/usr/src". >=20 > It happens on a couple of FreeBSD 4.8-RELEASE machines (RELENG_4_8 to > be precise). >=20 > Cvsup, build & install phases all went fine, just "make clean" went > wrong. >=20 > I tried rm-ing the incriminated subdirectory and even rm-ing the > checkout.cvs:RELENG_4_8 file and re-cvsupping but nothing changes. >=20 >=20 > Here is the error log: >=20 > [...] > rm -f telnet authenc.o commands.o main.o network.o ring.o sys_bsd.o > telnet.o terminal.o utilities.o telnet.1.gz telnet.1.cat.gz > =3D=3D=3D> secure/usr.bin/openssl > rm -f buildinf.h openssl/opensslconf.h openssl/evp.h xopenssl > app_rand.o apps.o asn1pars.o ca.o ciphers.o crl.o crl2p7.o dgst.o dh.o > dhparam.o dsa.o dsaparam.o enc.o engine.o errstr.o gendh.o gendsa.o > genrsa.o nseq.o ocsp.o openssl.o passwd.o pkcs12.o pkcs7.o pkcs8.o > rand.o req.o rsa.o rsautl.o s_cb.o s_client.o s_server.o s_socket.o > s_time.o sess_id.o smime.o speed.o spkac.o verify.o version.o x509.o > CA.pl.1.gz asn1parse.1.gz ca.1.gz ciphers.1.gz crl.1.gz crl2pkcs7.1.gz > dgst.1.gz dhparam.1.gz dsa.1.gz dsaparam.1.gz enc.1.gz gendsa.1.gz > genrsa.1.gz nseq.1.gz ocsp.1.gz openssl.1.gz passwd.1.gz pkcs12.1.gz > pkcs7.1.gz pkcs8.1.gz rand.1.gz req.1.gz rsa.1.gz rsautl.1.gz > s_client.1.gz s_server.1.gz sess_id.1.gz smime.1.gz speed.1.gz > spkac.1.gz verify.1.gz version.1.gz x509.1.gz CA.pl.1.cat.gz > asn1parse.1.cat.gz ca.1.cat.gz ciphers.1.cat.gz crl.1.cat.gz > crl2pkcs7.1.cat.gz dgst.1.cat.gz dhparam.1.cat.gz dsa.1.cat.gz > dsaparam.1.cat.gz enc.1.cat.gz gendsa.1.cat.gz genrsa.1.cat.gz > nseq.1.cat.gz ocsp.1.cat.gz openssl.1.cat.gz passwd.1.cat.gz > pkcs12.1.cat.gz pkcs7.1.cat.gz pkcs8.1.cat.gz rand.1.cat.gz > req.1.cat.gz rsa.1.cat.gz rsautl.1.cat.gz s_client.1.cat.gz > s_server.1.cat.gz sess_id.1.cat.gz smime.1.cat.gz speed.1.cat.gz > spkac.1.cat.gz verify.1.cat.gz version.1.cat.gz x509.1.cat.gz > rm: openssl/opensslconf.h: Not a directory > rm: openssl/evp.h: Not a directory > *** Error code 1 >=20 > Stop in /usr/src/secure/usr.bin/openssl. > *** Error code 1 >=20 This means that either /usr/obj/usr/src/secure/usr.bin/openssl or /usr/src/secure/usr.bin/openssl have the "openssl" file, where it's supposed to be a directory in /usr/obj/... rm -r /usr/obj/usr/src/secure/usr.bin/openssl What "make clean" is trying to do is equivalent to trying to "rm /COPYRIGHT/foo". Note that "make clean" is only guaranteed to work if the object tree was populated using this same sources; everything else is not guaranteed to work, and "make cleandir" is advised instead, though even this may break when the types of some files change from "file" to "directory", like has happened with /usr/obj/usr/src/secure/usr.bin/openssl/openssl. Are you perhaps downgrading from 5.x? Cheers, --=20 Ruslan Ermilov Sysadmin and DBA, ru@sunbay.com Sunbay Software Ltd, ru@FreeBSD.org FreeBSD committer --JwB53PgKC5A7+0Ej Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+6jzqUkv4P6juNwoRAqrlAJ0RsLPDpSkhnVkR1i6iSu5TUdNBVQCfXmLa aHn9SvAO7YmAwTX/Psm/gCY= =bAtm -----END PGP SIGNATURE----- --JwB53PgKC5A7+0Ej--