Ok
This is for prosperity. And a question (below)
Now I understand why a build can break from one compilation to the next.
When you run emerge and it encounters a gitHEAD in package.py it will first
do a fetch on that package.
If there are any upstream changes (in my case kdelibs 4.13 was merged into
the current master) then those changes are brought into your build tree
So irrespective of the kde branch you choose to compile, you get a mixture
of all sorts of branches!!!!
Thus a poor unsophisticated soul like myself can end up totally confused.
What compiled yesterday now fails in unexpected ways. (I now realise why I
had so many issues the first time I went through this heartache 2 years ago,
at that time I gave up)
Now before I try to resolve this problem in some sneaky underhanded way.
This problem MUST be a common issue.
Q/ What is the official way of dealing with this issue?
This look likes an attempt at a fix... "set EMERGE_DEFAULTCATEGORY=kde-4.10"
but either doesnt work or at least doesnt in my case
DazedandConfused
DC
On 3/03/2014 4:32 PM, Chris wrote:
I'll assume as I have had no response that this is an unusual situation.
I'll blow away the entire setup and start again.
DC
On 2/03/2014 2:43 PM, Chris wrote:
With respect to libattica I unmerged attica and rebuilt it. Still kdelib
fails to find it.
libattica.dll.a does exist and in the right location, so I am not sure
why kdelib cant find it. It built with no problems previously going to
emerge master and back again seems to have cause the issue.
DC
On 2/03/2014 11:38 AM, Chris wrote:
Hi Nicolas
The first issue is a large number of warnings all centred around
mymoneymoney.h
q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:308: warning:
'MyMoneyMoney::MyMoneyMoney(const MyMoneyMoney&)' redeclared without
dllimport attribute after being referenced with dll linkage
Again at...
q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:313:
q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:318:
q:/kmymoney/kmymoney/mymoney/mymoneymoney.h:347:
These warnings appear to be a bug in mingw as the other inline methods
before line #308 don't have the same warnings and I see no substantive
difference from the lines that do cause the warnings.
The real issues are multitudes of the following "undefined reference"
errors each for a different method.
r:\mingw\bin\g++.exe -D_WIN32_WINNT=0x0501 -DWINVER=0x0501
-D_WIN32_IE=0x0501 -DUNICODE -Wnon-virtual-dtor -Wno-long-long -Wundef
-Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith
-Wformat-security -fno-exceptions -DQT_NO_EXCEPTIONS -fno-check-new
-fno-common -Woverloaded-virtual -fno-threadsafe-statics -fexceptions
-UQT_NO_EXCEPTIONS -fexceptions -UQT_NO_EXCEPTIONS -fno-common -O2 -g
-DNDEBUG -DQT_NO_DEBUG -mwindows -Wl,--whole-archive
CMakeFiles\pivottabletest.dir/objects.a -Wl,--no-whole-archive -o
..\..\bin\pivottabletest.exe
-Wl,--out-implib,..\..\bin\libpivottabletest.dll.a
-Wl,--major-image-version,0,--minor-image-version,0 -Lr:\lib -LR:\lib
-LR:\build\extragear\kmymoney-4.6.1-20110918\work\mingw4-RelWithDebInfo-gitHEAD\bin
R:\lib\libqtmain.a ..\..\bin\libreports.a ..\..\bin\libsettings.a
..\..\bin\libkmymoney_base.a ..\..\bin\libkmymoney_common.a
..\..\bin\libdialogs.a ..\..\bin\libwidgets.a
..\..\bin\libkmm_kdchart.dll.a ..\..\bin\libkmm_storage.a
..\..\bin\libkmm_config.a r:\\lib\libkdeui.dll.a
r:\\lib\libkdecore.dll.a R:\lib\libQtGui4.a R:\lib\libQtXml4.a
R:\lib\libQtCore4.a R:\lib\libQtTest4.a r:\\lib\libkholidays.dll.a
R:\lib\libgmp.dll.a R:\lib\libalkimia.dll.a
..\..\bin\libkmm_widgets.dll.a ..\..\bin\libkmm_mymoney.dll.a
R:\lib\libQtXml4.a r:\\lib\libkdeui.dll.a R:\lib\libQtGui4.a
R:\lib\libQtSvg4.a r:\\lib\libkdecore.dll.a R:\lib\libQtCore4.a
R:\lib\libQtDBus4.a R:\lib\libkdewin.dll.a -luser32 -lshell32 -lws2_32
-lnetapi32 -luserenv ..\..\bin\libkmymoney_base.a -lkernel32 -luser32
-lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32
-ladvapi32
..\..\bin\libkmymoney_base.a(kmymoneyedit.cpp.obj): In function
`_static_initialization_and_destruction_0':
R:/build/extragear/kmymoney-4.6.1-20110918/work/mingw4-RelWithDebInfo-gitHEAD/kmymoney/widgets/kmymoneyedit.moc:55:
undefined reference to `_imp___ZN16QDoubleValidator16staticMetaObjectE'
R:/build/extragear/kmymoney-4.6.1-20110918/work/mingw4-RelWithDebInfo-gitHEAD/kmymoney/widgets/kmymoneyedit.moc:165:
undefined reference to `_imp___ZN5KHBox16staticMetaObjectE'
..\..\bin\libkmymoney_base.a(kmymoneyedit.cpp.obj): In function
`ZN12kMyMoneyEdit11qt_metacastEPKc':
It seems to be linking against the correct libraries so I can't work out
why the references are undefined.
I am assuming there was another dependancy that was updated when I
switch to emerge master branch, presumably mingw.
I have now switched back to kde-4.10 unmerged mingw-w32 and started
rebuilding KDELibs. unfortunately it fails with a missing required
dependancy, LibAttica. there does not appear to be a libattica package.
just attica which is already installed.
-- The following REQUIRED packages have not been found:
* LibAttica (required version >= 0.4.2) , Support for Get Hot New Stuff
, <https://projects.kde.org/attica>
CMake Error at
r:/dev-utils/share/cmake-2.8/Modules/FeatureSummary.cmake:430 (message):
feature_summary() Error: REQUIRED package(s) are missing, aborting CMake
Chris
On 2/03/2014 10:49 AM, Nicolás Alvarez wrote:
2014-03-01 21:17 GMT-03:00 Chris <[email protected]>:
Hi I am compiling kmymoney. Using the kde-4.10 branch I successfully
compiled kmymoney 4.6.1 it into a working application.
At the suggestion of the kmymoney guys I decided to compile 4.6.4
So I switched to kdewin master branch. edited kmymoney.py to point to
gitHead and rebuilt kmymoney
Sadly it failed with numerous errors. I reason that I may need to rebuild
all dependencies and all their dependencies but I can find no switch to
force a complete tree rebuild.
What errors did you get exactly?
_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows
_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows
_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows
_______________________________________________
Kde-windows mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/kde-windows