From owner-freebsd-ports@freebsd.org Tue Oct 4 12:18:58 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3D49CAF4A2A for ; Tue, 4 Oct 2016 12:18:58 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from mail.ze.tum.de (mail.ze.tum.de [IPv6:2001:4ca0:2e03::1:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.ze.tum.de", Issuer "Zertifizierungsstelle der TUM" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DE4619B5; Tue, 4 Oct 2016 12:18:57 +0000 (UTC) (envelope-from schmidt@ze.tum.de) Received: from etustar.ze.tum.de (etustar.ze.tum.de [129.187.39.200]) (authenticated bits=0) by mail.ze.tum.de (8.15.2/8.15.2) with ESMTPSA id u94CIu6m011751 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 4 Oct 2016 14:18:56 +0200 (CEST) (envelope-from schmidt@ze.tum.de) Subject: Re: make clean failes to cleanup everything To: Tijl Coosemans References: <20161004124833.07053231@kalimero.tijl.coosemans.org> <51668ef0-38fa-277c-8a70-6746418db703@ze.tum.de> <20161004140326.5d699d2c@kalimero.tijl.coosemans.org> Cc: freebsd-ports@freebsd.org From: Gerhard Schmidt Message-ID: Date: Tue, 4 Oct 2016 14:18:51 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <20161004140326.5d699d2c@kalimero.tijl.coosemans.org> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="HkRXtq2GqH9AfBoClA1e86FLvVkfGAcqR" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Oct 2016 12:18:58 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --HkRXtq2GqH9AfBoClA1e86FLvVkfGAcqR Content-Type: multipart/mixed; boundary="6qA7jpo5caSkM41FADDjiqGRxXAqmCXAf"; protected-headers="v1" From: Gerhard Schmidt To: Tijl Coosemans Cc: freebsd-ports@freebsd.org Message-ID: Subject: Re: make clean failes to cleanup everything References: <20161004124833.07053231@kalimero.tijl.coosemans.org> <51668ef0-38fa-277c-8a70-6746418db703@ze.tum.de> <20161004140326.5d699d2c@kalimero.tijl.coosemans.org> In-Reply-To: <20161004140326.5d699d2c@kalimero.tijl.coosemans.org> --6qA7jpo5caSkM41FADDjiqGRxXAqmCXAf Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Am 04.10.2016 um 14:03 schrieb Tijl Coosemans: > On Tue, 4 Oct 2016 13:36:29 +0200 Gerhard Schmidt w= rote: >> Am 04.10.2016 um 12:48 schrieb Tijl Coosemans: >>> On Tue, 4 Oct 2016 09:52:23 +0200 Gerhard Schmidt = wrote: =20 >>>> make clean fails to clean autoconf and automake. >>>> >>>> If a port uses autoconf and autoconf isn't installed on the system, = it >>>> will be build and installed. >>>> >>>> if you run make clean after installing the port, every dependency is= >>>> cleaned as well but not autoconf. =20 >>> >>> Can you give an example of such a port, because we have two mechanism= s >>> that can pull in autoconf. =20 >> >> It's seams to be quite a complex problem. >> >> To find out which ports causes this problem tried to build lang/php56 >> which uses autoconf. But when I do a make clean autoconf is cleaned as= >> well. >> >> [root@etustar /usr/ports/lang/php56]# make clean >> =3D=3D=3D> Cleaning for autoconf-2.69_1 >> =3D=3D=3D> Cleaning for php56-5.6.25_1 =20 >> >> But it also installs help2man, gmake, p5-Locale-gettext-1.06 and >> autoconf-wrapper-20131203 and these are not cleaned. >> >> The transcript is attached as typescript_clean >> >> now do a pkg autoremove which removes autoconf and the missed ports fo= rm >> the system. >> >> now try again to compile php56 and it fails >> >> the transcript is attached as typescript_unclean >> >> It seams that dependencies of dependencies are not clean. It seams tha= t >> autoconf was only the most memorable one. >=20 > This seems to be intended. Make clean runs make limited-clean-depends > which cleans direct dependencies only. If you want to do full recursiv= e > clean you have to run make clean-depends. >=20 I use FreeBSD since FreeBSD 2.2.5. When did this change in semantics happen? Why do the first layer. This is something nobody can understand. Either make clean should only clean the actual port. So everybody sees that dependencies are not cleaned (maybe a message "You should run make clean-depens to clean dependencies as well" should be printed if dependencies are touched) or do it right and clean all touched. make clean-depends doesn't take that much more time than make clean, so why the change? Regards Estartu --6qA7jpo5caSkM41FADDjiqGRxXAqmCXAf-- --HkRXtq2GqH9AfBoClA1e86FLvVkfGAcqR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIvBAEBCAAZBQJX854rEhxzY2htaWR0QHplLnR1bS5kZQAKCRB00kPMRXANo2uX EACeJHIOjKT698GExdBK6EcBdbULe5J/xEu/c/Ss1evZVCZ2jsX0VIQrzpD5oVxE ccacw/XlnedVfo5dRVl8kWMPA/w+1eVSd6VMKu1cCTzexDqGJlTkwWPbSbheI+Kh Gyi9epN7RVW/7VI6RUTOFrBrQNCn7VYLriAmOSWSUT77bNRscxoApuHSYfgPBPkd EEP3Ydz8/hjTfI/AgXPtkXA9b0ONZid5c/ZvAZSU7r3eqY4C3UP+1NGjIcO3JsA8 4F1sb3szFnnOJIKUNEQrlmyEWLABtRvKB0C+UY/04CjxMwv/lODXpg82cKJAu0dE 2UcgqVvpGIuBHjudG7DKGvrtS/8MjoYBRYmUahh85s/EsHL6FpDGQrdU9QJknjBw Pp5Gu9nrYHPt/qNpNrcxEUXFGJ8BzVjB4ihPM0wTWQ6m/juqFo03GP6sTDbC0bqQ fdoJ+65Tp3BrvLqDyuvBipXa3TstImSLbteOktovN/VMWe4zhsnv5mWR8Ulvo5ai wbSFVtXxGxzGbxceANSFjU9CG4ogDC5KApOzOeXch5ng4Ktk7hXD6nxRYEHJbFsg FftOuGxah/DVP/QXfTz6XXlWR0fWvb+iuu1oUsQ80cRdGN5/QBd446tq0AGTUn8h IU4HCDEqI20WqgFjX88pLBnjO0A2ZKylBwpphmOksvYzmg== =XcJi -----END PGP SIGNATURE----- --HkRXtq2GqH9AfBoClA1e86FLvVkfGAcqR--