Summary: | dev-qt/qtwebkit-5.5.1-r1 fails to build (ld error; undefined reference) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Grant Goodyear <g2boojum> |
Component: | [OLD] Library | Assignee: | Qt Bug Alias <qt> |
Status: | VERIFIED INVALID | ||
Severity: | normal | CC: | mmokrejs, StefanKalis |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | environment |
Description
Grant Goodyear
2016-01-20 19:53:40 UTC
Created attachment 423450 [details]
environment
The full build log is 20MB in size, so skipping....
Well, crud. I can't copy-and-paste. I pasted "emerge --info" into the end of the build failure. Here's the build failure without doing that silliness: x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined -Wl,--no-undefined -fdebug-types-section -fuse-ld=gold -Wl,--enable-new-dtags -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5WebKit.so.5 -o libQt5WebKit.so.5.5.1 -lQt5Gui -lQt5Core -lpthread -lQt5Network -lQt5Core -lpthread -lQt5Core -lpthread -lpthread -Wl,-whole-archive -lWebKit1 -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/WebKit/ -Wl,-whole-archive -lWebKit2 -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/WebKit2/ -lrt -Wl,-whole-archive -lWebCore -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/WebCore/ -lz -lXrender -lXcomposite -lXrender -lleveldb -lmemenv -ljpeg -lpng -Wl,-whole-archive -lANGLE -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/ThirdParty/ANGLE/ -Wl,-whole-archive -lJavaScriptCore -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/JavaScriptCore/ -Wl,-whole-archive -lWTF -Wl,-no-whole-archive -L/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/WTF/ -lXext -lX11 -lm -lX11 -lxslt -lxml2 -lz -lm -ldl -lm -lxml2 -lxml2 -lsqlite3 -licui18n -licuuc -licudata -lQt5Sql -lQt5Core -lpthread -lQt5Gui -lQt5Core -lpthread -lQt5Network -lQt5Core -lpthread -lQt5Core -lpthread -lGL /var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/WebCore//libWebCore.a(/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/WebCore//.obj/platform/leveldb/LevelDBDatabase.o):LevelDBDatabase.cpp:function WebCore::openDB(leveldb::Comparator*, leveldb::Env*, WTF::String const&, leveldb::DB**) [clone .constprop.34]: error: undefined reference to 'leveldb::DB::Open(leveldb::Options const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, leveldb::DB**)' /var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/WebCore//libWebCore.a(/var/tmp/portage/dev-qt/qtwebkit-5.5.1-r1/work/qtwebkit-opensource-src-5.5.1/Source/WebCore//.obj/platform/leveldb/LevelDBDatabase.o):LevelDBDatabase.cpp:function WebCore::LevelDBDatabase::destroy(WTF::String const&): error: undefined reference to 'leveldb::DestroyDB(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, leveldb::Options const&)' collect2: error: ld returned 1 exit status GCC 5.3.0 - did you run the upgrade as seen in the news? Did it finish successfully? (In reply to Andreas Sturmlechner from comment #3) > GCC 5.3.0 - did you run the upgrade as seen in the news? Did it finish > successfully? Oh, right. Yes, I did, multiple times over the course of a week or so, but no, it never did. And then I forgot about it. I'll try again. Thanks! If it failed multiple times, it might be worth to check out the failing packages? This is GCC 5 fallout - please rebuild dev-libs/leveldb. And that did the trick. Thank you very much! Good, but that doesn't change the fact that this is not a bug, therefore the appropriate resolution is "invalid". Oops! That was unintentional. I must have hit the drop-down by accident, since I certainly wasn't trying to change the status. (In reply to Grant Goodyear from comment #9) > Oops! That was unintentional. I must have hit the drop-down by accident, > since I certainly wasn't trying to change the status. s/status/resolution/ *** Bug 581724 has been marked as a duplicate of this bug. *** *** Bug 603322 has been marked as a duplicate of this bug. *** Right, re-emerging dev-libs/leveldb helped me as well to compile dev-qt/qtwebkit-5.5.1 using gcc-5.4.0. Thanks, haven't found this in bugzilla. |