Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187206 - dev-cpp/commoncpp2 has wrong include in gcc-4.2 (was: net-im/twinkle-1.1 doesn't compile with gcc 4.2.0)
Summary: dev-cpp/commoncpp2 has wrong include in gcc-4.2 (was: net-im/twinkle-1.1 does...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL: http://sourceforge.net/tracker/index....
Whiteboard:
Keywords:
: 207621 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-07-31 03:37 UTC by Guillaume Horel
Modified: 2008-01-26 23:28 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillaume Horel 2007-07-31 03:37:11 UTC
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.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2007-07-31 09:57:42 UTC
needs a bit of a complicated patch:
to ./m4/ost_pthread.m4
and
./include/config.h.in

upstream bug report as per URL
Comment 2 Daniel Black (RETIRED) gentoo-dev 2007-07-31 21:59:44 UTC
probably something like dev-libs/boost/files/boost-1.34.0-gcc42-atomicity.h.patch would account for switching gcc versions.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2007-12-24 09:32:31 UTC
Fixed with patch and version bump to commoncpp2-1.6.1.
Thanks.
Comment 4 Daniel Black (RETIRED) gentoo-dev 2008-01-26 23:28:28 UTC
*** Bug 207621 has been marked as a duplicate of this bug. ***