Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 607324 - net-p2p/qbittorrent-3.1.12 fails with »Parse error at "BOOST_JOIN"« - dev-libs/boost-1.62.0-r1
Summary: net-p2p/qbittorrent-3.1.12 fails with »Parse error at "BOOST_JOIN"« - dev-lib...
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: 530720
Blocks: 590244
  Show dependency tree
 
Reported: 2017-01-26 17:12 UTC by charles17
Modified: 2017-03-12 00:50 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,56.42 KB, text/plain)
2017-01-26 17:12 UTC, charles17
Details
emerge --info (emerge --info,6.57 KB, text/plain)
2017-01-26 17:15 UTC, charles17
Details
emerge -pqv (emerge -pqv,100 bytes, text/plain)
2017-01-26 17:16 UTC, charles17
Details
build.log (qbittorrent-3.2.12_build.log,62.00 KB, text/plain)
2017-01-27 15:28 UTC, Jan Hrabe
Details
my emerge --info (portage_info.txt,5.34 KB, text/plain)
2017-01-29 10:56 UTC, Pablo Yanez Trujillo
Details
A patch that worked for me (fix_boost_join.patch,4.15 KB, patch)
2017-01-29 14:23 UTC, Pablo Yanez Trujillo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description charles17 2017-01-26 17:12:13 UTC
Created attachment 461512 [details]
build.log

net-p2p/qbittorrent-3.1.12 fails to emerge
Comment 1 charles17 2017-01-26 17:15:24 UTC
Created attachment 461514 [details]
emerge --info
Comment 2 charles17 2017-01-26 17:16:06 UTC
Created attachment 461516 [details]
emerge -pqv
Comment 3 mAhdi 2017-01-26 18:02:36 UTC
Same here, I believe this happen after upgrade to boost 1.62.0-r1 which forced rebuild of rtorrent which in turn fails ... both are stable on x86 which is my arch.
Comment 4 Jan Hrabe 2017-01-27 15:28:07 UTC
Created attachment 461614 [details]
build.log

I started getting similar error with version 3.2.12, also after upgrading the boost.  The build.log is attached.
Comment 5 Pablo Yanez Trujillo 2017-01-29 10:56:20 UTC
Same with me. During @world update, boost was updated to =dev-libs/boost-1.62.0-r1. At the same time =net-p2p/qbittorrent-3.1.12 should be rebuilt but it fails (at the different place but same error)

 /usr/lib64/qt4/bin/moc -DQT_NO_DEBUG_OUTPUT -DVERSION=\"v3.1.12\" -DVERSION_MAJOR=3 -DVERSION_MINOR=1 -DVERSION_BUGFIX=12 -DQT_NO_CAST_TO_ASCII -DQT_USE_FAST_CONCATENATION -DQT_USE_FAST_OPERATOR_PLUS -DBOOST_FILESYSTEM_VERSION=2 -DTORRENT_USE_OPENSSL -DWITH_SHIPPED_GEOIP_H -DBOOST_ASIO_HASH_MAP_BUCKETS=1021 -DBOOST_EXCEPTION_DISABLE -DBOOST_ASIO_ENABLE_CANCELIO -DBOOST_ASIO_DYN_LINK -DTORRENT_LINKING_SHARED -DQT_NO_DEBUG -DQT_DBUS_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtDBus -I/usr/include/qt4 -I/usr/include/libtorrent -I/usr/include -Iqtnotify -I. -Iqtlibtorrent -Iwebui -Iwebui/qjson -Itracker -Ipreferences -Ilineedit/src -Iproperties -Isearchengine -Irss -Itorrentcreator -Igeoip -Ipowermanagement -I/usr/include/qt4/QtSolutions -I. -I. main.cpp -o main.moc 
 usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN" 
 make: *** [Makefile:1431: main.moc] Error 1
Comment 6 Pablo Yanez Trujillo 2017-01-29 10:56:54 UTC
Created attachment 461822 [details]
my emerge --info

my emerge --info
Comment 7 Pablo Yanez Trujillo 2017-01-29 14:23:11 UTC
Created attachment 461832 [details, diff]
A patch that worked for me

While searching for solution to this problem I came across this thread http://stackoverflow.com/questions/15455178/qt4-cgal-parse-error-at-boost-join

So I decided to add the #ifndef Q_MOC_RUN on the files where moc failed. I added it to /etc/portage/patches/net-p2p/qbittorrent-3.1.12/, removed /var/tmp/portage/net-p2q and re-emerged qbittorrent.
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2017-01-29 17:17:05 UTC
For the time being you can unmask =net-p2p/qbittorrent-3.3.7, which is being stabilized in bug 530720
Comment 9 Fabio Bonfante 2017-02-28 07:13:59 UTC
Similar problem for me 'net-p2p/qbittorrent-3.1.12' and boost-1.62.0-r1

----
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -rdynamic -o qbittorrent notifications.o qbtsession.o qtorrenthandle.o torrentspeedmonitor.o torrentmodel.o shutdownconfirm.o httpserver.o httpconnection.o httprequestparser.o httpresponsegenerator.o btjson.o prefjson.o json_parser.o json_scanner.o parser.o serializer.o qtracker.o options_imp.o lineedit.o propertieswidget.o peerlistwidget.o trackerlist.o proptabbar.o downloadedpiecesbar.o pieceavailabilitybar.o searchengine.o searchtab.o engineselectdlg.o rss_imp.o rsssettingsdlg.o feedlistwidget.o rssmanager.o rssfeed.o rssfolder.o rssarticle.o automatedrssdownloader.o rssdownloadrule.o rssdownloadrulelist.o cookiesdlg.o rssfile.o rssparser.o torrentcreatordlg.o torrentcreatorthread.o geoipmanager.o powermanagement.o powermanagement_x11.o main.o downloadthread.o scannedfoldersmodel.o misc.o fs_utils.o smtp.o dnsupdater.o mainwindow.o ico.o transferlistwidget.o torrentcontentmodel.o torrentcontentmodelitem.o torrentcontentmodelfolder.o torrentcontentmodelfile.o torrentcontentfiltermodel.o sessionapplication.o torrentimportdlg.o executionlog.o previewselect.o iconprovider.o updownratiodlg.o loglistwidget.o addnewtorrentdialog.o autoexpandabledialog.o statsdialog.o messageboxraised.o statussortfilterproxymodel.o moc_notifications.o moc_qbtsession.o moc_bandwidthscheduler.o moc_torrentspeedmonitor.o moc_filterparserthread.o moc_torrentmodel.o moc_shutdownconfirm.o moc_httpserver.o moc_httpconnection.o moc_qtracker.o moc_options_imp.o moc_advancedsettings.o moc_lineedit.o moc_propertieswidget.o moc_peerlistwidget.o moc_proplistdelegate.o moc_trackerlist.o moc_downloadedpiecesbar.o moc_peerlistdelegate.o moc_peerlistsortmodel.o moc_peeraddition.o moc_trackersadditiondlg.o moc_pieceavailabilitybar.o moc_proptabbar.o moc_searchengine.o moc_searchtab.o moc_engineselectdlg.o moc_pluginsource.o moc_searchlistdelegate.o moc_supportedengines.o moc_searchsortmodel.o moc_rss_imp.o moc_rsssettingsdlg.o moc_feedlistwidget.o moc_rssmanager.o moc_rssfeed.o moc_rssfolder.o moc_rssarticle.o moc_automatedrssdownloader.o moc_cookiesdlg.o moc_rssparser.o moc_torrentcreatordlg.o moc_torrentcreatorthread.o moc_geoipmanager.o moc_powermanagement.o moc_powermanagement_x11.o moc_downloadthread.o moc_filesystemwatcher.o moc_scannedfoldersmodel.o moc_qinisettings.o moc_smtp.o moc_dnsupdater.o moc_mainwindow.o moc_transferlistwidget.o moc_transferlistdelegate.o moc_transferlistfilterswidget.o moc_transferlistsortmodel.o moc_torrentcontentmodel.o moc_torrentcontentfiltermodel.o moc_deletionconfirmationdlg.o moc_statusbar.o moc_reverseresolution.o moc_speedlimitdlg.o moc_about_imp.o moc_previewselect.o moc_previewlistdelegate.o moc_downloadfromurldlg.o moc_trackerlogin.o moc_sessionapplication.o moc_torrentimportdlg.o moc_executionlog.o moc_updownratiodlg.o moc_loglistwidget.o moc_addnewtorrentdialog.o moc_autoexpandabledialog.o moc_statsdialog.o moc_messageboxraised.o moc_statussortfilterproxymodel.o qrc_icons.o qrc_lang.o qrc_about.o qrc_webui.o qrc_lineeditimages.o qrc_search.o    -L/usr/lib64/qt4 -lssl -lcrypto -lz -lQtSolutions_SingleApplication-2.6 -lQtSolutions_LockedFile-2.4 -ltorrent-rasterbar -lboost_system-mt -lQtDBus -L/usr/lib64/qt4 -lQtXml -lQtGui -lEGL -lQtNetwork -lQtCore -lpthread 
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: warning: libboost_system.so.1.56.0, needed by /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../lib64/libtorrent-rasterbar.so, may conflict with libboost_system.so.1.62.0
qbtsession.o: In function `_GLOBAL__sub_I__ZN15TorrentTempData4dataE':
qbtsession.cpp:(.text.startup+0x83): undefined reference to `boost::asio::ssl::error::get_stream_category()'
Comment 10 charles17 2017-03-11 06:50:16 UTC
 net-p2p/qbittorrent-3.3.10 finally solved it.