<?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>187206</bug_id>
          
          <creation_ts>2007-07-31 03:37 0000</creation_ts>
          <short_desc>dev-cpp/commoncpp2 has wrong include in gcc-4.2 (was: net-im/twinkle-1.1 doesn&apos;t compile with gcc 4.2.0)</short_desc>
          <delta_ts>2008-01-26 23:28:28 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>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          <bug_file_loc>http://sourceforge.net/tracker/index.php?func=detail&amp;aid=1726095&amp;group_id=136955&amp;atid=737291</bug_file_loc>
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>guillaume.horel@gmail.com</reporter>
          <assigned_to>cpp@gentoo.org</assigned_to>
          <cc>dragonheart@gentoo.org</cc>
    
    <cc>GNUtoo@no-log.org</cc>
    
    <cc>m.debruijne@matrict.nl</cc>
    
    <cc>voip@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>guillaume.horel@gmail.com</who>
            <bug_when>2007-07-31 03:37:11 0000</bug_when>
            <thetext>net-im/twinkle-1.1 fails to install with gcc 4.2.0. It works fine with gcc 4.1.2.

Reproducible: Always

Steps to Reproduce:
1. emerge twinkle
2.
3.

Actual Results:  
make[4]: Entering directory `/var/tmp/portage/net-im/twinkle-1.1/work/twinkle-1.1/src/audio&apos;
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../src -I ../../src -I /usr/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -march=native -O2 -pipe -fomit-frame-pointer -ftree-vectorize -D_GNU_SOURCE -c -o audio_device.o audio_device.cpp
In file included from ../../src/parser/sip_body.h:23,
                 from ../../src/parser/sip_message.h:86,
                 from ../../src/parser/response.h:25,
                 from ../../src/parser/request.h:25,
                 from ../../src/transaction.h:24,
                 from ../../src/timekeeper.h:25,
                 from ../../src/events.h:28,
                 from ../../src/userintf.h:24,
                 from audio_device.cpp:29:
/usr/include/cc++/config.h:1088:28: error: bits/atomicity.h: No such file or directory
make[4]: *** [audio_device.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/net-im/twinkle-1.1/work/twinkle-1.1/src/audio&apos;
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/net-im/twinkle-1.1/work/twinkle-1.1/src/audio&apos;
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-im/twinkle-1.1/work/twinkle-1.1/src&apos;
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-im/twinkle-1.1/work/twinkle-1.1/src&apos;
make: *** [all-recursive] Error 1
 *
 * ERROR: net-im/twinkle-1.1 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_compile
 *   ebuild.sh, line 988:   Called qa_call &apos;src_compile&apos;
 *   ebuild.sh, line 44:   Called src_compile
 *   twinkle-1.1.ebuild, line 44:   Called kde_src_compile
 *   kde.eclass, line 170:   Called kde_src_compile &apos;all&apos;
 *   kde.eclass, line 340:   Called kde_src_compile &apos;myconf&apos; &apos;configure&apos; &apos;make&apos;
 *   kde.eclass, line 336:   Called die
 *
 * died running emake, kde_src_compile:make
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at &apos;/var/tmp/portage/net-im/twinkle-1.1/temp/build.log&apos;.
 *


Expected Results:  
ebuild should install.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2007-07-31 09:57:42 0000</bug_when>
            <thetext>needs a bit of a complicated patch:
to ./m4/ost_pthread.m4
and
./include/config.h.in

upstream bug report as per URL</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2007-07-31 21:59:44 0000</bug_when>
            <thetext>probably something like dev-libs/boost/files/boost-1.34.0-gcc42-atomicity.h.patch would account for switching gcc versions.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dev-zero@gentoo.org</who>
            <bug_when>2007-12-24 09:32:31 0000</bug_when>
            <thetext>Fixed with patch and version bump to commoncpp2-1.6.1.
Thanks.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>dragonheart@gentoo.org</who>
            <bug_when>2008-01-26 23:28:28 0000</bug_when>
            <thetext>*** Bug 207621 has been marked as a duplicate of this bug. ***</thetext>
          </long_desc>
      
    </bug>

</bugzilla>