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

Bug 317997

Summary: sys-apps/paludis python bindings cannot be compiled with gcc 4.5 (dev-libs/boost-1.42.0 problem)
Product: Gentoo Linux Reporter: Maciej Piechotka <uzytkownik2>
Component: New packagesAssignee: Thomas Anderson (tanderson) (RETIRED) <tanderson>
Status: RESOLVED FIXED    
Severity: normal CC: ciaran.mccreesh, cpp+disabled, fkhp101, jackdachef, rhill
Priority: High    
Version: 2008.0   
Hardware: All   
OS: Linux   
URL: https://svn.boost.org/trac/boost/ticket/3991
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 296658    
Attachments: Build log

Description Maciej Piechotka 2010-05-01 12:00:47 UTC
sys-apps/paludis cannot be compiled with python bindings.
Comment 1 Maciej Piechotka 2010-05-01 12:01:47 UTC
Created attachment 229895 [details]
Build log
Comment 2 Maciej Piechotka 2010-05-01 12:04:30 UTC
Possibly should be merged with bug 317969.
Comment 3 Ryan Hill (RETIRED) gentoo-dev 2010-05-02 06:36:35 UTC
no, different bug.

/usr/include/boost/python/exception_translator.hpp:20:5: error: call of overloaded 'bind(boost::python::detail::translate_exception<paludis::ActionAbortedError, std::tr1::_Bind<std::tr1::_Mem_fn<void (paludis::python::RegisteredException<paludis::ActionAbortedError>::*)(const paludis::ActionAbortedError&)const>(paludis::python::RegisteredException<paludis::ActionAbortedError>*, std::tr1::_Placeholder<1>)> >, boost::arg<1>&, boost::arg<2>&, std::tr1::_Bind<std::tr1::_Mem_fn<void (paludis::python::RegisteredException<paludis::ActionAbortedError>::*)(const paludis::ActionAbortedError&)const>(paludis::python::RegisteredException<paludis::ActionAbortedError>*, std::tr1::_Placeholder<1>)>&)' is ambiguous
Comment 4 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2010-07-25 21:26:24 UTC
*** Bug 329027 has been marked as a duplicate of this bug. ***
Comment 5 Thomas Anderson (tanderson) (RETIRED) gentoo-dev 2010-07-25 21:26:38 UTC
*** Bug 329755 has been marked as a duplicate of this bug. ***
Comment 6 Ciaran McCreesh 2010-07-26 07:39:25 UTC
https://svn.boost.org/trac/boost/changeset/62198

You need that.
Comment 7 fkhp 2010-07-26 12:13:33 UTC
(In reply to comment #6)
> https://svn.boost.org/trac/boost/changeset/62198
> 
> You need that.
> 
how to use it to fix the problem?
Comment 8 Matt 2010-07-26 13:25:56 UTC
(In reply to comment #6)
> https://svn.boost.org/trac/boost/changeset/62198
> 
> You need that.
> 

are you serious ? ;)

now we already need to fix boost to get paludis running with gcc 4.5 *g*


(In reply to comment #7)
> (In reply to comment #6)
> > https://svn.boost.org/trac/boost/changeset/62198
> > 
> > You need that.
> > 
> how to use it to fix the problem?
> 

if I understood correct this applies to boost:

ebuild boost-1.42.0-r1 unpack
ebuild boost-1.42.0-r1 setup
ebuild boost-1.42.0-r1 prepare
ebuild boost-1.42.0-r1 configure
ebuild boost-1.42.0-r1 compile
ebuild boost-1.42.0-r1 install
ebuild boost-1.42.0-r1 qmerge

should do it
Comment 9 Matt 2010-07-26 13:26:58 UTC
between the unpack and setup step you need to apply the patch or make the change
Comment 10 Ciaran McCreesh 2010-07-26 13:32:15 UTC
Your choices are:

* Use gcc 4.4 rather than 4.5
* Patch boost so it works with gcc 4.5
* Wait for a new boost release that includes the fix
* Turn off python-bindings
Comment 11 Matt 2010-07-26 16:24:39 UTC
(In reply to comment #10)
> Your choices are:
> 
> * Use gcc 4.4 rather than 4.5
> * Patch boost so it works with gcc 4.5
> * Wait for a new boost release that includes the fix
> * Turn off python-bindings
> 

I took *2 (patch boost) but also bumped it to boost 1.43 and it compiled flawlessly

so it's an upstream issue with boost

thanks !
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2010-07-27 01:01:10 UTC
boost guys, one-liner patch for you to let me apply.
Comment 13 Ryan Hill (RETIRED) gentoo-dev 2010-08-14 07:43:45 UTC
Fixed in boost-1.42.0-r2.