From owner-freebsd-ports@FreeBSD.ORG Sat Apr 17 18:07:09 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2474216A4CE for ; Sat, 17 Apr 2004 18:07:09 -0700 (PDT) Received: from scaup.mail.pas.earthlink.net (scaup.mail.pas.earthlink.net [207.217.120.49]) by mx1.FreeBSD.org (Postfix) with ESMTP id 074D343D41 for ; Sat, 17 Apr 2004 18:07:09 -0700 (PDT) (envelope-from ringworm@inbox.lv) Received: from pool0160.cvx36-bradley.dialup.earthlink.net ([216.244.18.160]) by scaup.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 1BF0m3-00026w-00; Sat, 17 Apr 2004 18:07:08 -0700 From: "Michael C. Shultz" Organization: Mojave Green Software co. To: Kent Stewart Date: Sat, 17 Apr 2004 18:00:30 -0700 User-Agent: KMail/1.6.1 References: <200404171551.37730.ringworm@inbox.lv> <200404171601.25298.kstewart@owt.com> In-Reply-To: <200404171601.25298.kstewart@owt.com> MIME-Version: 1.0 Content-Disposition: inline Message-Id: <200404171800.30877.ringworm@inbox.lv> Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Description: cc: freebsd-ports@freebsd.org Subject: Re: aspell-0.50.5_2 fails to build X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Apr 2004 01:07:09 -0000 On Saturday 17 April 2004 04:01 pm, you wrote: > On Saturday 17 April 2004 03:51 pm, Michael C. Shultz wrote: > > Hi, right after I cvsup'ed and updated today aspell fails to build > > with the following error: > > > > posib_err.hpp:164: candidates are: > > acommon::PosibErr::operator const acommon::String > > &() const posib_err.hpp:206: > > acommon::String::String(const acommon::PosibErr &) > > What options do you have in /etc/make.conf? I built aspell on 4-10-beta > and 5.2-current. Neither build produced anything but the usual warning > messages. > > ruby# pkgrep aspell > aspell-0.50.5_2 Spelling checker with better suggestion logic than > ispell > > FreeBSD ruby 4.10-BETA FreeBSD 4.10-BETA #4: Sun Apr 11 12:47:03 PDT > 2004 root@ruby:/usr/obj/usr/src/sys/RUBY i386 > > Kent I did just add "CFLAGS+=${BDECFLAGS}" before updating because I was also compiling my own stuff. Removing it and aspell compiles just fine. I'm curious why warning flags would stop aspell, but in the future I'll unset them when upgrading. Thanks for your help Kent! -Mike ps: The flags I had set were: CXXFLAGS+= -fmemoize-lookups -fsave-memoized # # BDECFLAGS are a set of gcc warning settings that Bruce Evans has suggested # for use in developing FreeBSD and testing changes. They can be used by # putting "CFLAGS+=${BDECFLAGS}" in /etc/make.conf. -Wconversion is not # included here due to compiler bugs, e.g., mkdir()'s mode_t argument. # BDECFLAGS= -W -Wall -ansi -pedantic -Wbad-function-cast -Wcast-align \ -Wcast-qual -Wchar-subscripts -Winline \ -Wmissing-prototypes -Wnested-externs -Wpointer-arith \ -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings CFLAGS+=${BDECFLAGS}