Bug 222139

Summary: build fails - cannot find include file kget_export.h
Product: [Applications] kget Reporter: tropikhajma <tropikhajma>
Component: torrentAssignee: KGet authors <kget>
Status: RESOLVED FIXED    
Severity: normal CC: bigras.bruno, mat69
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Solaris   
Latest Commit: Version Fixed In:

Description tropikhajma 2010-01-10 23:13:06 UTC
Version:           4.3.90 (using Devel)
Compiler:          Sun Studio 12 U1 
OS:                Solaris
Installed from:    Compiled sources

building kdenetwork 4.3.90 on OpenSolaris with SunStudio 12u1 fails with the below messages.
It was working fine in 4.3.85


[  8%] Building CXX object kget/transfer-plugins/bittorrent/CMakeFiles/kcm_kget_bittorrentfactory.dir/btsettingswidget.o
cd /home/test/packages/BUILD/kdenetwork-4.3.90/build-kdenetwork-4.3.90/kget/transfer-plugins/bittorrent && /export/home/test/compilers/branches/ceres/buildarea/100101/output/intel-S2/pseudoinst/opt/SUNWspro/bin/CC  -library=no%Cstd -library=Crun -xannotate=no  -DMAKE_KCM_KGET_BITTORRENTFACTORY_LIB -DQT_NO_STL -DQT_NO_CAST_TO_ASCII -D_REENTRANT -DKDE_DEPRECATED_WARNINGS -DKDE_DEFAULT_DEBUG_AREA=5001 -DHAVE_NEPOMUK -DHAVE_QCA2 -DHAVE_QGPGME -DENABLE_EMBEDDED_TORRENT_SUPPORT -D__EXTENSIONS__ -DSOLARIS -D_REENTRANT -D__EXTENSIONS__ -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS -DSOLARIS10 -DNDEBUG -DNO_DEBUG -D_UNICODE -DUNICODE -D_RWSTD_REENTRANT  -D_XOPEN_SOURCE=500 -D_XPG5  -I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -I/opt/foss/include -I/usr/include/stdcxx4/ansi -I/usr/include/stdcxx4 -library=no%Cstd -library=Crun -features=anachronisms,except,rtti,export,extensions,nestedaccess,tmplife,tmplrefstatic -instances=global -template=geninlinefuncs -s -xlang=c99 -xalias_level=compatible -xustr=ascii_utf16_ushort -Qoption ccfe -features=gcc -Qoption ccfe -features=zla -Qoption ccfe ++boolflag:sunwcch=false -mt -xF=%none -xbuiltin=%all -xinline=%auto -xprefetch=auto -xprefetch_auto_type=indirect_array_access -xprefetch_level=3 -xalias_level=compatible -KPIC -DPIC -xipo=0 -xO3 -xregs=no%frameptr -xjobs=2 -xrestrict=%all -xthreadvar=%all -z combreloc -z redlocsym -z nodefaultlib -z ignore -z now -z rescan -z absexec -xldscope=symbolic -xlibmil -s -xtarget=pentium4 -m32 -xarch=sse2 -xchip=pentium4 -xcache=8/64/4:256/128/8 -lc -lm -ldl -lpthread -lposix4 -lrt -mt -L/opt/foss/lib -R/opt/foss/lib -L/usr/lib -R/usr/lib -Y P,/opt/foss/lib -i -L/opt/foss/lib -R/opt/foss/lib -L/usr/lib -R/usr/lib -Bdynamic -lstdcxx4 -lCrun -lc -lm -xannotate=no -Usun    -DQT_NO_DEBUG -KPIC -I/home/test/packages/BUILD/kdenetwork-4.3.90/build-kdenetwork-4.3.90/kget/transfer-plugins/bittorrent -I/home/test/packages/BUILD/kdenetwork-4.3.90/kget/transfer-plugins/bittorrent -I/home/test/packages/BUILD/kdenetwork-4.3.90 -I/home/test/packages/BUILD/kdenetwork-4.3.90/build-kdenetwork-4.3.90 -I/opt/kde4/include -I/opt/kde4/include/KDE -I/opt/foss/include/KDE -I/opt/foss/include -I/opt/foss/qt4/include/phonon -I/opt/foss/qt4/include/QtXmlPatterns -I/opt/foss/qt4/include/QtXml -I/opt/foss/qt4/include/QtWebKit -I/opt/foss/qt4/include/QtUiTools -I/opt/foss/qt4/include/QtTest -I/opt/foss/qt4/include/QtSvg -I/opt/foss/qt4/include/QtSql -I/opt/foss/qt4/include/QtScriptTools -I/opt/foss/qt4/include/QtScript -I/opt/foss/qt4/include/QtOpenGL -I/opt/foss/qt4/include/QtNetwork -I/opt/foss/qt4/include/QtMultimedia -I/opt/foss/qt4/include/QtHelp -I/opt/foss/qt4/include/QtDesigner -I/opt/foss/qt4/include/QtDBus -I/opt/foss/qt4/include/QtAssistant -I/opt/foss/qt4/include/Qt3Support -I/opt/foss/qt4/include/QtGui -I/opt/foss/qt4/include/QtCore -I/opt/foss/qt4/include/Qt -I/opt/foss/qt4/share/mkspecs/default -I/opt/foss/qt4/include -I/usr/X11/include -I/opt/foss/include/QtCrypto -I/opt/foss/include/boost-1_36    -D_LARGEFILE64_SOURCE -o CMakeFiles/kcm_kget_bittorrentfactory.dir/btsettingswidget.o -c /home/test/packages/BUILD/kdenetwork-4.3.90/kget/transfer-plugins/bittorrent/btsettingswidget.cpp
"/home/test/packages/BUILD/kdenetwork-4.3.90/kget/transfer-plugins/bittorrent/btsettingswidget.cpp", line 12: Error: Could not open include file "kget_export.h".
Comment 1 Bruno Bigras 2010-01-13 15:50:35 UTC
I just had this problem. It fails to build if you don't have gmp or qca2.

Both libs are required for torrent support in kget.

But since gmp is optional it shouldn't break the build. I'm looking at tit.
Comment 2 Bruno Bigras 2010-01-13 15:52:28 UTC
at *it

hehe
Comment 3 Bruno Bigras 2010-01-13 17:08:05 UTC
SVN commit 1074181 by bbigras:

Fix kget's build if GMP or QCA2 is not installed

BUG: 222139
CCMAIL: mat69@gmx.net

 M  +4 -2      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1074181
Comment 4 Bruno Bigras 2010-01-13 19:07:56 UTC
SVN commit 1074247 by bbigras:

Revert "Fix kget's build if GMP or QCA2 is not installed" since nested parentheses are not supported in cmake 2.6.2

CCBUG: 222139
CCMAIL: mat69@gmx.net

 M  +2 -4      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1074247
Comment 5 Bruno Bigras 2010-01-13 20:51:47 UTC
SVN commit 1074283 by bbigras:

second try at 'Fix kget's build if GMP or QCA2 is not installed' this time without nested parenthese

CCBUG: 222139
CCMAIL: mat69@gmx.net

 M  +5 -7      CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1074283
Comment 6 Matthias Fuchs 2010-01-13 22:30:03 UTC
@tropikhajma can you please try if it works for you now and if it does not work please change
#include "kde_export.h"
in
kget/transfer-plugins/bittorrent/btsettingswidget.cpp
to
#include "../../kde_export.h"
and report back if that makes it work.