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' 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' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/net-im/twinkle-1.1/work/twinkle-1.1/src/audio' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/net-im/twinkle-1.1/work/twinkle-1.1/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/var/tmp/portage/net-im/twinkle-1.1/work/twinkle-1.1/src' 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 'src_compile' * 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 'all' * kde.eclass, line 340: Called kde_src_compile 'myconf' 'configure' 'make' * 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 '/var/tmp/portage/net-im/twinkle-1.1/temp/build.log'. * Expected Results: ebuild should install.
needs a bit of a complicated patch: to ./m4/ost_pthread.m4 and ./include/config.h.in upstream bug report as per URL
probably something like dev-libs/boost/files/boost-1.34.0-gcc42-atomicity.h.patch would account for switching gcc versions.
Fixed with patch and version bump to commoncpp2-1.6.1. Thanks.
*** Bug 207621 has been marked as a duplicate of this bug. ***