Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 582100 - net-p2p/qbittorrent-3.3.4-r1 fails to build: error: ‘reference_type_of_temporary_wrapper’ does not name a type
Summary: net-p2p/qbittorrent-3.3.4-r1 fails to build: error: ‘reference_type_of_tempor...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-04 18:11 UTC by Tomasz Golinski
Modified: 2016-05-05 00:40 UTC (History)
1 user (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 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 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.