Bug 288085 - problem compiling Kexi: KexiContextMessage
Summary: problem compiling Kexi: KexiContextMessage
Status: CLOSED FIXED
Alias: None
Product: KEXI
Classification: Applications
Component: General (show other bugs)
Version: 2.4 beta3 (Calligra 2.4 beta3)
Platform: Compiled Sources OpenBSD
: NOR major
Target Milestone: ---
Assignee: Jarosław Staniek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-02 20:41 UTC by Amit Kulkarni
Modified: 2012-01-31 22:21 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Amit Kulkarni 2011-12-02 20:41:29 UTC
Version:           2.4 beta3 (Calligra 2.4 beta3) (using Devel) 
OS:                OpenBSD

Hi,

I downloaded
ftp://ftp.kde.org/pub/kde/unstable/calligra-latest/calligra-2.3.84.tar.bz2

and trying to compile calligra, I get this error...
for OpenBSD amd64 64 bits using gcc 4.2.1 (system compiler)

[ 19%] Building CXX object kexi/kexiutils/CMakeFiles/kexiutils.dir/KexiContextMessage.o
cd /home/amit/obsd/ports/pobj/calligra4-2.3.84/build-amd64/kexi/kexiutils && /usr/ports/pobj/calligra4-2.3.84/bin/c++ -DMAKE_KEXIUTILS_LIB -DSHOULD_BUILD_RDF -DCAN_USE_MARBLE -DDISABLE_NEPOMUK_LEGACY -D_GNU_SOURCE -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE4_CMAKE_TOPLEVEL_DIR_LENGTH=32 -DSHOULD_BUILD_FONT_CONVERSION -DCAN_USE_QTWEBKIT -DKEXI_NO_UNFINISHED -DKEXI_NO_CURSOR_PROPERTY -DKEXI_NO_CTXT_HELP -DKEXI_NO_SUBFORM -DKEXI_DB_COMBOBOX_WIDGET -DDB_TEMPLATES -DKEXI_SCRIPTS_SUPPORT -DKEXI_NO_QUICK_PRINTING -DKEXI_NO_AUTOFIELD_WIDGET -DKEXI_NO_FORM_LAYOUTS -DKEXI_NO_FORM_SPRING_ELEMENT -DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS -DKDE_DEFAULT_DEBUG_AREA=44024 -O2 -pipe -Woverloaded-virtual -fvisibility=hidden -Werror=return-type -fvisibility-inlines-hidden -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -I/home/amit/obsd/ports/pobj/calligra4-2.3.84/build-amd64/kexi/kexiutils -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/kexi/kexiutils -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84 -I/home/amit/obsd/ports/pobj/calligra4-2.3.84/build-amd64 -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/interfaces -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/kexi -I/home/amit/obsd/ports/pobj/calligra4-2.3.84/build-amd64/kexi -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/kotext -I/home/amit/obsd/ports/pobj/calligra4-2.3.84/build-amd64/libs/kotext -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/kotext/changetracker -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/kotext/styles -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/kotext/opendocument -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/flake -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/odf -I/home/amit/obsd/ports/pobj/calligra4-2.3.84/build-amd64/libs/odf -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/koplugin -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/pigment -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/pigment/compositeops -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/pigment/resources -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/kundo2 -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/flake/commands -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/flake/tools -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/flake/svg -I/home/amit/obsd/ports/pobj/calligra4-2.3.84/build-amd64/libs/flake -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/main -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/textlayout -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/widgets -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/main/rdf -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs/main/config -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/libs -I/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/kexi/kexiutils/completer -I/usr/local/include -I/usr/local/include/KDE -I/usr/local/include/X11/qt4/QtDesigner -I/usr/local/include/X11/qt4/QtDeclarative -I/usr/local/include/X11/qt4/QtScriptTools -I/usr/local/include/X11/qt4/QtDBus -I/usr/local/include/X11/qt4/QtXml -I/usr/local/include/X11/qt4/QtSql -I/usr/local/include/X11/qt4/QtOpenGL -I/usr/local/include/X11/qt4/QtMultimedia -I/usr/local/include/X11/qt4/QtNetwork -I/usr/local/include/X11/qt4/phonon -I/usr/local/include/X11/qt4/QtXmlPatterns -I/usr/local/include/X11/qt4/QtWebKit -I/usr/local/include/X11/qt4/QtHelp -I/usr/local/include/X11/qt4/QtUiTools -I/usr/local/include/X11/qt4/QtTest -I/usr/local/include/X11/qt4/QtScript -I/usr/local/include/X11/qt4/QtSvg -I/usr/local/include/X11/qt4/Qt3Support -I/usr/local/include/X11/qt4/QtGui -I/usr/local/include/X11/qt4/QtCore -I/usr/local/lib/qt4/mkspecs/default -I/usr/local/include/X11/qt4 -I/usr/X11R6/include -I/usr/local/include/marble -o CMakeFiles/kexiutils.dir/KexiContextMessage.o -c /usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/kexi/kexiutils/KexiContextMessage.cpp


/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/kexi/kexiutils/KexiContextMessage.cpp: In constructor 'KexiContextMessageWidget::KexiContextMessageWidget(QFormLayout*, QWidget*, const QString&)':
/usr/ports/pobj/calligra4-2.3.84/calligra-2.3.84/kexi/kexiutils/KexiContextMessage.cpp:153: error: no matching function for call to 'KexiContextMessage::KexiContextMessage(KexiContextMessage)'
*** Error code 1



Stop in /home/amit/obsd/ports/pobj/calligra4-2.3.84/build-amd64 (line 330 of kexi/kexiutils/CMakeFiles/kexiutils.dir/build.make).

can somebody help to fix this?

thanks

Reproducible: Always

Steps to Reproduce:
try to compile.


Expected Results:  
should compile.
Comment 1 Jarosław Staniek 2011-12-02 22:03:47 UTC
Git commit 30f0df65a65cfe6b4cf2d4d058187eaa720b1b86 by Jaroslaw Staniek.
Committed on 02/12/2011 at 22:08.
Pushed by staniek into branch 'master'.

General: fix build with gcc 4.2.1 under OpenBSD
BUG:288085

M  +2    -1    kexi/kexiutils/KexiContextMessage.cpp

http://commits.kde.org/calligra/30f0df65a65cfe6b4cf2d4d058187eaa720b1b86
Comment 2 Jarosław Staniek 2011-12-02 22:04:43 UTC
Thanks for the report, Amit!