Problem with dependencies

Alexander Neundorf neundorf at kde.org
Thu Oct 29 19:49:09 CET 2009


On Thursday 29 October 2009, Volker Krause wrote:
> On Wednesday 28 October 2009 18:55:06 Alexander Neundorf wrote:
...
> > As Michael already asked, can you give a bit more detail on this ?
> > What I can imagine in issues is
> > * updating required packages, e.g. Qt
> > * stuff hangs while executing the tests
> > Are there more issues ?
>
> About 20% of the maintenance is compilation issues caused by my environment
> setup, including:
> - wrong/outdated dependency versions (I have basically every optional
> dependency installed)

Yes, this is something we just have to live with :-/

> - icecream cluster problems

Hmm, but you really do want to use icecream for the Nightlys ?

> - I currently don't delete the install dir before building, which sometimes
> can have side-effects (I tried that, but some of the tests rely on
> installed runtime stuff from other modules)

I haven't done that neither. But this would be a simple thing to do. I hope 
once we have some experience with running these builds, some FreeBSD/Solaris 
people and hopefully later also Mac people will join.

> Most of the work is needed for the tests though:
> - some require X

You do that from a cron-job, right ?
You could run e.g. vncserver, this would provide a X display for the 
applications.

> - many require D-Bus

Do you start one already ?

> - several of them hang and need to be killed afterwards, some even block
> port numbers needed by subsequent tests while hanging

Yes, I saw that too. This sucks. I'd say those need to be 
changed/excluded/something.
Do you have a list of the problematic ones ?

> - some flood my /tmp directory, so this needs to be cleaned up

Sounds like those tests need some work.

> I've put most of that into the simple shell script that actually runs the
> builds, but I have to add new stuff there regularly. Additionally, some of
> the setup is not persistent and thus needs to redone when the machine
> rebooted after a power outage etc.
>
> > How are you doing these builds, are you using the ctest scripts in svn as
> > e.g. kdelibs/KDELibsNightly.cmake ?
>
> didn't know about that, my attempts making it proper nightly builds failed
> so far, therefore I'm still using experiemental.
>
> > If not, why not and what are you using instead ?
>
> a simple shell script, run by cron every night

I just added the script I use (haven't run it for some time now already again) 
to kdesdk/cmake/scripts/, it's "Nightly-2.6.2". Please have a look at it. 
With the obvious modifications it should run also on your system.

The ctest-scripts like kdelibs/KDELibsNightly.cmake use functions from 
kdesdk/cmake/modules/KDECTestNightly.cmake.
If something there doesn't work as you need, let me know, we'll make it work.

> > I'd also like to have more projects there, e.g. kdebase, kdesupport, and
> > everything else what's interesting.
> >
> > So what do you prefer ? Host all that on akonadi-project.org or move to
> > my.cdash.org (there you at least don't have to maintain the cdash
> > installation, and we can ask Bill about the details).
>
> looks like my.cdash.org already has a newer version installed than the
> akonadi-project.org one, probably makes sense to move to that one.

Ok, so let's move to my.cdash.org.
Do you already have a login ?
I think you can register yourself to the projects then, i.e. kdelibs, 
kdesupport and kdepimlibs.
Ah, and in case you can't make yourself an admin of these projects, I'll do 
that for you :-)

I'd suggest you try with these three first and once that works we can add 
kdepim and kdebase.

Alex


More information about the Kde-buildsystem mailing list