Bug 151972 - editors/koffice-kde4 (KOffice 2.2.2_1) build error in ports
Summary: editors/koffice-kde4 (KOffice 2.2.2_1) build error in ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-kde (group)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-05 22:30 UTC by Michiel Leenaars
Modified: 2010-11-07 19:50 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel Leenaars 2010-11-05 22:30:10 UTC
koffice-kde4 2.2.2_1 build fails during compilation of KSpread

[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/NamedAreaDialog.o
[ 51%] Building CXX object plugins/textshape/CMakeFiles/textshape.dir/dialogs/CharacterGeneral.o
[ 51%] Building CXX object filters/kword/kword1.3/import/CMakeFiles/kwordkword1dot3import.dir/kword13postparsing.o
Linking CXX shared module ../../../../lib/libkwordkword1dot3import.so
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/PasteInsertDialog.o
[ 51%] Built target kwordkword1dot3import
[ 51%] Building CXX object plugins/textshape/CMakeFiles/textshape.dir/dialogs/LanguageTab.o
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/Resize2Dialog.o
Linking CXX shared library ../../lib/libkritaimage.so
Scanning dependencies of target palmdocimport
[ 51%] Building CXX object filters/kword/palmdoc/CMakeFiles/palmdocimport.dir/palmdocimport_automoc.o
[ 51%] Building CXX object filters/kword/palmdoc/CMakeFiles/palmdocimport.dir/palmdocimport.o
Scanning dependencies of target wpimport
[ 51%] Building CXX object filters/kword/wordperfect/import/CMakeFiles/wpimport.dir/wpimport_automoc.o
[ 51%] Building CXX object filters/kword/wordperfect/import/CMakeFiles/wpimport.dir/wpimport.o
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdocimport.cc: In member function 'virtual KoFilter::ConversionStatus PalmDocImport::convert(const QByteArray&, const QByteArray&)':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdocimport.cc:65: warning: 'utf8' is deprecated (declared at /usr/local/include/qt4/QtCore/qstring.h:501)
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdocimport.cc:81: warning: 'utf8' is deprecated (declared at /usr/local/include/qt4/QtCore/qstring.h:501)
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdocimport.cc: In member function 'QString PalmDocImport::processPlainParagraph(const QString&)':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdocimport.cc:100: warning: 'pointSizeFloat' is deprecated (declared at /usr/local/include/qt4/QtGui/qfont.h:272)
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdocimport.cc: In member function 'QString PalmDocImport::processPlainDocument(const QString&)':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdocimport.cc:152: warning: 'split' is deprecated (declared at /usr/local/include/qt4/QtCore/qstringlist.h:223)
Linking CXX shared module ../../lib/textshape.so
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/wordperfect/import/wpimport.cc: In member function 'virtual KoFilter::ConversionStatus WPImport::convert(const QByteArray&, const QByteArray&)':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/wordperfect/import/wpimport.cc:306: warning: 'utf8' is deprecated (declared at /usr/local/include/qt4/QtCore/qstring.h:501)
[ 51%] Building CXX object filters/kword/palmdoc/CMakeFiles/palmdocimport.dir/palmdb.o
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdb.cpp:185:3: warning: #warning "kde4 port it"
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/SeriesDialog.o
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdb.cpp: In member function 'virtual bool PalmDB::load(const char*)':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdb.cpp:183: warning: 'at' is deprecated (declared at /usr/local/include/qt4/QtCore/qiodevice.h:194)
Linking CXX shared module ../../../../lib/libwpimport.so
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/ShowDialog.o
[ 51%] Built target wpimport
[ 51%] Building CXX object filters/kword/palmdoc/CMakeFiles/palmdocimport.dir/palmdoc.o
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/ShowColRowDialog.o
[ 51%] Built target kritaimage
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/SortDialog.o
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdoc.cpp: In member function 'virtual bool PalmDoc::save(const char*)':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdoc.cpp:136: warning: '__comp_ctor ' is deprecated (declared at /usr/local/include/qt4/QtCore/qbytearray.h:431)
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdoc.cpp: In member function 'QString PalmDoc::uncompress(const QByteArray&)':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kword/palmdoc/palmdoc.cpp:250: warning: comparison is always true due to limited range of data type
[ 51%] Built target textshape
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/ValidityDialog.o
Linking CXX shared module ../../../lib/libpalmdocimport.so
[ 51%] Built target palmdocimport
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/functions/helper.o
Scanning dependencies of target powerpointimport
[ 51%] Building CXX object filters/kpresenter/powerpoint/CMakeFiles/powerpointimport.dir/powerpointimport_automoc.o
[ 51%] Building CXX object filters/kpresenter/powerpoint/CMakeFiles/powerpointimport.dir/PowerPointImport.o
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/interfaces/MapAdaptor.o
Scanning dependencies of target Filterkpr2odf
[ 51%] Building CXX object filters/kpresenter/kpr2odf/CMakeFiles/Filterkpr2odf.dir/Filterkpr2odf_automoc.o
[ 51%] Building CXX object filters/kpresenter/kpr2odf/CMakeFiles/Filterkpr2odf.dir/Filterkpr2odf.o
Scanning dependencies of target applixspreadimport
[ 51%] Building CXX object filters/kspread/applixspread/CMakeFiles/applixspreadimport.dir/applixspreadimport_automoc.o
[ 51%] Building CXX object filters/kspread/applixspread/CMakeFiles/applixspreadimport.dir/applixspreadimport.o
Scanning dependencies of target dbaseimport
[ 51%] Building CXX object filters/kspread/dbase/CMakeFiles/dbaseimport.dir/dbaseimport_automoc.o
[ 51%] Building CXX object filters/kspread/dbase/CMakeFiles/dbaseimport.dir/dbaseimport.o
[ 51%] Building CXX object filters/kspread/dbase/CMakeFiles/dbaseimport.dir/dbase.o
Linking CXX shared module ../../../lib/libpowerpointimport.so
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/interfaces/ReadOnlyRegionModel.o
[ 51%] Built target powerpointimport
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/interfaces/ReadOnlyTableModel.o
Linking CXX shared module ../../../lib/libdbaseimport.so
Scanning dependencies of target kspreadhtmlimport
[ 51%] Building CXX object filters/kspread/html/CMakeFiles/kspreadhtmlimport.dir/kspreadhtmlimport_automoc.o
[ 51%] Generating latexexportdia.h
[ 51%] Building CXX object filters/kspread/html/CMakeFiles/kspreadhtmlimport.dir/htmlimport.o
[ 51%] Built target dbaseimport
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/interfaces/ReadWriteTableModel.o
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/interfaces/SheetAdaptor.o
Scanning dependencies of target wpgimport
[ 51%] Building CXX object filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/wpgimport_automoc.o
[ 51%] Building CXX object filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/WPGImport.o
[ 51%] Generating latexexportdia.cpp
Linking CXX shared module ../../../lib/libkspreadhtmlimport.so
[ 51%] Built target kspreadhtmlimport
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/interfaces/ViewAdaptor.o
[ 51%] Generating latexexportdia.moc.cpp
[ 51%] Building CXX object filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/OdgExporter.o
Linking CXX shared module ../../../lib/libapplixspreadimport.so
[ 51%] Built target applixspreadimport
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/Canvas.o
[ 51%] Building CXX object filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/FileOutputHandler.o
Scanning dependencies of target kspreadlatexexport
[ 51%] Building CXX object filters/kspread/latex/export/CMakeFiles/kspreadlatexexport.dir/kspreadlatexexport_automoc.o
[ 51%] Building CXX object filters/kspread/latex/export/CMakeFiles/kspreadlatexexport.dir/cell.o
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/CellTool.o
In file included from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/xmlparser.h:27,
                 from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/format.h:29,
                 from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.h:29,
                 from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.cc:24:
/usr/local/include/qdom.h:97: error: function definition does not declare parameters
/usr/local/include/qdom.h:122: error: function definition does not declare parameters
/usr/local/include/qdom.h:232: error: function definition does not declare parameters
/usr/local/include/qdom.h:258: error: function definition does not declare parameters
/usr/local/include/qdom.h:286: error: function definition does not declare parameters
/usr/local/include/qdom.h:345: error: function definition does not declare parameters
/usr/local/include/qdom.h:380: error: function definition does not declare parameters
/usr/local/include/qdom.h:399: error: function definition does not declare parameters
/usr/local/include/qdom.h:434: error: function definition does not declare parameters
/usr/local/include/qdom.h:463: error: function definition does not declare parameters
/usr/local/include/qdom.h:518: error: function definition does not declare parameters
/usr/local/include/qdom.h:541: error: function definition does not declare parameters
/usr/local/include/qdom.h:560: error: function definition does not declare parameters
/usr/local/include/qdom.h:579: error: function definition does not declare parameters
/usr/local/include/qdom.h:602: error: function definition does not declare parameters
/usr/local/include/qdom.h:625: error: function definition does not declare parameters
/usr/local/include/qdom.h:644: error: function definition does not declare parameters
/usr/local/include/qdom.h:671: error: expected initializer before '&' token
In file included from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/format.h:29,
                 from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.h:29,
                 from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.cc:24:
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/xmlparser.h:38: error: field '_document' has incomplete type
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/xmlparser.h: In member function 'QString XmlParser::getDocument() const':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/xmlparser.h:60: error: '_document' was not declared in this scope
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/xmlparser.h: In member function 'QDomNode XmlParser::init()':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/xmlparser.h:86: error: return type 'struct QDomNode' is incomplete
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/xmlparser.h:87: error: '_document' was not declared in this scope
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.cc: In member function 'virtual void Cell::analyze(QDomNode)':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.cc:49: error: 'node' has incomplete type
/usr/local/include/qdom.h:92: error: forward declaration of 'const struct QDomNode'
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.cc: In member function 'void Cell::analyzeText(QDomNode)':
/usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.cc:58: error: 'node' has incomplete type
/usr/local/include/qdom.h:92: error: forward declaration of 'const struct QDomNode'
*** Error code 1
1 error
*** Error code 2
[ 51%] Building CXX object filters/karbon/wpg/import/CMakeFiles/wpgimport.dir/GraphicsElement.o
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/CellToolFactory.o
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/Digest.o
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/Factory.o
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/Doc.o
Linking CXX shared module ../../../../lib/libwpgimport.so
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/Headers.o
[ 51%] Built target wpgimport
[ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/PrintManager.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/ToolRegistry.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/TabBar.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/commands/DefinePrintRangeCommand.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/commands/PageLayoutCommand.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/AbstractSelectionStrategy.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/AutoFillStrategy.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/CellToolBase_p.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/CellView.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/DragAndDropStrategy.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/Editors.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/HyperlinkStrategy.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/MergeStrategy.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/PasteStrategy.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/SelectionStrategy.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/SheetView.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/CharSelectDia.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/chart/ChartDatabaseSelector.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/LayoutDialog.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/StyleManagerDialog.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/SpecialPasteDialog.o
Linking CXX shared module ../../../lib/libFilterkpr2odf.so
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/dialogs/SubtotalDialog.o
[ 52%] Built target Filterkpr2odf
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/ui/CellToolBase.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/PrintJob.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/dialogs/SheetSelectPage.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/View.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/dialogs/SheetPropertiesDialog.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/dialogs/PageLayoutDialog.o
[ 52%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/dialogs/PreferenceDialog.o
Linking CXX shared library ../lib/libkspreadcommon.so
[ 52%] Built target kspreadcommon
1 error
*** Error code 2
1 error
*** Error code 1

Stop in /usr/ports/editors/koffice-kde4.
*** Error code 1

Fix: 

No fix yet, I'm sorry.
How-To-Repeat: 
This is a one month fresh install of FreeBSD 8.1, and it has no special characteristics I am aware of.
Comment 1 Dima Panov 2010-11-06 10:18:28 UTC
Hello!

03.11.10, 09:03, michiel.ml@nlnet.nl:

> 
>  >Number:         151972
>  >Category:       ports
>  >Synopsis:       koffice-kde4 (KOffice 2.2.2_1) build error in ports
>  
>  	
>  >Description:
>  
>  koffice-kde4 2.2.2_1 build fails during compilation of KSpread
>  
>  [ 51%] Building CXX object kspread/CMakeFiles/kspreadcommon.dir/part/CellTool.o
>  In file included from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/xmlparser.h:27,
>                   from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/format.h:29,
>                   from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.h:29,
>                   from /usr/ports/editors/koffice-kde4/work/koffice-2.2.2/filters/kspread/latex/export/cell.cc:24:
>  /usr/local/include/qdom.h:97: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:122: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:232: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:258: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:286: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:345: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:380: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:399: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:434: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:463: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:518: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:541: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:560: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:579: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:602: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:625: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:644: error: function definition does not declare parameters
>  /usr/local/include/qdom.h:671: error: expected initializer before '&' token
>  >How-To-Repeat:
>  
>  This is a one month fresh install of FreeBSD 8.1, and it has no special characteristics I am aware of. 
>  
>  >Fix:
>  
>  No fix yet, I'm sorry.
>  

Your installation messed up with qt3 package
Try to deinstall qt3 first.


-- 
Dima Panov 
KDE@FreeBSD team

ñ ÎÁ Facebook: http://www.facebook.com/?id=100000181104157
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2010-11-07 08:42:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->kde

Fix synopsis and assign.
Comment 3 dfilter service freebsd_committer freebsd_triage 2010-11-07 19:41:22 UTC
makc        2010-11-07 19:41:15 UTC

  FreeBSD ports repository

  Modified files:
    editors/koffice-kde4 Makefile 
  Log:
  Mark INGNORE if qt-3.x is detected.
  
  PR:             ports/151972
  Reported by:    michiel.ml at nlnet.nl
  
  Revision  Changes    Path
  1.136     +4 -0      ports/editors/koffice-kde4/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Max Brazhnikov freebsd_committer freebsd_triage 2010-11-07 19:44:10 UTC
State Changed
From-To: open->closed

The port is marked as IGNORE, if qt-3 is installed. Thanks for report!