From grog@lemis.com  Fri Nov 29 23:59:12 2002
Return-Path: <grog@lemis.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id C7C0B37B401
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Nov 2002 23:59:12 -0800 (PST)
Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3AD8F43EAF
	for <FreeBSD-gnats-submit@freebsd.org>; Fri, 29 Nov 2002 23:59:11 -0800 (PST)
	(envelope-from grog@lemis.com)
Received: by wantadilla.lemis.com (Postfix, from userid 1004)
	id 3621751917; Sat, 30 Nov 2002 18:29:08 +1030 (CST)
Message-Id: <20021130075908.3621751917@wantadilla.lemis.com>
Date: Sat, 30 Nov 2002 18:29:08 +1030 (CST)
From: Greg 'groggy' Lehey <grog@lemis.com>
Reply-To: Greg 'groggy' Lehey <grog@lemis.com>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: aspell port does not build under -CURRENT
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         45867
>Category:       ports
>Synopsis:       aspell port does not build under -CURRENT
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Nov 30 00:00:09 PST 2002
>Closed-Date:    Tue Dec 10 09:32:57 PST 2002
>Last-Modified:  Tue Dec 10 09:32:57 PST 2002
>Originator:     Greg 'groggy' Lehey
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
LEMIS (SA) Pty Ltd
>Environment:
System: FreeBSD sydney.worldwide.lemis.com 5.0-CURRENT FreeBSD 5.0-CURRENT #1: Fri Nov 29 13:11:05 CST 2002     grog@sydney.worldwide.lemis.com:/usr/obj/src/FreeBSD/5-CURRENT-SYDNEY/src/sys/SYDNEY  i386


>Description:
	Build of textproc/aspell fails with the following message:


	c++ -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -O -pipe -mcpu=pentiumpro -MT split.lo -MD -MP -MF .deps/split.Tpo -c split.cpp  -fPIC -DPIC -o .libs/split.lo
	split.cpp: In function `std::vector<acommon::String, 
	   std::allocator<acommon::String> > aspeller::split(const acommon::String&)':
	split.cpp:13: no match for `istrstream& >> acommon::String&' operator
	/usr/include/g++/iostream.h:200: candidates are: istream& 
	   istream::operator>>(char*)
	/usr/include/g++/iostream.h:201:                 istream& 
	   istream::operator>>(unsigned char*)
	/usr/include/g++/iostream.h:202:                 istream& 
	   istream::operator>>(signed char*)
	/usr/include/g++/iostream.h:203:                 istream& 
	   istream::operator>>(char&)
	/usr/include/g++/iostream.h:204:                 istream& 
	   istream::operator>>(unsigned char&)
	/usr/include/g++/iostream.h:205:                 istream& 
	   istream::operator>>(signed char&)
	/usr/include/g++/iostream.h:206:                 istream& 
	   istream::operator>>(int&)
	/usr/include/g++/iostream.h:207:                 istream& 
	   istream::operator>>(long int&)
	/usr/include/g++/iostream.h:209:                 istream& 
	   istream::operator>>(long long int&)
	/usr/include/g++/iostream.h:210:                 istream& 
	   istream::operator>>(long long unsigned int&)
	/usr/include/g++/iostream.h:212:                 istream& 
	   istream::operator>>(short int&)
	/usr/include/g++/iostream.h:213:                 istream& 
	   istream::operator>>(unsigned int&)
	/usr/include/g++/iostream.h:214:                 istream& 
	   istream::operator>>(long unsigned int&)
	/usr/include/g++/iostream.h:215:                 istream& 
	   istream::operator>>(short unsigned int&)
	/usr/include/g++/iostream.h:217:                 istream& 
	   istream::operator>>(bool&)
	/usr/include/g++/iostream.h:219:                 istream& 
	   istream::operator>>(float&)
	/usr/include/g++/iostream.h:220:                 istream& 
	   istream::operator>>(double&)
	/usr/include/g++/iostream.h:221:                 istream& 
	   istream::operator>>(long double&)
	/usr/include/g++/iostream.h:222:                 istream& 
	   istream::operator>>(ios&(*)(ios&))
	/usr/include/g++/iostream.h:223:                 istream& 
	   istream::operator>>(istream&(*)(istream&))
	/usr/include/g++/iostream.h:224:                 istream& 
	   istream::operator>>(streambuf*)
	gmake[3]: *** [split.lo] Error 1
	gmake[3]: Leaving directory `/src/FreeBSD/ports/textproc/aspell/work/aspell-0.50.3/modules/speller/default'
	gmake[2]: *** [all-recursive] Error 1
	gmake[2]: Leaving directory `/src/FreeBSD/ports/textproc/aspell/work/aspell-0.50.3/modules/speller'
	gmake[1]: *** [all-recursive] Error 1
	gmake[1]: Leaving directory `/src/FreeBSD/ports/textproc/aspell/work/aspell-0.50.3/modules'
	gmake: *** [all-recursive] Error 1
	*** Error code 2

>How-To-Repeat:
	Try to build.
>Fix:
	Not investigated.
>Release-Note:
>Audit-Trail:

From: Thierry Thomas <thierry@pompo.net>
To: Greg 'groggy' Lehey <grog@lemis.com>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/45867: aspell port does not build under -CURRENT
Date: Sat, 30 Nov 2002 18:00:40 +0100

 Le 30/11/2002  08:59:08 +0100, Greg 'groggy' Lehey <grog@lemis.com> crivait:
 > 
 > >Number:         45867
 > >Category:       ports
 > >Synopsis:       aspell port does not build under -CURRENT
  
 8<   8<   8<
 
 > >Description:
 > 	Build of textproc/aspell fails with the following message:
 > 
 > 
 > 	c++ -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -O -pipe -mcpu=pentiumpro -MT split.lo -MD -MP -MF .deps/split.Tpo -c split.cpp  -fPIC -DPIC -o .libs/split.lo
 > 	split.cpp: In function `std::vector<acommon::String, 
 > 	   std::allocator<acommon::String> > aspeller::split(const acommon::String&)':
 > 	split.cpp:13: no match for `istrstream& >> acommon::String&' operator
 > 	/usr/include/g++/iostream.h:200: candidates are: istream& 
 > 	   istream::operator>>(char*)
 > 	/usr/include/g++/iostream.h:201:                 istream& 
 
 It seems that you have to upgrade your /usr/include/g++:
 
 There will be many old .h files in g++ which are left over from                                             
 an older version of libstdc++.  Note that the new files will not                                            
 have the .h extension and therefore they do not overwrite the old                                           
 and obsolete .h files, which seem to be the ones causing the                                                
 trouble.
 
 How-to:
 
 cd /usr/include                                                                                             
 mv g++  g++.old                                                                                             
 cd /usr/src/                                                                                                
 make includes                                                                                               
                                                                                                             
 Note also that some people actually do this instead:                                                        
 cd /usr                                                                                                     
 mv include include.old                                                                                      
 cd /usr/src                                                                                                 
 make includes                                                                                               
                                                                                                             
 but this will also remove many .h files that belong to ports which                                          
 the user may have installed,  Those ports then need to be reinstalled,                                      
 or their .h files need to be copied back to /usr/include from                                               
 /usr/include.old
 
 Credits: walt <wsheets@sbcglobal.net>
 -- 
 Th. Thomas.

From: Greg 'groggy' Lehey <grog@FreeBSD.org>
To: Thierry Thomas <thierry@pompo.net>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/45867: aspell port does not build under -CURRENT
Date: Mon, 2 Dec 2002 10:38:01 +1030

 On Saturday, 30 November 2002 at 18:00:40 +0100, Thierry Thomas wrote:
 > Le 30/11/2002  08:59:08 +0100, Greg 'groggy' Lehey <grog@FreeBSD.org> crivait:
 >>
 >>> Number:         45867
 >>> Category:       ports
 >>> Synopsis:       aspell port does not build under -CURRENT
 >
 > 8<   8<   8<
 >
 >>> Description:
 >> 	Build of textproc/aspell fails with the following message:
 >>
 >>
 >> 	c++ -DHAVE_CONFIG_H -I. -I. -I../../../common -I../../../common -O -pipe -mcpu=pentiumpro -MT split.lo -MD -MP -MF .deps/split.Tpo -c split.cpp  -fPIC -DPIC -o .libs/split.lo
 >> 	split.cpp: In function `std::vector<acommon::String,
 >> 	   std::allocator<acommon::String> > aspeller::split(const acommon::String&)':
 >> 	split.cpp:13: no match for `istrstream& >> acommon::String&' operator
 >> 	/usr/include/g++/iostream.h:200: candidates are: istream&
 >> 	   istream::operator>>(char*)
 >> 	/usr/include/g++/iostream.h:201:                 istream&
 >
 > It seems that you have to upgrade your /usr/include/g++:
 
 Yes, that seems to have been the problem.  So this is an install bug,
 not a ports bug.  Thanks.
 
 Greg
 --
 See complete headers for address and phone numbers
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Tue Dec 10 09:32:43 PST 2002 
State-Changed-Why:  
Maintainer resolved issue with orginator 

http://www.freebsd.org/cgi/query-pr.cgi?pr=45867 
>Unformatted:
