From owner-freebsd-current@freebsd.org Thu Apr 14 20:38:43 2016 Return-Path: Delivered-To: freebsd-current@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 F3393AEC97C for ; Thu, 14 Apr 2016 20:38:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id D66D71701; Thu, 14 Apr 2016 20:38:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id CAB8718BF; Thu, 14 Apr 2016 20:38:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 819652096B; Thu, 14 Apr 2016 20:38:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id aEs7sn28l70H; Thu, 14 Apr 2016 20:38:40 +0000 (UTC) Subject: Re: Keeping OptionalObsoleteFiles.inc up to date DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 43CF520966 To: Dmitry Marakasov , Ngie Cooper References: <20160408125903.GD11361@hades.panopticon> Cc: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= , "freebsd-current@freebsd.org" From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <570FFFD0.7080703@FreeBSD.org> Date: Thu, 14 Apr 2016 13:38:40 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <20160408125903.GD11361@hades.panopticon> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="x3FTRwTsp9WqCndx44HiDOSpOuXsN0iGK" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Apr 2016 20:38:44 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --x3FTRwTsp9WqCndx44HiDOSpOuXsN0iGK Content-Type: multipart/mixed; boundary="krVDdDx1moslk7pfR3Jq37OeOdDgdphxn" From: Bryan Drewery To: Dmitry Marakasov , Ngie Cooper Cc: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= , "freebsd-current@freebsd.org" Message-ID: <570FFFD0.7080703@FreeBSD.org> Subject: Re: Keeping OptionalObsoleteFiles.inc up to date References: <20160408125903.GD11361@hades.panopticon> In-Reply-To: <20160408125903.GD11361@hades.panopticon> --krVDdDx1moslk7pfR3Jq37OeOdDgdphxn Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 4/8/2016 5:59 AM, Dmitry Marakasov wrote: > * Ngie Cooper (yaneurabeya@gmail.com) wrote: >=20 >>> I'm trying to use "make delete-old" specifying WITHOUT_ keyword for >>> removing some no-more used set of files. >>> >>> I've start by testing WITHOUT_TOOLCHAIN: >>> - Some of files related to clang are correctly delete >>> - But there are still lot's of others (like /usr/bin/cc) >>> >>> Then I've checked tools/build/mk/OptionalObsoleteFiles.in and found t= hat >>> lot's files are missing in the ".if ${MK_TOOLCHAIN} =3D=3D no" sectio= n. >>> >>> I've started a new run of phk's build_options_survey script: >>> https://people.freebsd.org/~olivier/build_option_survey_20160406/ >>> >>> And wonder if it's possible to automatically generate the list of >>> conditional files to be put in OptionalObsoleteFiles.in from the resu= lt of >>> a build_option_survey script ? >> >> amdmi3 had a method for doing this, but I think it was a bit of a >> brute force approach (I could be wrong). >=20 > You are not. >=20 > https://github.com/AMDmi3/obsolete-files-checker >=20 >> The release-pkg project branch method seems like the best way to go >> about it though because it would kind of do the sanity checking for >> us... >=20 > Agreed. make delete-old + OptionalObsoleteFiles.in will never be > complete and work correctly. I'm waiting for packaged base too. >=20 It would be nice if that script and webpage presented a "default" as too. I just fixed an issue with /usr/lib32/libc_pic.a in r297987 that doesn't show anywhere on there. It seems there is no check for "files installed but still deleted" as well. --=20 Regards, Bryan Drewery --krVDdDx1moslk7pfR3Jq37OeOdDgdphxn-- --x3FTRwTsp9WqCndx44HiDOSpOuXsN0iGK 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 iQEcBAEBAgAGBQJXD//QAAoJEDXXcbtuRpfPVTUH/RtIFzqXFNu3tJ6QygUVlUYt SP3OlmnRg9KRlhCgFrAw84uAoAz4afRvUo7x+DCYoRCsEtSFcii5yyDm9mFoZI7C CYGJmR3A4io3qLc9OnrjNcUR7mPmVa8oKxNQCDS5lrWXXZxUixh7eFadAxNEIoMx 7r2nKlrLNRdH4rts8XkyRTQpQhD8/QgB1rDQhYf2wr9qB1wodFiFC6JLeqkMO61/ mSNLAHD66dnjjwHnTigHaiGugc/bolzWFVO70cAOQ8mPSZlX6cU/UTQe72zN4luU OM+EqIlWETbT+IYT/LViVaMPKlKQ1lzvyWPCjDBOVEA4n7TDCloJOiG4VMo7Nyc= =rKoG -----END PGP SIGNATURE----- --x3FTRwTsp9WqCndx44HiDOSpOuXsN0iGK--