-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qBittorrent 3.3.12 fails to compile on Gentoo Linux: no such file ui_bandwidth_limit.h #6634
Comments
I just tried building qBittorrent 3.3.12 with libtorrent-rasterbar 1.1.3, but with all other details the same, and I got the exact same error again. |
Check #6623 |
Converting that pull to a patch and applying it to the 3.3.12 source code fails at a few places, specifically this is what I get with patching file src/gui/CMakeLists.txt
Hunk #1 succeeded at 132 (offset -3 lines).
patching file src/gui/properties/CMakeLists.txt
Hunk #1 succeeded at 42 with fuzz 2.
patching file src/gui/mainwindow.cpp
patching file src/gui/properties/peerlistwidget.cpp
Hunk #2 succeeded at 56 (offset 2 lines).
patching file src/gui/properties/peersadditiondlg.cpp
Hunk #1 FAILED at 28.
Hunk #2 succeeded at 54 (offset 2 lines).
1 out of 2 hunks FAILED -- saving rejects to file src/gui/properties/peersadditiondlg.cpp.rej
patching file src/gui/properties/peersadditiondlg.h
patching file src/gui/properties/propertieswidget.cpp
Hunk #1 FAILED at 64.
Hunk #2 succeeded at 159 (offset 7 lines).
Hunk #3 succeeded at 186 (offset 7 lines).
Hunk #4 succeeded at 223 (offset 7 lines).
Hunk #5 succeeded at 237 (offset 7 lines).
Hunk #6 succeeded at 277 (offset 7 lines).
Hunk #7 FAILED at 304.
Hunk #8 succeeded at 352 (offset 7 lines).
Hunk #9 succeeded at 373 (offset 7 lines).
Hunk #10 succeeded at 391 (offset 7 lines).
Hunk #11 succeeded at 412 (offset 7 lines).
Hunk #12 succeeded at 464 (offset 7 lines).
Hunk #13 succeeded at 490 (offset 7 lines).
Hunk #14 succeeded at 507 (offset 7 lines).
Hunk #15 succeeded at 577 (offset 7 lines).
Hunk #16 succeeded at 593 (offset 7 lines).
Hunk #17 succeeded at 618 (offset 7 lines).
Hunk #18 succeeded at 641 (offset 7 lines).
Hunk #19 succeeded at 669 (offset 7 lines).
Hunk #20 succeeded at 789 (offset 7 lines).
Hunk #21 succeeded at 804 (offset 7 lines).
Hunk #22 succeeded at 818 (offset 7 lines).
Hunk #23 succeeded at 832 (offset 7 lines).
Hunk #24 succeeded at 845 (offset 7 lines).
Hunk #25 succeeded at 858 (offset 7 lines).
Hunk #26 succeeded at 890 (offset 7 lines).
2 out of 26 hunks FAILED -- saving rejects to file src/gui/properties/propertieswidget.cpp.rej
patching file src/gui/properties/propertieswidget.h
patching file src/gui/properties/proplistdelegate.cpp
Hunk #2 succeeded at 49 (offset 4 lines).
patching file src/gui/properties/trackerlist.cpp
Hunk #2 succeeded at 55 (offset 2 lines).
patching file src/gui/properties/trackersadditiondlg.cpp
patching file src/gui/properties/trackersadditiondlg.h
patching file src/gui/rss/rss_imp.cpp
Hunk #16 FAILED at 704.
1 out of 18 hunks FAILED -- saving rejects to file src/gui/rss/rss_imp.cpp.rej
patching file src/gui/rss/rss_imp.h
patching file src/gui/search/pluginselectdlg.cpp
Hunk #2 succeeded at 52 (offset 2 lines).
Hunk #3 FAILED at 63.
Hunk #4 succeeded at 106 (offset 3 lines).
Hunk #5 succeeded at 162 (offset 3 lines).
Hunk #6 succeeded at 174 (offset 3 lines).
Hunk #7 succeeded at 193 (offset 3 lines).
Hunk #8 succeeded at 217 (offset 3 lines).
Hunk #9 succeeded at 236 (offset 3 lines).
Hunk #10 succeeded at 246 (offset 3 lines).
Hunk #11 succeeded at 257 (offset 3 lines).
Hunk #12 succeeded at 269 (offset 3 lines).
1 out of 12 hunks FAILED -- saving rejects to file src/gui/search/pluginselectdlg.cpp.rej
patching file src/gui/search/pluginselectdlg.h
patching file src/gui/search/pluginsourcedlg.cpp
patching file src/gui/search/pluginsourcedlg.h
patching file src/gui/search/searchwidget.cpp
patching file src/gui/search/searchwidget.h
patching file src/gui/speedlimitdlg.cpp
patching file src/gui/speedlimitdlg.h
patching file src/gui/statusbar.cpp and yes I did delete the .travis.yml changes in the patch (as they're irrelevant to compiling the code manually). |
I edited my ebuild to build qBittorrent from 2def21a51bdc396412b4a2eb568f6094989b1604 and although it fixes the error I started this issue with, I end up getting this error at the end of the compilation: [100%] Linking CXX executable qbittorrent
cd /var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build/src/app && /usr/bin/cmake -E cmake_link_script CMakeFiles/qbittorrent.dir/link.txt --verbose=1
/usr/bin/x86_64-pc-linux-gnu-g++ -O2 -pipe -Wl,-O1 -Wl,--as-needed CMakeFiles/qbittorrent.dir/application.cpp.o CMakeFiles/qbittorrent.dir/filelogger.cpp.o CMakeFiles/qbittorrent.dir/options.cpp.o CMakeFiles/qbittorrent.dir/main.cpp.o CMakeFiles/qbittorrent.dir/qrc_icons.cpp.o CMakeFiles/qbittorrent.dir/qrc_lang.cpp.o CMakeFiles/qbittorrent.dir/qbittorrent_autogen/moc_compilation.cpp.o CMakeFiles/qbittorrent.dir/qbittorrent_autogen/FXUJ2XFZ72/qrc_lineeditimages.cpp.o CMakeFiles/qbittorrent.dir/qbittorrent_autogen/TUYZJ7PCOQ/qrc_about.cpp.o -o qbittorrent ../base/libqbt_base.a ../gui/search/libqbt_searchengine.a ../gui/libqbt_gui.a /usr/lib/libQt5Solutions_SingleApplication-2.6.so ../gui/search/libqbt_searchengine.a ../gui/lineedit/libqbt_lineedit.a ../gui/powermanagement/libqbt_powermanagement.a ../gui/rss/libqbt_rss.a ../gui/properties/libqbt_properties.a ../base/libqbt_base.a /usr/lib/libz.so /usr/lib64/libtorrent-rasterbar.so /usr/lib64/libtorrent-rasterbar.so -lpthread /usr/lib/libboost_system-mt.so /usr/lib64/libssl.so /usr/lib64/libcrypto.so /usr/lib64/libQt5Network.so.5.7.1 /usr/lib64/libQt5Xml.so.5.7.1 /usr/lib64/libQt5Widgets.so.5.7.1 /usr/lib64/libQt5Gui.so.5.7.1 /usr/lib64/libQt5Concurrent.so.5.7.1 ../gui/qtnotify/libqbt_qtnotify.a /usr/lib64/libQt5DBus.so.5.7.1 /usr/lib64/libQt5Core.so.5.7.1
../base/libqbt_base.a(session.cpp.o): In function `BitTorrent::Session::getPendingAlerts(std::vector<libtorrent::alert*, std::allocator<libtorrent::alert*> >&, unsigned long)':
session.cpp:(.text+0x306d): undefined reference to `libtorrent::session_handle::wait_for_alert(std::chrono::duration<long, std::ratio<1l, 1000000000l> >)'
collect2: error: ld returned 1 exit status
make[2]: *** [src/app/CMakeFiles/qbittorrent.dir/build.make:961: src/app/qbittorrent] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build'
make[1]: *** [CMakeFiles/Makefile2:119: src/app/CMakeFiles/qbittorrent.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-p2p/qbittorrent-3.3.12/work/qbittorrent-3.3.12_build'
make: *** [Makefile:130: all] Error 2 |
Oh I managed to get the build to work by reverting libtorrent-rasterbar back to 1.0.11 (as opposed to the latest 1.1.3). |
#6648 contains backported fix. |
CMake 3.8 fixes for v3_3_x branch. Closes #6634.
Hi,
I'll just get the requested details out of the way:
libtorrent-rasterbar version:
1.0.11
Qt version:
5.7.1
The issue is that whenever I try to build qBittorrent using this ebuild I get the build error:
because I want to help yas help me as much as possible here is the output of
emerge --info ...
(which should tell you all relevant build options and a few other details like my kernel):the output of
emerge -pqv...
(which should tell you the USE flags I used to build this package, the ebuild should tell you what each USE flag does in terms of configuration options):[ebuild N ] net-p2p/qbittorrent-3.3.12 USE="X dbus -debug -webui"
Thanks for your time,
Brenton
The text was updated successfully, but these errors were encountered: