trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: June 2014

Re: [trinity-devel] tdebase build - heavy ram requirement

From: Michael Howard <mike@...>
Date: Sun, 15 Jun 2014 13:38:53 +0100
On 15/06/2014 13:35, Sl√°vek Banko wrote:
> On Sunday 15 of June 2014 14:14:02 Michael Howard wrote:
>> On 15/06/2014 11:32, Michael Howard wrote:
>>> On 15/06/2014 03:40, Michele Calgaro wrote:
>>>> My computer has only 4 GB of RAM and when I build (amd64) I usually
>>>> have firefox and google chrome open at the same time, plus I am
>>>> usually either straming music with Amarok or watching some MOOC videos.
>>>> My swap memory is hardly used, just occasionaly.
>>>>
>>>> So perhaps there is something else going on, Michael.
>> Well, the plot thickens. I'm now pretty much sure that the memory
>> problem is specific to one device, however, tdebase still fails to build
>> armhf here.
>>
>> Obviously it builds on the Trinity build systems, it builds for Slavek
>> but for me, 'k_new_mnu.cpp' is failing.
>>
>> The output leading up to the failure;
>>
>> [ 86%] Building CXX object
>> kdesktop/CMakeFiles/tdeinit_kdesktop-shared.dir/krootwm.cc.o
>> cd /root/tdebase-trinity-14.0.0-r1611/obj-arm-linux-gnueabihf/kdesktop
>> && /usr/bin/g++   -Dtdeinit_kdesktop_shared_EXPORTS -DHAVE_CONFIG_H
>> -DSMB_CTX_FLAG_USE_KERBEROS -DSMB_CTX_FLAG_FALLBACK_AFTER_KERBEROS -g
>> -Wall  -D_FORTIFY_SOURCE=2 -fvisibility=hidden
>> -fvisibility-inlines-hidden  -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE
>> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT
>> -D_REENTRANT -include tqt.h -I/usr/include/tqt3 -I/usr/include/tqt
>> -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
>> -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
>> -DNDEBUG -fPIC
>> -I/root/tdebase-trinity-14.0.0-r1611/obj-arm-linux-gnueabihf/kdesktop
>> -I/root/tdebase-trinity-14.0.0-r1611/kdesktop
>> -I/root/tdebase-trinity-14.0.0-r1611/obj-arm-linux-gnueabihf
>> -I/root/tdebase-trinity-14.0.0-r1611/tdmlib
>> -I/root/tdebase-trinity-14.0.0-r1611/kcontrol/background
>> -I/root/tdebase-trinity-14.0.0-r1611/libkonq -I/opt/trinity/include
>> -I/usr/include/tqt3 -I/usr/include/tqt -I/usr/include/dbus-1.0
>> -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include
>> -I/usr/include/dbus-1-tqt    -o
>> CMakeFiles/tdeinit_kdesktop-shared.dir/krootwm.cc.o -c
>> /root/tdebase-trinity-14.0.0-r1611/kdesktop/krootwm.cc
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp: In
>> member function void KMenu::fillMenu(KServiceGroup::Ptr&,
>> KServiceGroup::List&, const TQString&, ItemView*, int&):
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:1049:10:
>> warning: variable separatorNeeded set but not used
>> [-Wunused-but-set-variable]
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp: In
>> member function void KMenu::insertStaticItems():
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:1439:35:
>> error: picturesPath is not a member of TDEGlobalSettings
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:1441:33:
>> error: picturesPath is not a member of√ĘTDEGlobalSettings
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:1448:35:
>> error: musicPath is not a member of TDEGlobalSettings
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:1450:30:
>> error: musicPath is not a member of TDEGlobalSettings
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:1457:35:
>> error: videosPath is not a member of TDEGlobalSettings
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:1459:31:
>> error: videosPath is not a member of TDEGlobalSettings
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:1466:35:
>> error: downloadPath is not a member of TDEGlobalSettings
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:1468:33:
>> error: downloadPat is not a member of TDEGlobalSettings
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_mnu.cpp: In
>> destructor virtual PanelKMenu::~PanelKMenu():
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_mnu.cpp:104:12:
>> warning: deleting object of polymorphic class type KBookmarkOwner which
>> has non-virtual destructor might cause undefined behaviour
>> [-Wdelete-non-virtual-dtor]
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp: In
>> member function void KMenu::updateMedia():
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:3560:14:
>> warning: unused variable mountable [-Wunused-variable]
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:3576:14:
>> warning: unused variable encrypted [-Wunused-variable]
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:3580:14:
>> warning: unused variable hidden [-Wunused-variable]
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp: At
>> global scope:
>> /root/tdebase-trinity-14.0.0-r1611/kicker/kicker/ui/k_new_mnu.cpp:174:12:
>> warning: int used_size(TQLabel*, int) defined but not used
>> [-Wunused-function] make[3]: ***
>> [kicker/kicker/ui/CMakeFiles/kicker_ui-static.dir/k_new_mnu.cpp.o] Error 1
>> make[3]: *** Waiting for unfinished jobs....
>>
>> There must be something else earlier .....
>>
>> Cheers,
>> Mike.
> I think it has to do with commit 57232200 (tdebase), which requires updated
> tdelibs - which include commit 4ca47910.
>
Ok, thanks.

--