User:Xarvatium/Common Fixes

From Gentoo Wiki
Jump to:navigation Jump to:search
Note
Even though this page is in the user namespace, corrections and additions are much appreciated! This is simply wiki policy, this page can be moved to the main wiki as soon as it achieves critical mass more.

Just a place for me to put common fixes that I've probably forgotten. Want to add something? Feel free!

CMake wont compile on switch to clang/gcc profile

This happens because CMake was linked to a different libstdc++.

Note: One of few times that --unmerge is generally accepted.

root #emerge -1 dev-libs/jsoncpp
root #emerge --unmerge cmake
root #emerge -1 cmake

QBitTorrent fails to compile

This happens because net-p2p/qbittorrent only compiles with net-libs/libtorrent-rasterbar version 1.2.19+ or 2.0.9+ and the latest stable libtorrent-rasterbar version is 1.2.18 or 2.0.8, and the qbittorrent ebuild is currently unmaintained. To fix it:

Note
I believe that libtorrent-rasterbar has to be compiled with GCC in order for qbittorrent to pick up on it. I tested it on both and it seemed to turn out that way
root #echo "=net-libs/libtorrent-rasterbar-1.2.19 ~amd64" > /etc/portage/package.accept_keywords/libtorrent-rasterbar
root #emerge =net-libs/libtorrent-rasterbar-1.2.19
root #emerge qbittorrent