Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672556 - kde-frameworks/kcoreaddons-5.52.0-r1 - /usr/lib/qt5/bin/lconvert: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
Summary: kde-frameworks/kcoreaddons-5.52.0-r1 - /usr/lib/qt5/bin/lconvert: error while...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 671518 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-12-05 11:19 UTC by Peter Ulrich
Modified: 2018-12-16 16:37 UTC (History)
2 users (show)

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


Attachments
emerge info (emerge_info.txt,5.65 KB, text/plain)
2018-12-05 11:24 UTC, Peter Ulrich
Details
the emerge call (emerge_call_verbose.txt,90 bytes, text/plain)
2018-12-05 11:26 UTC, Peter Ulrich
Details
build log (file_672556.txt,61.71 KB, text/plain)
2018-12-05 11:44 UTC, Peter Ulrich
Details
new build.log (file_672556.txt,52.03 KB, text/plain)
2018-12-15 22:14 UTC, Peter Ulrich
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Ulrich 2018-12-05 11:19:17 UTC
does not merge
Comment 1 Peter Ulrich 2018-12-05 11:24:26 UTC
Created attachment 557104 [details]
emerge info
Comment 2 Peter Ulrich 2018-12-05 11:26:52 UTC
Created attachment 557106 [details]
the emerge call
Comment 3 Peter Ulrich 2018-12-05 11:44:11 UTC
Created attachment 557108 [details]
build log
Comment 4 Andreas Sturmlechner gentoo-dev 2018-12-05 18:39:20 UTC
That error does not really make sense to me. It looks as if libQtCore.so.5 had somehow been invalidated during build of kcoreaddons - did you run a second emerge job during build of kcoreaddons? Can you try without ccache?
Comment 5 wbrana 2018-12-06 13:27:23 UTC
I can see it after latest upgrade of Qt libs

openat(AT_FDCWD, "/usr/lib64/libQt5Core.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\260n\t\0\0\0\0\0"..., 832) = 832
lseek(3, 4856748, SEEK_SET)             = 4856748
read(3, "\4\0\0\0\20\0\0\0\1\0\0\0GNU\0\0\0\0\0\4\0\0\0\v\0\0\0\0\0\0\0", 32) = 32
close(3)                                = 0
stat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=110592, ...}) = 0
writev(2, [{iov_base="qtcreator", iov_len=9}, {iov_base=": ", iov_len=2}, {iov_base="error while loading shared libra"..., iov_len=36}, {iov_base=": ", iov_len=2}, {iov_base="libQt5Core.so.5", iov_len=15}, {iov_base=": ", iov_len=2}, {iov_base="cannot open shared object file", iov_len=30}, {iov_base=": ", iov_len=2}, {iov_base="No such file or directory", iov_len=25}, {iov_base="\n", iov_len=1}], 10qtcreator: error while loading shared libraries: libQt5Core.so.5: cannot open shared object file: No such file or directory
) = 124
exit_group(127)                         = ?
+++ exited with 127 +++
Comment 6 Andreas Sturmlechner gentoo-dev 2018-12-06 13:28:46 UTC
(In reply to wbrana from comment #5)
> after latest upgrade of Qt libs
...and that is...?
Comment 7 wbrana 2018-12-06 15:24:27 UTC
dev-qt/qtcore-5.11.3
Comment 8 wbrana 2018-12-06 17:08:16 UTC
that workaround seems to help
https://bugs.gentoo.org/669994
Comment 9 Andreas Sturmlechner gentoo-dev 2018-12-12 13:41:46 UTC
In that case, please

$ equery l dev-qt/*
Comment 10 Peter Ulrich 2018-12-15 12:27:05 UTC
This is the result on my machine.
$ equery l dev-qt/*

 * Searching for * in dev-qt ...
[I--] [??] dev-qt/designer-4.8.7:4
[IP-] [  ] dev-qt/designer-5.9.6:5/5.9
[IP-] [  ] dev-qt/linguist-tools-5.11.1:5/5.11
[I--] [??] dev-qt/qt3support-4.8.7:4
[IP-] [  ] dev-qt/qtchooser-0_p20170803:0
[IP-] [  ] dev-qt/qtconcurrent-5.11.1:5/5.11
[I--] [??] dev-qt/qtcore-4.8.7-r4:4
[IP-] [  ] dev-qt/qtcore-5.11.1-r1:5/5.11
[I--] [??] dev-qt/qtdbus-4.8.7:4
[IP-] [  ] dev-qt/qtdbus-5.11.1:5/5.11
[I--] [??] dev-qt/qtdeclarative-4.8.7:4
[IP-] [  ] dev-qt/qtdeclarative-5.9.6:5/5.9
[IP-] [  ] dev-qt/qtgraphicaleffects-5.9.6:5/5.9
[I--] [??] dev-qt/qtgui-4.8.7:4
[IP-] [  ] dev-qt/qtgui-5.9.6:5/5.9
[I--] [??] dev-qt/qtmultimedia-4.8.6-r1:4
[IP-] [  ] dev-qt/qtmultimedia-5.9.6:5/5.9
[IP-] [  ] dev-qt/qtnetwork-5.11.1:5/5.11
[I--] [??] dev-qt/qtopengl-4.8.7:4
[IP-] [  ] dev-qt/qtopengl-5.9.6:5/5.9
[IP-] [  ] dev-qt/qtprintsupport-5.9.6:5/5.9
[IP-] [  ] dev-qt/qtquickcontrols-5.9.6:5/5.9
[IP-] [  ] dev-qt/qtquickcontrols2-5.9.6:5/5.9
[I--] [??] dev-qt/qtscript-4.8.7:4
[IP-] [  ] dev-qt/qtscript-5.11.1:5/5.11
[I--] [??] dev-qt/qtsql-4.8.7-r1:4
[IP-] [  ] dev-qt/qtsql-5.11.1-r1:5/5.11.1
[I--] [??] dev-qt/qtsvg-4.8.7:4
[IP-] [  ] dev-qt/qtsvg-5.9.6:5/5.9
[I--] [??] dev-qt/qttest-4.8.7:4
[IP-] [  ] dev-qt/qttest-5.11.1:5/5.11
[I--] [??] dev-qt/qttranslations-4.8.7:4
[I--] [??] dev-qt/qtwebkit-4.10.4:4
[IP-] [  ] dev-qt/qtwebkit-5.212.0_pre20180120:5/5.212
[IP-] [  ] dev-qt/qtwidgets-5.9.6-r1:5/5.9
[IP-] [  ] dev-qt/qtx11extras-5.9.6:5/5.9
[IP-] [  ] dev-qt/qtxml-5.11.1:5/5.11
[I--] [??] dev-qt/qtxmlpatterns-4.8.7:4
[IP-] [  ] dev-qt/qtxmlpatterns-5.11.1:5/5.11
Comment 11 Andreas Sturmlechner gentoo-dev 2018-12-15 12:29:04 UTC
You have a mixed Qt-5.9.6/Qt-5.11.1 system. This is a recipe for failure.

Please *fully* update your system, as Qt-5.9.6 is gone already.
Comment 12 Peter Ulrich 2018-12-15 22:13:56 UTC
I am trying.
Now I have the following output.
[IP-] [  ] dev-qt/linguist-tools-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtchooser-0_p20170803:0
[IP-] [  ] dev-qt/qtconcurrent-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtcore-5.11.1-r1:5/5.11
[IP-] [  ] dev-qt/qtdbus-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtnetwork-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtscript-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtsql-5.11.1-r1:5/5.11.1
[IP-] [  ] dev-qt/qttest-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtwebkit-5.212.0_pre20180120:5/5.212
[IP-] [  ] dev-qt/qtxml-5.11.1:5/5.11
[IP-] [  ] dev-qt/qtxmlpatterns-5.11.1:5/5.11

Unmerged net-misc/dropbox-58.3.88 that provided a libQt5Core.so.5

Unmerged dev-qt/qtcore-5.11.1-r1 that provided a libQt5Core.so.5

Unmerged dev-qt/linguist-tools-5.11.1 that provided /usr/lib/qt5/bin/lconvert that was part of the error message

world update then emerged 
dev-qt/qtcore-5.11.1-r1
dev-qt/linguist-tools-5.11.1
and then failed for
kde-frameworks/kcoreaddons-5.52.0-r1
(see attachement)
Comment 13 Peter Ulrich 2018-12-15 22:14:23 UTC
Created attachment 557874 [details]
new build.log
Comment 14 Peter Ulrich 2018-12-15 22:18:06 UTC
I have also disabled ccache in /etc/make.conf:
FEATURES="-collision-detect -protect-owned parallel-fetch nostrip"

with "emerge --skipfirst" the same problem happens for kcodecs.
Comment 15 Andreas Sturmlechner gentoo-dev 2018-12-16 09:19:21 UTC
You are (all?) using really old kernels, which seems to be the root cause of this issue. Please try again after upgrading to >=linux-headers-4.11.
Comment 16 Andreas Sturmlechner gentoo-dev 2018-12-16 09:23:01 UTC
*** Bug 671518 has been marked as a duplicate of this bug. ***
Comment 17 wbrana 2018-12-16 12:22:04 UTC
there is no downloadable grsec kernel which is newer that 4.9
Comment 18 Andreas Sturmlechner gentoo-dev 2018-12-16 12:26:18 UTC
(In reply to wbrana from comment #17)
> there is no downloadable grsec kernel which is newer that 4.9
I'm afraid that's over and done with, anyway. You should switch to a different kernel.
Comment 19 Peter Ulrich 2018-12-16 16:37:07 UTC
upgrading the kernel first solved the issue for me.