Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 334861

Summary: net-irc/irssi-xmpp-0.50: fails with --as-needed
Product: Gentoo Linux Reporter: Daniel Hofmann <danielregelt+gentoo.bugzilla>
Component: Current packagesAssignee: Tobias Scherbaum (RETIRED) <dertobi123>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, scy-bugs-gentoo, xarthisius
Priority: High Keywords: InVCS
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://gna.org/bugs/index.php?16562
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    
Attachments: version bump
fixing as-needed issues and parallel build
fix implicit pointer conversion

Description Daniel Hofmann 2010-08-27 19:52:52 UTC
The irssi-xmpp plugin isn't usable, if built with (the now default) --as-needed.
Undefined symbol errors are occurring.

Reproducible: Always

Steps to Reproduce:
1. LDFLAG --as-needed (default now)
2. emerge net-irc/irssi-xmpp
3. load xmpp plugin in irssi

Actual Results:  
Irssi: Error loading module xmpp/core: /usr/lib64/irssi/modules/libxmpp_core.so: undefined symbol: lm_connection_set_proxy
Irssi: Error loading module xmpp/fe: /usr/lib64/irssi/modules/libfe_xmpp.so: undefined symbol: xmpp_subscription
Irssi: Error loading module xmpp/core: /usr/lib64/irssi/modules/libxmpp_core.so: undefined symbol: lm_connection_set_proxy

Expected Results:  
Working xmpp plugin

After filtering the --as-needed flag (according to http://www.gentoo.org/proj/en/qa/asneeded.xml#doc_chap1_sect5 ) the xmpp plugin is again usable.
Comment 1 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-28 11:17:34 UTC
Created attachment 245107 [details, diff]
version bump
Comment 2 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-28 11:19:37 UTC
Created attachment 245109 [details, diff]
fixing as-needed issues and parallel build
Comment 3 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-08-28 11:20:16 UTC
Created attachment 245111 [details, diff]
fix implicit pointer conversion

https://gna.org/bugs/index.php?16561
Comment 4 Kacper Kowalik (Xarthisius) (RETIRED) gentoo-dev 2010-09-05 12:04:24 UTC
+*irssi-xmpp-0.51 (05 Sep 2010)
+
+  05 Sep 2010; Kacper Kowalik <xarthisius@gentoo.org>
+  -irssi-xmpp-0.50.ebuild, +irssi-xmpp-0.51.ebuild,
+  +files/irssi-xmpp-0.51-build_system.patch,
+  +files/irssi-xmpp-0.51-implicit_conversion.patch, metadata.xml:
+  Version bump wrt bug 322991. Fix building with --as-needed wrt bug 334861,
+  fix parallel build, fix implicit function conversions that resulted in
+  SIGSEGV on amd64. Fix docs wrt bug 322355. Remove old. Claim ownership
+  with Tobias' blessing.
+