Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165125 - Beta/snapshot-versions of net-im/psi fail with --as-needed
Summary: Beta/snapshot-versions of net-im/psi fail with --as-needed
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Przemyslaw Maciag (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2007-02-03 13:40 UTC by Hanno Böck
Modified: 2007-12-23 17:23 UTC (History)
2 users (show)

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


Attachments
compile log (psi-log.txt.bz2,29.08 KB, application/octet-stream)
2007-02-03 14:19 UTC, Hanno Böck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hanno Böck gentoo-dev 2007-02-03 13:40:06 UTC
It's a bit tricky, because it doesn't take ldflags from the var, instead it uses the one by qt4.

Only the first errors, it goes on and on for many pages. I'll attach the log.

party/libjingle/libjingle_psi.a(xmlparser.o): In function `buzz::XmlParser::~XmlParser()':
xmlparser.cc:(.text+0x260): undefined reference to `XML_ParserFree'
/var/tmp/paludis/net-im/psi-0.11_pre20070201/work/psi-dev-snapshot-2007-02-01/src/../third-party/libjingle/libjingle_psi.a(xmlparser.o): In function `buzz::XmlParser::~XmlParser()':
xmlparser.cc:(.text+0x2d0): undefined reference to `XML_ParserFree'
/var/tmp/paludis/net-im/psi-0.11_pre20070201/work/psi-dev-snapshot-2007-02-01/src/../third-party/libjingle/libjingle_psi.a(xmlparser.o): In function `buzz::XmlParser::~XmlParser()':
xmlparser.cc:(.text+0x340): undefined reference to `XML_ParserFree'
/var/tmp/paludis/net-im/psi-0.11_pre20070201/work/psi-dev-snapshot-2007-02-01/src/../third-party/libjingle/libjingle_psi.a(xmlparser.o): In function `buzz::XmlParser::Reset()':
xmlparser.cc:(.text+0x3a1): undefined reference to `XML_ParserReset'
xmlparser.cc:(.text+0x3b0): undefined reference to `XML_ParserFree'
xmlparser.cc:(.text+0x3bc): undefined reference to `XML_ParserCreate'
xmlparser.cc:(.text+0x3ce): undefined reference to `XML_SetUserData'
xmlparser.cc:(.text+0x3ed): undefined reference to `XML_SetElementHandler'
xmlparser.cc:(.text+0x402): undefined reference to `XML_SetCharacterDataHandler'
xmlparser.cc:(.text+0x417): undefined reference to `XML_SetXmlDeclHandler'
/var/tmp/paludis/net-im/psi-0.11_pre20070201/work/psi-dev-snapshot-2007-02-01/src/../third-party/libjingle/libjingle_psi.a(xmlparser.o): In function `buzz::XmlParser::Parse(char const*, unsigned int, bool)':
Comment 1 Hanno Böck gentoo-dev 2007-02-03 14:19:07 UTC
Created attachment 109010 [details]
compile log
Comment 2 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-02-12 02:06:27 UTC
I've just put todays snapshot with a little fix for libjingle. Plz check, can you compile it with --as-needed.

Cheers,
Przemek
Comment 3 Hanno Böck gentoo-dev 2007-02-12 12:32:41 UTC
No change. I tried to look deeper into this, seems to come from the jingle-part, but I'm not enough autotools-skilled to fix it.
Comment 4 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-02-12 21:11:38 UTC
(In reply to comment #3)
> No change. I tried to look deeper into this, seems to come from the
> jingle-part

exactly.

> , but I'm not enough autotools-skilled to fix it.

problem is, that this has nothing to do with autotools (at least as I can tell). jingle sources are in psi mainline (patched jingle sources ;) ) and makefile is generated using qmake - not configure script :/

jingle doesn't work for me now... I'm thinking about linking to system library, rather than to this, but... well, first my MD thesis ;)

Cheers,
Przemek
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2007-08-02 21:09:43 UTC
More recent snapshots do work for me... See bug #131528 for the ebuild.
Comment 6 Davide Pesavento (RETIRED) gentoo-dev 2007-09-09 19:05:18 UTC
Please, close this bug. This is no longer valid since upstream has solved the build issues months ago. No reasons to keep the bug open.
Comment 7 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-12-23 17:23:34 UTC
(In reply to comment #6)
> Please, close this bug. This is no longer valid since upstream has solved the
> build issues months ago. No reasons to keep the bug open.

to be honest - I'm not sure is "--as-needed" is safe for final psi-0.11, but this bug is related to jingle which is not included in srcs.

closing this one with 'LATER'. maybe someday psi finally gets it jingle support, so we can check again :/

Cheers,
Przemek