From owner-freebsd-bugs Mon Sep 23 21:30: 6 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 158FA37B401 for ; Mon, 23 Sep 2002 21:30:03 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E04443E65 for ; Mon, 23 Sep 2002 21:30:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g8O4U2Co004444 for ; Mon, 23 Sep 2002 21:30:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g8O4U2Xd004443; Mon, 23 Sep 2002 21:30:02 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 56BF037B401 for ; Mon, 23 Sep 2002 21:25:35 -0700 (PDT) Received: from laptop.slackerbsd.org (pcp02155875pcs.walngs01.pa.comcast.net [68.81.47.129]) by mx1.FreeBSD.org (Postfix) with ESMTP id DEB0843E4A for ; Mon, 23 Sep 2002 21:25:34 -0700 (PDT) (envelope-from root@laptop.slackerbsd.org) Received: by laptop.slackerbsd.org (Postfix, from userid 0) id 0D0E44168; Tue, 24 Sep 2002 00:25:33 -0400 (EDT) Message-Id: <20020924042533.0D0E44168@laptop.slackerbsd.org> Date: Tue, 24 Sep 2002 00:25:33 -0400 (EDT) From: Carl Schmidt Reply-To: Carl Schmidt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: bin/43317: Use NetBSD sort, not GNU sort. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 43317 >Category: bin >Synopsis: Use NetBSD sort, not GNU sort. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Sep 23 21:30:02 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Carl Schmidt >Release: FreeBSD 5.0-CURRENT i386 >Organization: >Environment: System: FreeBSD laptop.slackerbsd.org 5.0-CURRENT FreeBSD 5.0-CURRENT #0: Mon Sep 23 19:20:39 EDT 2002 root@laptop.slackerbsd.org:/usr/obj/usr/src/sys/LAPTOP i386 >Description: GNU sort was imported about three months ago and subsequently made a part of the build. NetBSD sort was imported about five months ago and was apparently not made part of the build. GNU sort does not understand the common usage of +# (# = 1, 2, 3, etc.). >How-To-Repeat: Try building libncurses on its own. There were other areas which complained of sort's inability to use +# but I don't recall exactly where. >Fix: The following solves my problem on my machine. Your mileage may vary and probably will. I imagine there was a reason for using GNU sort and not NetBSD sort. I have no idea why though and since GNU sort breaks world, I'd have to be all for using NetBSD sort regardless of what fancy schmancy crap GNU sort offers. --- usr.bin/Makefile.orig Tue Sep 24 00:14:26 2002 +++ usr.bin/Makefile Tue Sep 24 00:11:45 2002 @@ -146,6 +146,7 @@ showmount \ sockstat \ soelim \ + sort \ split \ stat \ su \ --- mkdir usr.bin/sort cp Makefile usr.bin/sort/Makefile --- --- Makefile mentioned above --- .PATH: ${.CURDIR}/../../contrib/sort PROG= sort SRCS= append.c fields.c files.c fsort.c init.c msort.c sort.c tmp.c .include --- end Makefile --- --- gnu/usr.bin/Makefile.orig Tue Sep 24 00:19:20 2002 +++ gnu/usr.bin/Makefile Tue Sep 24 00:19:29 2002 @@ -1,7 +1,7 @@ # $FreeBSD: src/gnu/usr.bin/Makefile,v 1.72 2002/09/17 01:43:21 obrien Exp $ SUBDIR= bc binutils cc cpio dc dialog diff diff3 \ - gperf grep groff gzip man patch rcs sdiff send-pr sort tar texinfo + gperf grep groff gzip man patch rcs sdiff send-pr tar texinfo .if !defined(NO_CVS) SUBDIR+=cvs --- Or something like that...apologies if this is a duplicate pr. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message