Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 242560 - media-video/kdenlive-0.5 doesn't compiles with mlt-0.3*
Summary: media-video/kdenlive-0.5 doesn't compiles with mlt-0.3*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-18 13:43 UTC by juantxorena@gmail.com
Modified: 2008-10-19 13:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Build output from kdenlive-0.5 (kdenlive.txt,124.30 KB, text/plain)
2008-10-19 10:52 UTC, Christopher O'Neill
Details

Note You need to log in before you can comment on or make changes to this bug.
Description juantxorena@gmail.com 2008-10-18 13:43:14 UTC
media-video/kdenlive-0.5 fails at compile time when using media-libs/mlt-0.3.0 and media-libs/mlt++-0.3.0. This is part of the error message:

krender.cpp:901: aviso: parámetro ‘endTime’ sin uso
krender.cpp: In member function ‘void KRender::exportCurrentFrame(KURL, bool)’:
krender.cpp:954: error: no se encuentra una función coincidente para la llamada a ‘Mlt::Filter::Filter(const char [15])’
/usr/include/mlt++/MltFilter.h:43: nota: los candidatos son: Mlt::Filter::Filter(mlt_filter_s*)
/usr/include/mlt++/MltFilter.h:42: nota:                     Mlt::Filter::Filter(Mlt::Filter&)
/usr/include/mlt++/MltFilter.h:41: nota:                     Mlt::Filter::Filter(Mlt::Service&)
/usr/include/mlt++/MltFilter.h:40: nota:                     Mlt::Filter::Filter(Mlt::Profile&, char*, char*)
krender.cpp: At global scope:
krender.cpp:943: aviso: parámetro ‘notify’ sin uso
krender.cpp:127: aviso: se definió ‘void consumer_stopped(mlt_consumer_s*, KRender*, mlt_frame_s*)’ pero no se usa
make[2]: *** [krender.o] Error 1
make[2]: *** Se espera a que terminen otras tareas....
kruler.cpp:58: aviso: parámetro ‘y’ sin uso
kruler.cpp:170: aviso: parámetro ‘height’ sin uso
kruler.cpp:174: aviso: parámetro ‘height’ sin uso
kruler.cpp:208: aviso: parámetro ‘height’ sin uso
kruler.cpp:212: aviso: parámetro ‘height’ sin uso
kruler.cpp:247: aviso: parámetro ‘height’ sin uso
kruler.cpp:251: aviso: parámetro ‘height’ sin uso
kruler.cpp:770: aviso: parámetro ‘event’ sin uso
make[2]: se sale del directorio `/var/tmp/portage/media-video/kdenlive-0.5/work/kdenlive-0.5/kdenlive'
make[1]: *** [all-recursive] Error 1
make[1]: se sale del directorio `/var/tmp/portage/media-video/kdenlive-0.5/work/kdenlive-0.5'
make: *** [all] Error 2

There are a bunch more similar errors and warnings above, all of them about nonexistent mlt functions and the like.

The program compiles and works when using mlt-0.2.4-r2 and mlt++-0.2.2. Somebody should make a patch (I don't know how to do it), or easier, make kdenlive-0.5 depend on mlt's <0.3.0

Reproducible: Always
Comment 1 Mike Auty (RETIRED) gentoo-dev 2008-10-18 16:39:49 UTC
Hiya Juan,

Thanks very much for the information.  Could you please post the output of "emerge --info" and please re-run the emerge using "LANG=C emerge -1av kdenlive"?
Comment 2 Christopher O'Neill 2008-10-19 10:52:15 UTC
Created attachment 169066 [details]
Build output from kdenlive-0.5

Build fails due to changes in MLT++

mlt and mlt++ v0.3.0 installed.
Comment 3 Alexis Ballier gentoo-dev 2008-10-19 13:19:20 UTC
yes; please use kdenlive 0.7 beta with mlt 0.3
Comment 4 juantxorena@gmail.com 2008-10-19 13:31:02 UTC
(In reply to comment #3)
> yes; please use kdenlive 0.7 beta with mlt 0.3
> 

kdenlive-0.7 only works with kde 4. I'm not going to change from kde3 to kde4 only to use this app. Making kdenlive-0.5 dependant on the old versions of mlt should be enough IMHO.
Comment 5 Alexis Ballier gentoo-dev 2008-10-19 13:46:39 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > yes; please use kdenlive 0.7 beta with mlt 0.3
> > 
> 
> kdenlive-0.7 only works with kde 4. I'm not going to change from kde3 to kde4
> only to use this app. Making kdenlive-0.5 dependant on the old versions of mlt
> should be enough IMHO.
> 


yes, thats why i didnt close the bug :) deps adjusted now

not that kdenlive 0.5 will get removed sooner or later and has only a small subset of kde4 deps, so you may want to upgrade anyway.