Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 165434 - dev-libs/xalan-c-1.10.0 fails to compile with --as-needed
Summary: dev-libs/xalan-c-1.10.0 fails to compile with --as-needed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL: https://issues.apache.org/jira/browse...
Whiteboard:
Keywords:
: 178981 (view as bug list)
Depends on:
Blocks: as-needed
  Show dependency tree
 
Reported: 2007-02-05 12:08 UTC by Lars Wendler (Polynomial-C) (RETIRED)
Modified: 2007-05-18 11:21 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge--info.txt,3.47 KB, text/plain)
2007-02-05 12:10 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
xalan-c build errormessages (xalan-c_builderror.txt,14.84 KB, text/plain)
2007-02-05 12:11 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
xalan-c--as-needed.patch (xalan-c--as-needed.patch,3.93 KB, patch)
2007-03-31 19:38 UTC, Daniel Lin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-02-05 12:08:37 UTC
Hi,

when trying to emerge dev-libs/xalan-c-1.10.0 with --as-needed LDFLAG, compilation bombs out short after beginning. I'll attack the errormessage.

Cheers
Poly-C

Reproducible: Always

Steps to Reproduce:
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-02-05 12:10:57 UTC
Created attachment 109223 [details]
emerge --info
Comment 2 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-02-05 12:11:44 UTC
Created attachment 109225 [details]
xalan-c build errormessages
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-02-05 12:17:16 UTC
whoops, funny typo :) I meant "attach" not "attack" ;)
Comment 4 Alex 2007-03-17 15:31:03 UTC
Confirmed here too.
Comment 5 Daniel Lin 2007-03-31 19:38:23 UTC
Created attachment 115078 [details, diff]
xalan-c--as-needed.patch

This patch should fix the build.
Comment 6 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2007-04-01 02:01:42 UTC
Patch works for me. Thank you Daniel.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-05-18 08:52:37 UTC
(In reply to comment #5)
> Created an attachment (id=115078) [edit]
> xalan-c--as-needed.patch
> 
> This patch should fix the build.
> 

Adjusted the patch for trunk and reported upstream. To be on the safe side you might want to comment on the bug giving ASF your consent to use it too.
https://issues.apache.org/jira/browse/XALANC-643
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-05-18 09:23:35 UTC
(In reply to comment #7)
> 
> Adjusted the patch for trunk and reported upstream. To be on the safe side you
> might want to comment on the bug giving ASF your consent to use it too.
> https://issues.apache.org/jira/browse/XALANC-643
> 

Patch committed as there has been no response from the cpp herd in a month. I also fixed LICENSE to Apache-2.0.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-05-18 11:21:33 UTC
*** Bug 178981 has been marked as a duplicate of this bug. ***