Summary: | net-p2p/qbittorrent-3.1.12 fails with »Parse error at "BOOST_JOIN"« - dev-libs/boost-1.62.0-r1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | charles17 |
Component: | Current packages | Assignee: | Markos Chandras (RETIRED) <hwoarang> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hrabe, mahdi1234, qt, shaoran |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 530720 | ||
Bug Blocks: | 590244 | ||
Attachments: |
build.log
emerge --info emerge -pqv build.log my emerge --info A patch that worked for me |
Created attachment 461514 [details]
emerge --info
Created attachment 461516 [details]
emerge -pqv
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. 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.
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 Created attachment 461822 [details]
my emerge --info
my emerge --info
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. For the time being you can unmask =net-p2p/qbittorrent-3.3.7, which is being stabilized in bug 530720 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()' net-p2p/qbittorrent-3.3.10 finally solved it. |
Created attachment 461512 [details] build.log net-p2p/qbittorrent-3.1.12 fails to emerge