Summary: | media-plugins/frei0r-plugins-1.3 - defish0r plugin makes kdenlive rendering fail | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernhard Stiftner <bernhard.stiftner> |
Component: | Current packages | Assignee: | Gentoo Media-video project <media-video> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | CC: | pacho, vylaern |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Quick and dirty patch
Patch for frei0r-plugins-1.4 to fix libm.so underlinking issues Proposal for frei0r-plugins-1.4.1-r1.ebuild |
Description
Bernhard Stiftner
2012-12-26 21:53:07 UTC
Created attachment 333398 [details, diff]
Quick and dirty patch
Quick and dirty workaround:
* Force all frei0r plugins to be linked against libm.so
* Remove the --as-needed linker option (may also cause problems?)
I have similar problem with Vertigo effect in Kdenlive from frei0r plugins. Actual Results: Kdenlive rendering starts, but stops almost immediately. It doesn't report any error, but the output file is empty. I was checking with new mlt-0.8.8 which was released few days ago, but still the same. I will check it with a new Kdenlive o.9.4 which will be in portage soon. There is a new version of frei0r - 1.4.0 (not yet in portage, but there is bump request) http://files.dyne.org/frei0r/ hopefully it should solve our problems *** 1.4.0 - 24 February 2013 This release fixes several major bugs in existing plugins, adds new filters and the optional dependency to cairo. New filters (18): IIRblur, Vignette, Keyspillm0pup, Timeout, Posterize, Dither, Spillsupress, Emboss, Colgate, RGBNoise, Colorize, Softglow, ColrHalftone, Sigmoidaltransfer, Colortap, cairogradient, cairoimagegrid, medians New mixers: cairoblend, cairoaffineblend Created attachment 368202 [details, diff] Patch for frei0r-plugins-1.4 to fix libm.so underlinking issues Just tried again with frei0r-plugins-1.4.0, but the problem still persists. Other frei0r effects are affected as well, it's not defish0r and vertigo, but probably about half of the available frei0r effects. The problem is still the same: A lot of frei0r plugins include <math.h>, but do not explicitly link against libm.so. When /usr/bin/melt tries to dlopen() those plugins, math symbols cannot be resolved and /usr/bin/melt dies. That's the reason why kdenlive rendering fails. I've attached a patch for frei0r-plugins-1.4 which should fix those libm.so underlinking issues. Unlike my first quick&dirty patch from Comment #1, this one does not force every frei0r plugin to be linked against libm.so, but only adds libm.so where it's really necessary. It also doesn't remove the --as-needed linker option anymore. Using the patched frei0r plugins, kdenlive rendering works again. Created attachment 368204 [details] Proposal for frei0r-plugins-1.4.1-r1.ebuild Attached proposal for frei0r-plugins-1.4.1-r1.ebuild which applies the libm.so underlinking patch from Comment #4. Problem still exists in 1.5.0. Please add these two lines to src_configure section and problem will be solved (I run it with 1.5.0, didn't test with ~amd64) filter-ldflags -Wl,--as-needed append-ldflags -lm RafaĆ are you still hitting this with 1.6.1 ? |