Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651902 - dev-qt/qtxml-5.9.4 cannot find -lQt5Core
Summary: dev-qt/qtxml-5.9.4 cannot find -lQt5Core
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-29 10:24 UTC by mbe
Modified: 2018-05-11 11:33 UTC (History)
0 users

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


Attachments
info.txt (info.txt,6.28 KB, text/plain)
2018-03-29 10:24 UTC, mbe
Details
build.log (build.log,89.58 KB, text/plain)
2018-03-29 10:24 UTC, mbe
Details
env.log (env.log,118.78 KB, text/plain)
2018-03-29 10:24 UTC, mbe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mbe 2018-03-29 10:24:16 UTC
Created attachment 526032 [details]
info.txt

Hello, 

it crashes here:

x86_64-pc-linux-gnu-g++ -c -O2 -pipe -march=x86-64 -mtune=generic -std=c++1z -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -Wvla -Wdate-time -Wshift-overflow=2 -Wduplicated-cond -D_REENTRANT -fPIC -DQT_NO_USING_
NAMESPACE -DQT_NO_FOREACH -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_BUILD_XML_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED
_BEFORE=0x050000 -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I../../include -I../../include/QtXml -I../../include/QtXml/5.9.4 -I../../include/QtXml/5.9.4/QtXml -isystem /usr/include/qt5/Qt
Core/5.9.4 -isystem /usr/include/qt5/QtCore/5.9.4/QtCore -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtCore -I.moc -I../../mkspecs/linux-g++ -o .obj/qxml.o sax/qxml.cpp
rm -f libQt5Xml.so.5.9.4 libQt5Xml.so libQt5Xml.so.5 libQt5Xml.so.5.9
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--version-script,QtXml.version -Wl,--enable-new-dtags -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5Xml.so.5 -o libQt5Xml.so.5.9.4 .obj/qdom.o .obj/qxml.o  -lQt5C
ore -lpthread
/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lQt5Core
collect2: error: ld returned 1 exit status
make: *** [Makefile:135: ../../lib/libQt5Xml.so.5.9.4] Error 1
Comment 1 mbe 2018-03-29 10:24:43 UTC
Created attachment 526034 [details]
build.log
Comment 2 mbe 2018-03-29 10:24:59 UTC
Created attachment 526036 [details]
env.log
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2018-03-29 14:41:18 UTC
hmm why is there a newline between "-lQt5C" and "ore"?
Comment 4 mbe 2018-04-25 11:42:50 UTC
btw, i have fixed this issue with a command:

chmod o=+rx /usr/lib64/libQt5Core.so.5.9.4

Aften then, the package is compiled sucessfully.
Comment 5 mbe 2018-05-11 11:33:52 UTC
Fixed.