Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jun 2003 00:06:50 +0300
From:      Ruslan Ermilov <ru@freebsd.org>
To:        Alessandro de Manzano <demanzano@playstos.com>
Cc:        "questions@freebsd.org" <questions@freebsd.org>
Subject:   Re: Strange problem with "make clean"
Message-ID:  <20030613210650.GD29368@sunbay.com>
In-Reply-To: <20030613135906.AA6EC20682@viger.playstos.com>
References:  <20030613135906.AA6EC20682@viger.playstos.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



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