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

Bug 582100

Summary: net-p2p/qbittorrent-3.3.4-r1 fails to build: error: ‘reference_type_of_temporary_wrapper’ does not name a type
Product: Gentoo Linux Reporter: Tomasz Golinski <tomaszg>
Component: Current packagesAssignee: Markos Chandras (RETIRED) <hwoarang>
Status: RESOLVED FIXED    
Severity: normal CC: qt
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tomasz Golinski 2016-05-04 18:11:17 UTC
I managed to build net-p2p/qbittorrent-3.3.4 without problems, but emerging net-p2p/qbittorrent-3.3.4-r1 fails with (I have dev-libs/boost-1.56.0-r1:0/1.56.0 installed):

compiling base/preferences.cpp
compiling base/iconprovider.cpp
In file included from /usr/include/boost/optional.hpp:15:0,
                 from /usr/include/libtorrent/torrent_info.hpp:43,
                 from ./base/bittorrent/torrentinfo.h:34,
                 from base/filesystemwatcher.cpp:16:
/usr/include/boost/optional/optional.hpp:1010:5: error: ‘reference_type_of_temporary_wrapper’ does not name a type
     reference_type_of_temporary_wrapper operator *() && { return boost::move(this->get()) ; }
     ^
/usr/include/boost/optional/optional.hpp:1033:5: error: ‘reference_type_of_temporary_wrapper’ does not name a type
     reference_type_of_temporary_wrapper value() &&
     ^
In file included from /usr/include/boost/optional.hpp:15:0,
                 from /usr/include/libtorrent/torrent_info.hpp:43,
                 from ./base/bittorrent/torrentinfo.h:34,
                 from gui/addnewtorrentdialog.h:39,
                 from app/application.cpp:50:
/usr/include/boost/optional/optional.hpp:1010:5: error: ‘reference_type_of_temporary_wrapper’ does not name a type
     reference_type_of_temporary_wrapper operator *() && { return boost::move(this->get()) ; }
     ^
/usr/include/boost/optional/optional.hpp:1033:5: error: ‘reference_type_of_temporary_wrapper’ does not name a type
     reference_type_of_temporary_wrapper value() &&
     ^
Comment 1 Davide Pesavento (RETIRED) gentoo-dev 2016-05-04 23:40:26 UTC
Yeah I'm aware of this and will fix it asap.
Either upgrade boost to >= 1.58 or downgrade qbittorrent to -r0.