Emerging www-plugins/nspluginwrapper-1.4.4-r2 fails due to a compilation problem. Reproducible: Always Steps to Reproduce: 1. emerge =www-plugins/nspluginwrapper-1.4.4-r2 Actual Results: The compile phase fails with an error: npw-player.c:(.text+0x2f75): undefined reference to `g_thread_init' Expected Results: Building nspluginwrapper and installation should work. May be realted to patch for Bug 412053. I'm using dev-libs/glib-2.32.1.
Created attachment 309251 [details] build.log Attached build.log
Created attachment 309253 [details] emerge --info output Attached output of emerge --info =www-plugins/nspluginwrapper-1.4.4-r2
(In reply to comment #0) > May be realted to patch for Bug 412053. I'm using dev-libs/glib-2.32.1. No, because there something other than glib.h was included directly.
Could you try this, and let me know if this works around it for you: LDFLAGS="-lgthread-2.0" emerge =www-plugins/nspluginwrapper-1.4.4-r2
Created attachment 309311 [details] build.log with LDFLAGS="-lgthread-2.0" Sorry, adding LDFLAGS="-lgthread-2.0" didn't help. Emerge fails with: lsb-build-i386/libgthread-2.0.so: file not recognized: File truncated Attached the build.log
Created attachment 309355 [details, diff] nspluginwrapper-1.4.4-link-to-gthread-2.0.patch The bug is fixed upstream already. The attached patch reflects the changes of https://github.com/davidben/nspluginwrapper/commit/928c32260a2a6eccf81b169ee7e80388aa69ecdd, works for me, and should fix the issue.
Fixed in www-plugins/nspluginwrapper-1.4.4-r3.