Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 218964 - dev-libs/xerces-c-2.8.0 fails to compile at IconvGNUTransService.cpp
Summary: dev-libs/xerces-c-2.8.0 fails to compile at IconvGNUTransService.cpp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-22 22:37 UTC by Kai Blaschke
Modified: 2008-06-07 19:53 UTC (History)
0 users

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


Attachments
Upstream patch fixing the described issue (IconvGNUTransService.cpp.patch,381 bytes, patch)
2008-04-22 22:38 UTC, Kai Blaschke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kai Blaschke 2008-04-22 22:37:58 UTC
When merging dev-libs/xerces-c-2.8.0 WITH the "iconv" USE flag, but WITHOUT the "threads" USE flag, compilation fails at the file IconvGNUTransService.cpp with the following error:

  (C++) IconvGNUTransService.o
IconvGNUTransService.cpp: In function ‘void xercesc_2_8::reinitIconvGNUMutex()’:
IconvGNUTransService.cpp:433: error: ‘gIconvMutex’ was not declared in this scope

Any other combination of USE flags results in successful compilation. This error has already been fixed upstream for 3.0, see

https://issues.apache.org/jira/browse/XERCESC-1709

A modified patch which works with the current 2.8.0 ebuild is attached.

Reproducible: Always




Workaround: merge the package with

USE="-iconv" emerge -1 dev-libs/xerces-c
- or-
USE="threads" emerge -1 dev-libs/xerces-c
Comment 1 Kai Blaschke 2008-04-22 22:38:46 UTC
Created attachment 150661 [details, diff]
Upstream patch fixing the described issue
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2008-06-07 19:53:27 UTC
Added. Thanks a lot for the help!