Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 190029

Summary: net-p2p/deluge fails - boost bits/atomicity.h include broken w/ gcc-4.2.1
Product: Gentoo Linux Reporter: Benj FitzPatrick <benjfitz>
Component: New packagesAssignee: Tiziano Müller (RETIRED) <dev-zero>
Status: RESOLVED DUPLICATE    
Severity: normal CC: cpp+disabled
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://bugs.archlinux.org/task/7286
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 162167    

Description Benj FitzPatrick 2007-08-24 11:32:50 UTC
Deluge 0.5.3 and 9999 fail with the error that bits/atomicity.h cannot be found.  This is fixed by editing /usr/include/boost/detail/atomic_count_gcc.hpp line 20,

from:
#include <bits/atomicity.h> 

to:
#include <ext/atomicity.h> 

Reproducible: Always

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

Actual Results:  
In file included from /usr/include/boost/detail/atomic_count.hpp:97,
                 from ./libtorrent/include/libtorrent/intrusive_ptr_base.hpp:36,
                 from ./libtorrent/include/libtorrent/tracker_manager.hpp:65,
                 from libtorrent/src/session.cpp:61:
/usr/include/boost/detail/atomic_count_gcc.hpp:20:28: error: bits/atomicity.h: No such file or directory
error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1

!!! ERROR: net-p2p/deluge-9999 failed.
Call stack:
  ebuild.sh, line 1638:   Called dyn_compile
  ebuild.sh, line 985:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  deluge-9999.ebuild, line 38:   Called distutils_src_compile
  distutils.eclass, line 48:   Called die
Comment 1 Tiziano Müller (RETIRED) gentoo-dev 2007-08-24 12:27:06 UTC
With which version of boost?
Comment 2 Benj FitzPatrick 2007-08-24 12:48:50 UTC
1.33.1-r1
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2007-08-24 13:48:11 UTC
Please update to boost-1.34.1.

*** This bug has been marked as a duplicate of bug 181972 ***