Subject: pkg/14595: koffice fails to build on current
To: None <gnats-bugs@gnats.netbsd.org>
From: Mark Davies <mark@mcs.vuw.ac.nz>
List: netbsd-bugs
Date: 11/16/2001 12:15:56
>Number: 14595
>Category: pkg
>Synopsis: koffice fails to build on current
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Nov 15 15:16:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: Mark Davies
>Release: NetBSD 1.5Y 29/10/2001
>Organization:
Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand.
>Environment:
System: NetBSD turakirae.mcs.vuw.ac.nz 1.5Y NetBSD 1.5Y (MCS_WORKSTATION) #1: Tue Oct 30 22:54:21 NZDT 2001 mark@turakirae.mcs.vuw.ac.nz:/src/work/src/sys/arch/i386/compile/MCS_WORKSTATION i386
Architecture: i386
Machine: i386
>Description:
With the patches to support koffice building with old gcc's, koffice
no longer builds for me on a relatively new current with the new
toolchain -- (gcc version 2.95.3)
>How-To-Repeat:
"make update" in pkgsrc/misc/koffice
eventually dies with
/bin/sh ../../libtool --mode=compile --tag=CXX c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficeui -I../../lib/kofficeui -I../../lib/kofficecore -I../../lib/kofficecore -I../../lib/store -I../../lib/store -I../../lib/kwmf -I../../lib/kwmf -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -I/src/work/pkgsrc/misc/koffice/work/.buildlink/qt2/include -I/usr/pkg/share/x11-links/include -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -I/usr/pkg/share/x11-links/include -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -I/usr/pkg/share/x11-links/include -O2 -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c formulacursor.cc
c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../lib/kofficeui -I../../lib/kofficeui
-I../../lib/kofficecore -I../../lib/kofficecore -I../../lib/store -I../../lib/store -I../../lib/kwmf -I../../lib/kwmf -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -I/src/work/pkgsrc/misc/koffice/work/.buildlink/qt2/include -I/usr/pkg/share/x11-links/include -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -I/usr/pkg/share/x11-links/include -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -I/usr/pkg/share/x11-links/include -O2 -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -I/src/work/pkgsrc/misc/koffice/work/.buildlink/include -O2 -I/usr/pkg/share/x11-links/include -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT -DQT_NO_ASCII_CAST -c formulacursor.cc -fPIC -DPIC -o .libs/formulacursor.o
In file included from formulacursor.cc:25:
indexelement.h:217: syntax error before `('
indexelement.h: In method `class KFormula::SequenceElement * KFormula::IndexElement::getMainChild()':
indexelement.h:131: `content' undeclared (first use this function)
indexelement.h:131: (Each undeclared identifier is reported only once
indexelement.h:131: for each function it appears in.)
indexelement.h: In method `bool KFormula::IndexElement::hasUpperLeft() const':
indexelement.h:190: `upperLeft' undeclared (first use this function)
indexelement.h: In method `bool KFormula::IndexElement::hasUpperMiddle() const':indexelement.h:191: `upperMiddle' undeclared (first use this function)
indexelement.h: In method `bool KFormula::IndexElement::hasUpperRight() const':
indexelement.h:192: `upperRight' undeclared (first use this function)
indexelement.h: In method `bool KFormula::IndexElement::hasLowerLeft() const':
indexelement.h:193: `lowerLeft' undeclared (first use this function)
indexelement.h: In method `bool KFormula::IndexElement::hasLowerMiddle() const':indexelement.h:194: `lowerMiddle' undeclared (first use this function)
indexelement.h: In method `bool KFormula::IndexElement::hasLowerRight() const':
indexelement.h:195: `lowerRight' undeclared (first use this function)
indexelement.h: At top level:
indexelement.h:218: syntax error before `('
indexelement.h:219: syntax error before `('
indexelement.h:220: syntax error before `('
indexelement.h:221: syntax error before `('
indexelement.h:222: syntax error before `('
indexelement.h:227: syntax error before `('
indexelement.h:233: virtual outside class declaration
indexelement.h:235: parse error before `protected'
indexelement.h:247: virtual outside class declaration
indexelement.h:253: virtual outside class declaration
indexelement.h:260: virtual outside class declaration
indexelement.h:262: parse error before `private'
indexelement.h:270: syntax error before `*'
indexelement.h:277: parse error before `{'
indexelement.h:280: `FormulaCursor' was not declared in this scope
indexelement.h:280: `cursor' was not declared in this scope
indexelement.h:280: `Direction' was not declared in this scope
indexelement.h:280: parse error before `)'
indexelement.h:281: virtual outside class declaration
indexelement.h: In function `void moveToIndex(...)':
indexelement.h:281: `parent' undeclared (first use this function)
indexelement.h:281: `cursor' undeclared (first use this function)
indexelement.h:281: `direction' undeclared (first use this function)
indexelement.h: At top level:
indexelement.h:282: `FormulaCursor' was not declared in this scope
indexelement.h:283: virtual outside class declaration
indexelement.h:283: variable or field `setToIndex' declared void
indexelement.h:283: syntax error before `{'
indexelement.h:285: virtual outside class declaration
indexelement.h:285: non-member function `hasIndex()' cannot have `const' method
qualifier
indexelement.h:286: parse error before `}'
indexelement.h:288: parse error before `{'
indexelement.h:291: `FormulaCursor' was not declared in this scope
indexelement.h:291: parse error before `)'
indexelement.h:292: virtual outside class declaration
indexelement.h: In function `void moveToIndex(...)':
indexelement.h:292: redefinition of `void moveToIndex(...)'
indexelement.h:281: `void moveToIndex(...)' previously defined here
indexelement.h: At top level:
indexelement.h:293: `FormulaCursor' was not declared in this scope
indexelement.h:294: virtual outside class declaration
indexelement.h:294: variable or field `setToIndex' declared void
indexelement.h:294: redefinition of `int setToIndex'
indexelement.h:283: `int setToIndex' previously defined here
indexelement.h:294: syntax error before `{'
indexelement.h:296: virtual outside class declaration
indexelement.h:296: non-member function `hasIndex()' cannot have `const' method
qualifier
indexelement.h: In function `bool hasIndex()':
indexelement.h:296: redefinition of `bool hasIndex()'
indexelement.h:285: `bool hasIndex()' previously defined here
indexelement.h: At top level:
indexelement.h:297: parse error before `}'
indexelement.h:299: parse error before `{'
indexelement.h:302: `FormulaCursor' was not declared in this scope
indexelement.h:302: parse error before `)'
indexelement.h:303: virtual outside class declaration
indexelement.h: In function `void moveToIndex(...)':
indexelement.h:303: redefinition of `void moveToIndex(...)'
indexelement.h:292: `void moveToIndex(...)' previously defined here
indexelement.h: At top level:
indexelement.h:304: `FormulaCursor' was not declared in this scope
indexelement.h:305: virtual outside class declaration
indexelement.h:305: variable or field `setToIndex' declared void
indexelement.h:305: redefinition of `int setToIndex'
indexelement.h:294: `int setToIndex' previously defined here
indexelement.h:305: syntax error before `{'
indexelement.h:307: virtual outside class declaration
indexelement.h:307: non-member function `hasIndex()' cannot have `const' method
qualifier
indexelement.h: In function `bool hasIndex()':
indexelement.h:307: redefinition of `bool hasIndex()'
indexelement.h:296: `bool hasIndex()' previously defined here
indexelement.h: At top level:
indexelement.h:308: parse error before `}'
indexelement.h:310: parse error before `{'
indexelement.h:313: `FormulaCursor' was not declared in this scope
indexelement.h:313: parse error before `)'
indexelement.h:314: virtual outside class declaration
indexelement.h: In function `void moveToIndex(...)':
indexelement.h:314: redefinition of `void moveToIndex(...)'
indexelement.h:303: `void moveToIndex(...)' previously defined here
indexelement.h: At top level:
indexelement.h:315: `FormulaCursor' was not declared in this scope
indexelement.h:316: virtual outside class declaration
indexelement.h:316: variable or field `setToIndex' declared void
indexelement.h:316: redefinition of `int setToIndex'
indexelement.h:305: `int setToIndex' previously defined here
indexelement.h:316: syntax error before `{'
indexelement.h:318: virtual outside class declaration
indexelement.h:318: non-member function `hasIndex()' cannot have `const' method
qualifier
indexelement.h: In function `bool hasIndex()':
indexelement.h:318: redefinition of `bool hasIndex()'
indexelement.h:307: `bool hasIndex()' previously defined here
indexelement.h: At top level:
indexelement.h:319: parse error before `}'
indexelement.h:321: parse error before `{'
indexelement.h:324: `FormulaCursor' was not declared in this scope
indexelement.h:324: parse error before `)'
indexelement.h:325: virtual outside class declaration
indexelement.h: In function `void moveToIndex(...)':
indexelement.h:325: redefinition of `void moveToIndex(...)'
indexelement.h:314: `void moveToIndex(...)' previously defined here
indexelement.h: At top level:
indexelement.h:326: `FormulaCursor' was not declared in this scope
indexelement.h:327: virtual outside class declaration
indexelement.h:327: variable or field `setToIndex' declared void
indexelement.h:327: redefinition of `int setToIndex'
indexelement.h:316: `int setToIndex' previously defined here
indexelement.h:327: syntax error before `{'
indexelement.h:329: virtual outside class declaration
indexelement.h:329: non-member function `hasIndex()' cannot have `const' method
qualifier
indexelement.h: In function `bool hasIndex()':
indexelement.h:329: redefinition of `bool hasIndex()'
indexelement.h:318: `bool hasIndex()' previously defined here
indexelement.h: At top level:
indexelement.h:330: parse error before `}'
indexelement.h:332: parse error before `{'
indexelement.h:335: `FormulaCursor' was not declared in this scope
indexelement.h:335: parse error before `)'
indexelement.h:336: virtual outside class declaration
indexelement.h: In function `void moveToIndex(...)':
indexelement.h:336: redefinition of `void moveToIndex(...)'
indexelement.h:325: `void moveToIndex(...)' previously defined here
indexelement.h: At top level:
indexelement.h:337: `FormulaCursor' was not declared in this scope
indexelement.h:338: virtual outside class declaration
indexelement.h:338: variable or field `setToIndex' declared void
indexelement.h:338: redefinition of `int setToIndex'
indexelement.h:327: `int setToIndex' previously defined here
indexelement.h:338: syntax error before `{'
indexelement.h:340: virtual outside class declaration
indexelement.h:340: non-member function `hasIndex()' cannot have `const' method
qualifier
indexelement.h: In function `bool hasIndex()':
indexelement.h:340: redefinition of `bool hasIndex()'
indexelement.h:329: `bool hasIndex()' previously defined here
indexelement.h: At top level:
indexelement.h:341: parse error before `}'
indexelement.h:352: `BasicElement' was not declared in this scope
indexelement.h:352: `from' was not declared in this scope
indexelement.h:360: `FormulaCursor' was not declared in this scope
indexelement.h:360: variable or field `setToContent' declared void
indexelement.h:365: syntax error before `*'
indexelement.h:372: syntax error before `*'
indexelement.h:373: syntax error before `*'
indexelement.h:374: syntax error before `*'
indexelement.h:375: syntax error before `*'
indexelement.h:376: syntax error before `*'
indexelement.h:377: syntax error before `*'
In file included from formulacursor.cc:26:
rootelement.h:149: syntax error before `('
rootelement.h:159: syntax error before `('
rootelement.h:173: virtual outside class declaration
rootelement.h:179: virtual outside class declaration
rootelement.h:186: virtual outside class declaration
rootelement.h:188: parse error before `private'
rootelement.h:193: `FormulaCursor' was not declared in this scope
rootelement.h:193: parse error before `)'
rootelement.h:194: virtual outside class declaration
rootelement.h: In function `void moveToIndex(...)':
rootelement.h:194: redefinition of `void moveToIndex(...)'
indexelement.h:336: `void moveToIndex(...)' previously defined here
rootelement.h: At top level:
rootelement.h:195: `FormulaCursor' was not declared in this scope
rootelement.h:196: virtual outside class declaration
rootelement.h:196: variable or field `setToIndex' declared void
rootelement.h:196: redefinition of `int setToIndex'
indexelement.h:338: `int setToIndex' previously defined here
rootelement.h:196: syntax error before `{'
rootelement.h:198: virtual outside class declaration
rootelement.h:198: non-member function `hasIndex()' cannot have `const' method qualifier
rootelement.h: In function `bool hasIndex()':
rootelement.h:198: redefinition of `bool hasIndex()'
indexelement.h:340: `bool hasIndex()' previously defined here
rootelement.h: At top level:
rootelement.h:199: syntax error before `*'
rootelement.h:208: syntax error before `*'
rootelement.h:213: syntax error before `*'
rootelement.h:219: parse error before `}'
In file included from formulacursor.cc:28:
symbolelement.h:194: syntax error before `('
symbolelement.h: In method `bool KFormula::SymbolElement::hasUpper() const':
symbolelement.h:180: `upper' undeclared (first use this function)
symbolelement.h: In method `bool KFormula::SymbolElement::hasLower() const':
symbolelement.h:181: `lower' undeclared (first use this function)
symbolelement.h: At top level:
symbolelement.h:195: syntax error before `('
symbolelement.h:205: virtual outside class declaration
symbolelement.h:207: parse error before `protected'
symbolelement.h:219: virtual outside class declaration
symbolelement.h:225: virtual outside class declaration
symbolelement.h:232: virtual outside class declaration
symbolelement.h:234: parse error before `private'
symbolelement.h:242: syntax error before `*'
symbolelement.h:249: parse error before `{'
symbolelement.h:252: `FormulaCursor' was not declared in this scope
symbolelement.h:252: parse error before `)'
symbolelement.h:253: virtual outside class declaration
symbolelement.h: In function `void moveToIndex(...)':
symbolelement.h:253: redefinition of `void moveToIndex(...)'
rootelement.h:194: `void moveToIndex(...)' previously defined here
symbolelement.h: At top level:
symbolelement.h:254: `FormulaCursor' was not declared in this scope
symbolelement.h:255: virtual outside class declaration
symbolelement.h:255: variable or field `setToIndex' declared void
symbolelement.h:255: redefinition of `int setToIndex'
rootelement.h:196: `int setToIndex' previously defined here
symbolelement.h:255: syntax error before `{'
symbolelement.h:257: virtual outside class declaration
symbolelement.h:257: non-member function `hasIndex()' cannot have `const' method qualifier
symbolelement.h: In function `bool hasIndex()':
symbolelement.h:257: redefinition of `bool hasIndex()'
rootelement.h:198: `bool hasIndex()' previously defined here
symbolelement.h: At top level:
symbolelement.h:258: parse error before `}'
symbolelement.h:260: parse error before `{'
symbolelement.h:263: `FormulaCursor' was not declared in this scope
symbolelement.h:263: parse error before `)'
symbolelement.h:264: virtual outside class declaration
symbolelement.h: In function `void moveToIndex(...)':
symbolelement.h:264: redefinition of `void moveToIndex(...)'
symbolelement.h:253: `void moveToIndex(...)' previously defined here
symbolelement.h: At top level:
symbolelement.h:265: `FormulaCursor' was not declared in this scope
symbolelement.h:266: virtual outside class declaration
symbolelement.h:266: variable or field `setToIndex' declared void
symbolelement.h:266: redefinition of `int setToIndex'
symbolelement.h:255: `int setToIndex' previously defined here
symbolelement.h:266: syntax error before `{'
symbolelement.h:268: virtual outside class declaration
symbolelement.h:268: non-member function `hasIndex()' cannot have `const' method qualifier
symbolelement.h: In function `bool hasIndex()':
symbolelement.h:268: redefinition of `bool hasIndex()'
symbolelement.h:257: `bool hasIndex()' previously defined here
symbolelement.h: At top level:
symbolelement.h:269: parse error before `}'
symbolelement.h:272: `FormulaCursor' was not declared in this scope
symbolelement.h:272: variable or field `setToContent' declared void
symbolelement.h:272: redefinition of `int setToContent'
indexelement.h:360: `int setToContent' previously defined here
symbolelement.h:274: syntax error before `*'
symbolelement.h:275: syntax error before `*'
symbolelement.h:276: syntax error before `*'
symbolelement.h:281: syntax error before `;'
gmake[4]: *** [formulacursor.lo] Error 1
gmake[4]: Leaving directory `/src/work/pkgsrc/misc/koffice/work/koffice-1.1/lib/kformula'
>Fix:
Don't know.
cheers
mark
>Release-Note:
>Audit-Trail:
>Unformatted: