<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>218964</bug_id>
          
          <creation_ts>2008-04-22 22:37 0000</creation_ts>
          <short_desc>dev-libs/xerces-c-2.8.0 fails to compile at IconvGNUTransService.cpp</short_desc>
          <delta_ts>2008-06-07 19:53:27 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Library</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>webmaster@thw-theorie.de</reporter>
          <assigned_to>cpp@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>webmaster@thw-theorie.de</who>
            <bug_when>2008-04-22 22:37:58 0000</bug_when>
            <thetext>When merging dev-libs/xerces-c-2.8.0 WITH the &quot;iconv&quot; USE flag, but WITHOUT the &quot;threads&quot; 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=&quot;-iconv&quot; emerge -1 dev-libs/xerces-c
- or-
USE=&quot;threads&quot; emerge -1 dev-libs/xerces-c</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>webmaster@thw-theorie.de</who>
            <bug_when>2008-04-22 22:38:46 0000</bug_when>
            <thetext>Created an attachment (id=150661)
Upstream patch fixing the described issue

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2008-06-07 19:53:27 0000</bug_when>
            <thetext>Added. Thanks a lot for the help!</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>150661</attachid>
            <date>2008-04-22 22:38 0000</date>
            <desc>Upstream patch fixing the described issue</desc>
            <filename>IconvGNUTransService.cpp.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIC9zcmMveGVyY2VzYy91dGlsL1RyYW5zY29kZXJzL0ljb252R05VL0ljb252R05VVHJhbnNT
ZXJ2aWNlLm9yaWcuY3BwCU1vbiBKdW4gIDQgMTg6MTc6MjYgMjAwNworKysgL3NyYy94ZXJjZXNj
L3V0aWwvVHJhbnNjb2RlcnMvSWNvbnZHTlUvSWNvbnZHTlVUcmFuc1NlcnZpY2UuY3BwCU1vbiBK
dW4gIDQgMTg6MjU6MjIgMjAwNwpAQCAtNDI5LDggKzQyNywxMCBAQAogCiB2b2lkIHJlaW5pdElj
b252R05VTXV0ZXgoKQogeworI2lmICFkZWZpbmVkKEFQUF9OT19USFJFQURTKQogICAgIGRlbGV0
ZSBnSWNvbnZNdXRleDsKICAgICBnSWNvbnZNdXRleCA9IDA7CisjZW5kaWYKIH0KIAogSWNvbnZH
TlVUcmFuc1NlcnZpY2U6Okljb252R05VVHJhbnNTZXJ2aWNlKCkK
</data>        

          </attachment>
    </bug>

</bugzilla>