Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334861 - net-irc/irssi-xmpp-0.50: fails with --as-needed
Summary: net-irc/irssi-xmpp-0.50: fails with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL: https://gna.org/bugs/index.php?16562
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2010-08-27 19:52 UTC by Daniel Hofmann
Modified: 2010-09-05 12:04 UTC (History)
3 users (show)

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


Attachments
version bump (irssi-xmpp-0.51.diff,1.33 KB, patch)
2010-08-28 11:17 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fixing as-needed issues and parallel build (irssi-xmpp-0.51-build_system.patch,1.49 KB, patch)
2010-08-28 11:19 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff
fix implicit pointer conversion (irssi-xmpp-0.51-implicit_conversion.patch,281 bytes, patch)
2010-08-28 11:20 UTC, Kacper Kowalik (Xarthisius) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.
+