Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276098 - kde-base/ksvg-3.5.10 runtime (and buildtime) fail with undefined reference to `fribidi_log2vis'
Summary: kde-base/ksvg-3.5.10 runtime (and buildtime) fail with undefined reference to...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-01 17:48 UTC by Duncan
Modified: 2009-11-09 10:43 UTC (History)
8 users (show)

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


Attachments
emerge --info (emerge.info,4.91 KB, text/plain)
2009-07-01 17:51 UTC, Duncan
Details
Build log (ksvg-3.5.10:20090709-210906.log,345.60 KB, text/plain)
2009-07-10 12:05 UTC, Diego Elio Pettenò (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2009-07-01 17:48:45 UTC
+++ This bug was initially created as a clone of Bug #260837 +++

Unfortunately, while the fix in the ebuild for the above bug does allow compiling, runtime is still broken, at least here.

Note that my normal LDFLAGS are
LDFLAGS="-Wl,-z,now,--as-needed,-O1,--hash-style=gnu,--sort-common"

As such, the filter in the ebuild doesn't actually work (because --as-needed isn't a separate flag and doesn't match the specific -Wl flag being filtered either).  However, editing /etc/portage/env/kde-base/ksvg with either of the following lines allows the compile, but runtime is still broken.

LDFLAGS=${LDFLAGS/--as-needed,}
LDFLAGS=

Using konqueror (kde 3.5.10 version) on the below URL produces just the text "svg recipe", with a reload producing a popup with the below error:

Test SVG URL:
http://upload.wikimedia.org/wikipedia/en/e/e5/Vector_Video_Standards2.svg

Popup error:
/usr/kde/3.5/lib64/libtext2path.so.0: undefined symbol: fribidi_log2vis

That's close enough to the link error with --as-needed, that it's obviously the same issue.  So omitting --as-needed in LDFLAGS does let the package build, but then I have a runtime error.  Seems like filtering --as-needed didn't fix the problem after all, and fribidi-0.19 is still incompatible with ksvg.

As expected, commenting everything in /etc/portage/env/kde-base/ksvg, package.masking =dev-libs/fribidi-0.19.1, downgrading to fribidi-0.10.9, and remerging ksvg-3.5.10, works.  The svg at the above wikimedia URL works fine once again.
Comment 1 Duncan 2009-07-01 17:51:54 UTC
Created attachment 196265 [details]
emerge --info
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-10 12:04:18 UTC
Seems like it happens during build if newer fribidi is installed; they didn't bump soname correctly I'm afraid.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2009-07-10 12:05:28 UTC
Created attachment 197446 [details]
Build log
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-11-09 10:43:12 UTC
KDE 3.5.10 has been masked for removal, this won't be fixed...