Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Apr 2016 13:38:40 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Dmitry Marakasov <amdmi3@amdmi3.ru>, Ngie Cooper <yaneurabeya@gmail.com>
Cc:        =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= <olivier@freebsd.org>, "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Re: Keeping OptionalObsoleteFiles.inc up to date
Message-ID:  <570FFFD0.7080703@FreeBSD.org>
In-Reply-To: <20160408125903.GD11361@hades.panopticon>
References:  <CA%2Bq%2BTcoZCsEFJX%2BMz-f4_yz2mp%2BPKxtC8P4PkYRtnJ0586n=Qw@mail.gmail.com> <CAGHfRMB%2BHy72P=-63NhE64yxqQ0DROkfMSvZKo=sYTZWE500Cg@mail.gmail.com> <20160408125903.GD11361@hades.panopticon>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--x3FTRwTsp9WqCndx44HiDOSpOuXsN0iGK
Content-Type: multipart/mixed; boundary="krVDdDx1moslk7pfR3Jq37OeOdDgdphxn"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: Dmitry Marakasov <amdmi3@amdmi3.ru>, Ngie Cooper <yaneurabeya@gmail.com>
Cc: =?UTF-8?Q?Olivier_Cochard-Labb=c3=a9?= <olivier@freebsd.org>,
 "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Message-ID: <570FFFD0.7080703@FreeBSD.org>
Subject: Re: Keeping OptionalObsoleteFiles.inc up to date
References: <CA+q+TcoZCsEFJX+Mz-f4_yz2mp+PKxtC8P4PkYRtnJ0586n=Qw@mail.gmail.com>
 <CAGHfRMB+Hy72P=-63NhE64yxqQ0DROkfMSvZKo=sYTZWE500Cg@mail.gmail.com>
 <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--



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