From owner-freebsd-current@FreeBSD.ORG Wed Mar 26 15:10:54 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3635137B404 for ; Wed, 26 Mar 2003 15:10:54 -0800 (PST) Received: from mallaury.noc.nerim.net (smtp-101.noc.nerim.net [62.4.17.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29E7E43F75 for ; Wed, 26 Mar 2003 15:10:53 -0800 (PST) (envelope-from cbuisson@nerim.net) Received: from nerim.net (cbuisson.net1.nerim.net [213.41.135.238]) by mallaury.noc.nerim.net (Postfix) with ESMTP id 763F062D03; Thu, 27 Mar 2003 00:10:48 +0100 (CET) Sender: claude@mallaury.noc.nerim.net Message-ID: <3E82337A.25803023@nerim.net> Date: Thu, 27 Mar 2003 00:10:50 +0100 From: Claude Buisson X-Mailer: Mozilla 4.8 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Martin Moeller References: <20030326194805.GA967@bsdsi.homeunix.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Status: No, hits=-28.1 required=5.0 tests=EMAIL_ATTRIBUTION,PATCH_UNIFIED_DIFF,QUOTED_EMAIL_TEXT, RCVD_IN_UNCONFIRMED_DSBL,REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) cc: freebsd-current@freebsd.org Subject: Re: gnuls-4.0_1 coredumps on CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 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: Wed, 26 Mar 2003 23:11:25 -0000 Martin Moeller wrote: > > The gnuls-4.0_1 program coredumps when invoked with '-l' parameter. > Debugging shows a problem with libc: > > -- BEGIN LOG -- > > bsdsi# gdb /usr/local/bin/gnuls > GNU gdb 5.2.1 (FreeBSD) > Copyright 2002 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > are > welcome to change it and/or distribute copies of it under certain > conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i386-undermydesk-freebsd"...(no debugging > symbols found)... > (gdb) set args -l > (gdb) run > Starting program: /usr/local/bin/gnuls -l > (no debugging symbols found)...(no debugging symbols found)... > Program received signal SIGSEGV, Segmentation fault. > 0x28109c46 in strcasecmp () from /usr/lib/libc.so.5 > > -- END LOG -- > > Is anyone experiencing the same problem? > Me too... I get rid of this problem by forcing the use of gettext from ports, with the following patch to the Makefile: ================================================================ --- Makefile.orig Wed Mar 26 23:59:02 2003 +++ Makefile Wed Mar 26 23:59:50 2003 @@ -16,7 +16,12 @@ MAINTAINER= bmc@WillsCreek.COM COMMENT= GNU colorized `ls' +LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext + GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + MAN1= gnuls.1 dircolors.1 dir.1 vdir.1 .include ================================================================ > Regards, > Martin > Hope this help, Claude Buisson