From owner-svn-src-head@freebsd.org Thu Nov 16 16:58:30 2017 Return-Path: Delivered-To: svn-src-head@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 8C409DE2E9B; Thu, 16 Nov 2017 16:58:30 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5CAFA1A25; Thu, 16 Nov 2017 16:58:29 +0000 (UTC) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id vAGGwLs1056684; Thu, 16 Nov 2017 08:58:21 -0800 (PST) (envelope-from freebsd@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id vAGGwLab056683; Thu, 16 Nov 2017 08:58:21 -0800 (PST) (envelope-from freebsd) From: "Rodney W. Grimes" Message-Id: <201711161658.vAGGwLab056683@pdx.rh.CN85.dnsmgr.net> Subject: Re: svn commit: r325893 - in head: . etc/mtree share/man/man7 share/man/man9 targets/pseudo/hosttools targets/pseudo/userland usr.bin usr.bin/xlint In-Reply-To: <201711161437.vAGEbIvj043914@repo.freebsd.org> To: Konstantin Belousov Date: Thu, 16 Nov 2017 08:58:21 -0800 (PST) CC: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Reply-To: rgrimes@freebsd.org X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Nov 2017 16:58:30 -0000 > Author: kib > Date: Thu Nov 16 14:37:18 2017 > New Revision: 325893 > URL: https://svnweb.freebsd.org/changeset/base/325893 > > Log: > Remove xlint(1). > > xlint is currently a fossil. We have much more useful and alive tools > to do now what xlint did twenty years ago. > > I did not cleared some stuff which makes lint operational, in > sys/x86/include and sys/sys, but I might do it as followup. The > x86/include/ucontext.h and _types.h hacks made to please lint was the > main reason for my initial proposal to classify xlint as obsolete and > to remove it. > > Also I do not intend to clear sccs ids. > > Reviewed by: bapt, brooks, emaste, jhb, pfg > Sponsored by: The FreeBSD Foundation > Differential revision: https://reviews.freebsd.org/D13015 > > Deleted: > head/usr.bin/xlint/ > Modified: > head/ObsoleteFiles.inc > head/etc/mtree/BSD.usr.dist > head/share/man/man7/hier.7 > head/share/man/man9/style.9 > head/targets/pseudo/hosttools/Makefile.depend.host > head/targets/pseudo/userland/Makefile.depend > head/usr.bin/Makefile Relnotes: Y, And deprication procedures need to be followed. > Modified: head/ObsoleteFiles.inc > ============================================================================== > --- head/ObsoleteFiles.inc Thu Nov 16 14:27:02 2017 (r325892) > +++ head/ObsoleteFiles.inc Thu Nov 16 14:37:18 2017 (r325893) > @@ -38,6 +38,15 @@ > # xargs -n1 | sort | uniq -d; > # done > > +# 20171116: lint(1) removal > +OLD_FILES+=usr/bin/lint > +OLD_FILES+=usr/libexec/lint1 > +OLD_FILES+=usr/libexec/lint2 > +OLD_FILES+=usr/libdata/lint/llib-lposix.ln > +OLD_FILES+=usr/libdata/lint/llib-lstdc.ln > +OLD_FILES+=usr/share/man/man1/lint.1.gz > +OLD_FILES+=usr/share/man/man7/lint.7.gz > +OLD_DIRS+=usr/libdata/lint > # 20171114: Removal of all fortune datfiles other than freebsd-tips > OLD_FILES+=usr/share/games/fortune/fortunes > OLD_FILES+=usr/share/games/fortune/fortunes.dat > > Modified: head/etc/mtree/BSD.usr.dist > ============================================================================== > --- head/etc/mtree/BSD.usr.dist Thu Nov 16 14:27:02 2017 (r325892) > +++ head/etc/mtree/BSD.usr.dist Thu Nov 16 14:37:18 2017 (r325893) > @@ -56,8 +56,6 @@ > .. > ldscripts > .. > - lint > - .. > pkgconfig > .. > .. > > Modified: head/share/man/man7/hier.7 > ============================================================================== > --- head/share/man/man7/hier.7 Thu Nov 16 14:27:02 2017 (r325892) > +++ head/share/man/man7/hier.7 Thu Nov 16 14:37:18 2017 (r325893) > @@ -364,10 +364,6 @@ configuration data > linker scripts; > see > .Xr ld 1 > -.It Pa lint/ > -various prebuilt lint libraries; > -see > -.Xr lint 1 > .El > .Pp > .It Pa libexec/ > > Modified: head/share/man/man9/style.9 > ============================================================================== > --- head/share/man/man9/style.9 Thu Nov 16 14:27:02 2017 (r325892) > +++ head/share/man/man9/style.9 Thu Nov 16 14:37:18 2017 (r325893) > @@ -867,14 +867,11 @@ KNF > compliant in the repository must not diverge from compliance. > .Pp > Whenever possible, code should be run through a code checker > -(e.g., > -.Xr lint 1 > -or > +(e.g., various static analyzers or > .Nm cc Fl Wall ) > and produce minimal warnings. > .Sh SEE ALSO > .Xr indent 1 , > -.Xr lint 1 , > .Xr err 3 , > .Xr warn 3 , > .Xr style.Makefile 5 > > Modified: head/targets/pseudo/hosttools/Makefile.depend.host > ============================================================================== > --- head/targets/pseudo/hosttools/Makefile.depend.host Thu Nov 16 14:27:02 2017 (r325892) > +++ head/targets/pseudo/hosttools/Makefile.depend.host Thu Nov 16 14:37:18 2017 (r325893) > @@ -15,7 +15,6 @@ DIRDEPS = \ > usr.bin/mkcsmapper_static \ > usr.bin/mkesdb_static \ > usr.bin/xinstall \ > - usr.bin/xlint/xlint \ > usr.bin/yacc \ > usr.sbin/config \ > usr.sbin/crunch/crunchgen \ > > Modified: head/targets/pseudo/userland/Makefile.depend > ============================================================================== > --- head/targets/pseudo/userland/Makefile.depend Thu Nov 16 14:27:02 2017 (r325892) > +++ head/targets/pseudo/userland/Makefile.depend Thu Nov 16 14:37:18 2017 (r325893) > @@ -416,10 +416,6 @@ DIRDEPS+= \ > usr.bin/write \ > usr.bin/xargs \ > usr.bin/xinstall \ > - usr.bin/xlint/lint1 \ > - usr.bin/xlint/lint2 \ > - usr.bin/xlint/llib \ > - usr.bin/xlint/xlint \ > usr.bin/xo \ > usr.bin/xstr \ > usr.bin/xz \ > > Modified: head/usr.bin/Makefile > ============================================================================== > --- head/usr.bin/Makefile Thu Nov 16 14:27:02 2017 (r325892) > +++ head/usr.bin/Makefile Thu Nov 16 14:37:18 2017 (r325893) > @@ -278,9 +278,6 @@ SUBDIR.${MK_TOOLCHAIN}+= rpcgen > SUBDIR.${MK_TOOLCHAIN}+= unifdef > SUBDIR.${MK_TOOLCHAIN}+= size > SUBDIR.${MK_TOOLCHAIN}+= strings > -.if ${MACHINE_ARCH} != "aarch64" # ARM64TODO xlint does not build > -SUBDIR.${MK_TOOLCHAIN}+= xlint > -.endif > SUBDIR.${MK_TOOLCHAIN}+= xstr > SUBDIR.${MK_TOOLCHAIN}+= yacc > SUBDIR.${MK_VI}+= vi > > -- Rod Grimes rgrimes@freebsd.org