From khera@kciLink.com  Thu Jan 27 14:58:21 2000
Return-Path: <khera@kciLink.com>
Received: from kci.kciLink.com (kci.kciLink.com [204.117.82.1])
	by hub.freebsd.org (Postfix) with ESMTP id 75DEB1554D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Jan 2000 14:58:20 -0800 (PST)
	(envelope-from khera@kciLink.com)
Received: from onceler.kcilink.com (onceler.kciLink.com [204.117.82.2])
	by kci.kciLink.com (Postfix) with ESMTP id 3651BE89D
	for <FreeBSD-gnats-submit@freebsd.org>; Thu, 27 Jan 2000 17:58:18 -0500 (EST)
Received: (from khera@localhost)
	by onceler.kcilink.com (8.9.3/8.9.3) id RAA49111;
	Thu, 27 Jan 2000 17:58:18 -0500 (EST)
	(envelope-from khera@kci.kcilink.com)
Message-Id: <200001272258.RAA49111@onceler.kcilink.com>
Date: Thu, 27 Jan 2000 17:58:18 -0500 (EST)
From: <khera@kciLink.com>
Reply-To: khera@kciLink.com
To: FreeBSD-gnats-submit@freebsd.org
Subject: klyx port fails to compile
X-Send-Pr-Version: 3.2

>Number:         16413
>Category:       ports
>Synopsis:       klyx port fails to compile
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jan 27 15:00:01 PST 2000
>Closed-Date:    Thu Mar 2 21:08:33 PST 2000
>Last-Modified:  Thu Mar  2 21:10:17 PST 2000
>Originator:     Vivek Khera
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
>Environment:

Ports cvsup'd at 5:30pm EST January 27, 2000.
FreeBSD-STABLE from January 19.

>Description:

klyx port fails to compile, ending with this long error message:

c++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/include -I/usr/X11R6/include/X11/qt  -I/usr/X11R6/include -I../images    -O -pipe -c InsertCitationReferenceDialog.C
In file included from /usr/include/g++/map.h:24,
                 from /usr/include/g++/map:6,
                 from InsertCitationReferenceDialog.h:12,
                 from InsertCitationReferenceDialog.C:6:
/usr/include/g++/tree.h:51: `0' redeclared as different kind of symbol
/usr/X11R6/include/X11/qt/qcolor.h:184: previous declaration of `class QColor const red'
/usr/include/g++/tree.h:51: `1' redeclared as different kind of symbol
/usr/X11R6/include/X11/qt/qcolor.h:179: previous declaration of `class QColor const black'
In file included from /usr/include/g++/std/bastring.h:571,
                 from /usr/include/g++/std/string.h:6,
                 from /usr/include/g++/string:5,
                 from InsertCitationReferenceDialog.h:14,
                 from InsertCitationReferenceDialog.C:6:
/usr/include/g++/std/sinst.h:60: ambiguous template instantiation for `operator !=(const char *, const basic_string<char,string_char_traits<char> > &)' requested
/usr/include/g++/std/sinst.h:60: ambiguous template instantiation for `operator !=(const basic_string<char,string_char_traits<char> > &, const char *)' requested
/usr/include/g++/std/sinst.h:62: ambiguous template instantiation for `operator >(const char *, const basic_string<char,string_char_traits<char> > &)' requested
/usr/include/g++/std/sinst.h:62: ambiguous template instantiation for `operator >(const basic_string<char,string_char_traits<char> > &, const char *)' requested
/usr/include/g++/std/sinst.h:63: ambiguous template instantiation for `operator <=(const char *, const basic_string<char,string_char_traits<char> > &)' requested
/usr/include/g++/std/sinst.h:63: ambiguous template instantiation for `operator <=(const basic_string<char,string_char_traits<char> > &, const char *)' requested
/usr/include/g++/std/sinst.h:64: ambiguous template instantiation for `operator >=(const char *, const basic_string<char,string_char_traits<char> > &)' requested
/usr/include/g++/std/sinst.h:64: ambiguous template instantiation for `operator >=(const basic_string<char,string_char_traits<char> > &, const char *)' requested
In file included from InsertCitationReferenceDialog.C:6:
InsertCitationReferenceDialog.h:71: incorrect number of parameters (1, should be 2)
/usr/include/g++/set.h:27: in template expansion for decl `template <class Key, class Compare> class set'
InsertCitationReferenceDialog.h:71: incorrect number of parameters (2, should be 3)
/usr/include/g++/map.h:27: in template expansion for decl `template <class Key, class T, class Compare> class map'
InsertCitationReferenceDialog.C: In method `void InsertCitationReferenceDialog::cancelClicked()':
InsertCitationReferenceDialog.C:93: request for member `begin' in `InsertCitationReferenceDialog::keys', which is of non-aggregate type `int'
InsertCitationReferenceDialog.C:93: request for member `end' in `InsertCitationReferenceDialog::keys', which is of non-aggregate type `int'
InsertCitationReferenceDialog.C:93: request for member `erase' in `InsertCitationReferenceDialog::keys', which is of non-aggregate type `int'
InsertCitationReferenceDialog.C: In method `void InsertCitationReferenceDialog::ensureBibItem(const char *)':
InsertCitationReferenceDialog.C:102: incorrect number of parameters (1, should be 2)
/usr/include/g++/set.h:27: in template expansion for decl `template <class Key, class Compare> class set'
InsertCitationReferenceDialog.C:102: incorrect number of parameters (2, should be 3)
/usr/include/g++/map.h:27: in template expansion for decl `template <class Key, class T, class Compare> class map'
InsertCitationReferenceDialog.C:102: parse error before `='
InsertCitationReferenceDialog.C:104: `db' undeclared (first use this function)
InsertCitationReferenceDialog.C:104: (Each undeclared identifier is reported only once
InsertCitationReferenceDialog.C:104: for each function it appears in.)
InsertCitationReferenceDialog.C:104: request for member `end' in `InsertCitationReferenceDialog::keys', which is of non-aggregate type `int'
InsertCitationReferenceDialog.C:105: incorrect number of parameters (1, should be 2)
/usr/include/g++/set.h:27: in template expansion for decl `template <class Key, class Compare> class set'
InsertCitationReferenceDialog.C:105: parse error before `='
InsertCitationReferenceDialog.C:107: `key' undeclared (first use this function)
InsertCitationReferenceDialog.C: In method `void InsertCitationReferenceDialog::newDatabase(const char *)':
InsertCitationReferenceDialog.C:132: incorrect number of parameters (1, should be 2)
/usr/include/g++/set.h:27: in template expansion for decl `template <class Key, class Compare> class set'
InsertCitationReferenceDialog.C:132: parse error before `='
InsertCitationReferenceDialog.C:133: `iter' undeclared (first use this function)
InsertCitationReferenceDialog.C:133: request for member `end' in `*(db + +InsertCitationReferenceDialog::keys)', which is of non-aggregate type `char'
InsertCitationReferenceDialog.C: In method `void InsertCitationReferenceDialog::okClicked()':
InsertCitationReferenceDialog.C:143: request for member `begin' in `InsertCitationReferenceDialog::keys', which is of non-aggregate type `int'
InsertCitationReferenceDialog.C:143: request for member `end' in `InsertCitationReferenceDialog::keys', which is of non-aggregate type `int'
InsertCitationReferenceDialog.C:143: request for member `erase' in `InsertCitationReferenceDialog::keys', which is of non-aggregate type `int'
InsertCitationReferenceDialog.C: In method `void InsertCitationReferenceDialog::updateBibItems()':
InsertCitationReferenceDialog.C:165: incorrect number of parameters (1, should be 2)
/usr/include/g++/set.h:27: in template expansion for decl `template <class Key, class Compare> class set'
InsertCitationReferenceDialog.C:176: cannot take typeid of object when -frtti is not specified
InsertCitationReferenceDialog.C:176: confused by earlier errors, bailing out
gmake[2]: *** [InsertCitationReferenceDialog.o] Error 1
gmake[2]: Leaving directory `/u/onceler1/usr/ports/print/klyx/work/klyx-0.10.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/u/onceler1/usr/ports/print/klyx/work/klyx-0.10.0'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.


>How-To-Repeat:

cd /usr/ports/print/klyx
make

>Fix:
	
Don't know.  Wish I did.  No package is available either, so I'm SOL ;-(

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: gnats-admin->freebsd-ports 
Responsible-Changed-By: jedgar 
Responsible-Changed-When: Thu Jan 27 16:15:29 PST 2000 
Responsible-Changed-Why:  
Misfiled PR 

From: Rod Taylor <junk@zort.on.ca>
To: freebsd-gnats-submit@FreeBSD.org, khera@kciLink.com
Cc:  
Subject: Re: ports/16413: klyx port fails to compile
Date: Thu, 24 Feb 2000 22:55:17 -0500

 Compiles and installs here (3.4-stable).
 
 Is it fixed for you as well?
 -- 
 Rod Taylor
 
    microsoft: where do you want to go today?
    linux:     where do you want to go tomorrow?
    BSD:       are you guys coming, or what?
 --
 

From: Vivek Khera <khera@kciLink.com>
To: Rod Taylor <junk@zort.on.ca>
Cc: freebsd-gnats-submit@FreeBSD.org
Subject: Re: ports/16413: klyx port fails to compile
Date: Fri, 25 Feb 2000 11:05:45 -0500 (EST)

 >>>>> "RT" == Rod Taylor <junk@zort.on.ca> writes:
 
 RT> Compiles and installs here (3.4-stable).
 RT> Is it fixed for you as well?
 
 Last I tried was about a week ago.  I had to manually re-run klyx'
 configure script and tell it to use gcc295.  But then I ran into the
 issue that my libqt.so is compiled with gcc, and the name mangling
 conflicted so it wouldn't link.
 
 I'm running make on klyx right now (just finished cvsup) and it seems
 to be updating my kdelibs and my qt... perhaps it will work now?
 We'll see...  it is building qt with g++295 I hope that doesn't kill
 KDE for me.  Nope, looks like it made libqt.so.3 to save my
 skin... excellent!
 
 I'm suspecting it will work now since has rebuilt everything using
 g++295 for me...  Yep.  Looks like it worked out OK now.  Thanks to
 whomever updated it to compile on 3.4-STABLE.
 
State-Changed-From-To: open->closed 
State-Changed-By: jkoshy 
State-Changed-When: Thu Mar 2 21:08:33 PST 2000 
State-Changed-Why:  
Submitter's problem disappeared with g++295. 
>Unformatted:
