emerge kdepimlibs cmake problem?

Bernhard Reiter bernhard at intevation.de
Tue May 6 16:06:48 CEST 2008


On Monday 05 May 2008 19:27, Christian Ehrlicher wrote:
> Bernhard Reiter schrieb:
> > Just tried an
> > svn up emerge
> > emerge --update mingw
> > emerge --update qt
> > emerge --update kdepimlibs

One mistake here was to assume that "--update kdepimlibs" would also
update the requirements. I currently believe it does not.
So I tried to issue a few "emerge --update XXX" commands in between.

just "cd svn/trunk" and "svn up" did not help as I get
messages for missing directories and when retrying I get much more
new stuff then I wanted. :/

> > The latter failed with messages like:
> >
> >
> > CMake Error at E:/devel/share/apps/cmake/modules/KDE4Macros.cmake:813
> > (add_custom_target):
> >   add_custom_target cannot create target "buildtests" because another
> > target with the same name already exists.  The existing target is a
> > custom target created in source directory
> >   "E:/devel/svn/trunk/KDE/kdepimlibs/kmime/tests".  See documentation for
> >   policy CMP0002 for more details.
> > Call Stack (most recent call first):
> >   akonadi/tests/CMakeLists.txt:26 (kde4_add_unit_test)
> >   akonadi/tests/CMakeLists.txt:42 (add_akonadi_test)
> >
> > commandstring python e:
> > \devel\emerge\portage\kde\kdepimlibs\kdepimlibs-20080202.py compile
> > emerge fatal error: running python e:
> > \devel\emerge\portage\kde\kdepimlibs\kdepimlibs-20080202.py compile
> > emerge error: fatal error: package kde/kdepimlibs-20080202 all failed
> >
> > I also see warnings like:
> > CMake Error in CMakeLists.txt:0".

> > Got to stop analysing this for the moment, so this is just an early
> > report. Hints welcome of course.
>
> Works fine for me with cmake 2.6.0-rc10 and current svn.

Thanks for trying!
I saw that you've updated portate to cmake 2.6.0-rc10
and gave it a shot, also with updating the other dependencies
in a better way as described above!

emerge --update kdelibs    worked,
but --update kdepimlibs now fails differently like:

E:\devel\bin\cmake.exe -E cmake_progress_report E:
\devel\tmp\kdepimlibs-20080202\work\mingw-Debug\CMakeFiles 25[ 16%] 
Generating ui_subscriptiondialog.hcd E:
\devel\tmp\kdepimlibs-20080202\work\mingw-Debug\akonadi && E:
\devel\bin\cmake.exe -DKDE4_HEADER:BOOL=ON 
-DKDE_UIC_EXECUTABLE:FILEPATH=E:/devel/bin/uic.exe-DKDE_UIC_FILE:FILEPATH=E:/devel/svn/trunk/KDE/kdepimlibs/akonadi/subscriptiondialog.ui 
-DKDE_UIC_H_FILE:FILEPATH=E:/devel/tmp/kdepimlibs-20080202/work/mingw-Debug/akonadi/ui_subscriptiondialog.h 
-DKDE_UIC_BASENAME:STRING=subscriptiondialog -P 
E:/devel/share/apps/cmake/modules/kde4uic.cmake
mingw32-make[2]: Leaving directory 
`e:/devel/tmp/kdepimlibs-20080202/work/mingw-Debug'
mingw32-make[2]: *** No rule to make target 
`e:/devel/share/dbus-1/interfaces/org.freedesktop.Akonadi.NotificationManager.xml', 
needed by `akonadi/notificationmanagerinterface.cpp'.  Stop.
mingw32-make[1]: *** [akonadi/CMakeFiles/akonadi-kde.dir/all] Error 2
mingw32-make[1]: Leaving directory 
`e:/devel/tmp/kdepimlibs-20080202/work/mingw-Debug'
mingw32-make: *** [all] Error 2

For my purposes I see if I can deactivate akonadi for this build,
but I wanted to share the experience.

Best,
Bernhard


-- 
Managing Director - Owner: www.intevation.net       (Free Software Company)
Germany Coordinator: fsfeurope.org. Coordinator: www.Kolab-Konsortium.com.
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20080506/5b3b7267/attachment.pgp 


More information about the Kde-windows mailing list