Monday, April 29, 2019

SOLVED: Re: No more KDE's dolphin after upgrade to 6.5

On 4/26/19 9:47 PM, Rafael Sadowski wrote:
> On Fri Apr 26, 2019 at 05:47:11PM +0200, Federico Giannici wrote:
>> On 4/26/19 4:10 PM, Rafael Sadowski wrote:
>>> On Thu Apr 25, 2019 at 01:34:24PM +0200, Federico Giannici wrote:
>>>> Similarly to konsole, KDE's dolphin no longer works too after upgrade of
>>>> amd64 from 6.4 to 6.5.
>>>>
>>>> It seems that dolphin was switched to KF5 too, ma I wasn't able to install
>>>> the new package:
>>>>
>>>> casa:/home/giannici# pkg_add dolphin-kf5
>>>> quirks-3.124 signed on 2019-04-15T12:10:16Z
>>>> Can't install dolphin-kf5-18.12.0p2 because of conflicts
>>>> (dolphin-plugins-4.14.3p1)
>>>> --- dolphin-kf5-18.12.0p2 -------------------
>>>> Can't install dolphin-kf5-18.12.0p2: conflicts
>>>> Couldn't install dolphin-kf5-18.12.0p2
>>>>
>>>> I cannot remove dolphin-plugins-4.14.3p1 because kdesdk depends on it, and
>>>> kde4 depends on kdesdk:
>>>>
>>>> casa:/home/giannici# pkg_delete dolphin-plugins
>>>> can't delete dolphin-plugins-4.14.3p1 without deleting kdesdk-4.14.3p3
>>>> Delete them as well ? [y/N/a]
>>>>
>>>> casa:/home/giannici# pkg_delete kdesdk
>>>> can't delete kdesdk-4.14.3p3 without deleting kde4-4.14.3p23
>>>> Delete them as well ? [y/N/a]
>>>>
>>>>
>>>> Without dolphin and konsole it's really hard to comfortably use KDE. So,
>>>> please can anybody tell me what is the supposed way to use dolphin (and
>>>> konsole) with OpenBSD 6.5?
>>>>
>>>> Thanks.
>>>>
>>>
>>> That was a hidden run-time dependency in the KDE4/KDESDK meta package.
>>> I fixed this issue in -current ports tree. For -release I hope I can
>>> help with a non official -- use at own risk -- workaround:
>>>
>>> Use my own kde4-4.14.3p25 and kdesdk-4.14.3p4 packages:
>>> env TRUSTED_PKG_PATH=https://sizeofvoid.org/pub/OpenBSD/fix-kde4-meta-65/:https://ftp.openbsd.org/pub/OpenBSD/6.5/packages/ pkg_add -u kdesdk kde4
>>>
>>> If kde4-4.14.3p25 and/or kdesdk-4.14.3p4 was successfully installed you
>>> can remove dolphin-plugins-4.14.3p1 without pain and install
>>> dolphin-kf5-18.12.0 and dolphin-plugins-kf5-18.12.0.
>>>
>>> Good luck!
>>>
>>> RS
>>
>> Thank you for your interest.
>>
>> I was able to install your packages and finally dolphin-kf5-18.12.0 and
>> dolphin-plugins-kf5-18.12.0. I was able to install the konsole-18.12.0p0
>> package too. Unfortunately they both still don't work!
>>
>> Below are the errors.
>>
>> What else I can do?
>>
>> Thanks.
>>
>>
>>
>> casa:/home/giannici> pkg_info konsole
>> Information for inst:konsole-18.12.0p0
>>
>> Comment:
>> KDE terminal emulator
>>
>> Required by:
>> dolphin-kf5-18.12.0p2
>>
>> Description:
>> Konsole is an X terminal emulator for the KDE platform, allowing
>> users to have a convenient way to use the command line. Aside from
>> providing a way to use a powerful shell, Konsole also offers features
>> that make it easier or more pleasurable to work in the command line,
>> such as profile management, scrollback, and color schemes, including
>> translucency for effects.
>>
>> Konsole also provides an embedded KPart terminal which is used by
>> apps such as Yakuake, Dolphin, and Kate, giving users a consistent
>> and familiar interface when working in the command line.
>>
>> Maintainer: Rafael Sadowski <rsadowski@openbsd.org>
>>
>>
>> casa:/home/giannici> konsole
>> ld.so: konsole: can't load library 'libc++.so.1.0'
>> Killed
>>
>>
>>
>>
>>
>>
>> casa:/home/giannici# pkg_info dolphin-kf5
>> Information for inst:dolphin-kf5-18.12.0p2
>>
>> Comment:
>> KDE File Manager
>>
>> Required by:
>> dolphin-plugins-kf5-18.12.0p0
>>
>> Description:
>> Dolphin is a lightweight file manager. It has been designed with ease of use
>> and simplicity in mind, while still allowing flexibility and customisation.
>> This means that you can do your file management exactly the way you want to
>> do
>> it.
>>
>> Maintainer: Rafael Sadowski <rsadowski@openbsd.org>
>>
>>
>> casa:/home/giannici# dolphin
>> dolphin:/usr/local/lib/libattica.so.1.0: /usr/local/lib/libKF5Attica.so.3.3
>> : WARNING: symbol(_ZN6Attica15ProviderManager16staticMetaObjectE) size
>> mismatch, relink your program

[...]

>> dolphin:/usr/local/lib/libkdeinit5_dolphin.so: undefined symbol
>> '_ZNK14KItemModelBase9directoryEv'
>> dolphin(49958) in free(): bogus pointer (double free?) 0x1fedb10f330
>> Abort
>>
>
> I think something failed on your last update. You can try out out to
> update all packages with the following PKG_PATH example:
>
> env PKG_PATH=https://ftp.openbsd.org/pub/OpenBSD/6.5/packages/ pkg_add -u -v -Dinstalled
>
> It looks like you mixed packages for 6.4 and 6.5 and/or -current.
> Another try: run "pkg_add -X" to remove all your installed packages and
> install step by step what you need!

I tried that but didn't worked.

Anyway I found the problem with both dolphin and konsole: I think it was
caused by the change in version numbering of the "private" libraries.

In my system there were still around the 6.3 libraries (version 51):

-rw-r--r-- 1 root bin 1821661 Oct 12 2018 libdolphinprivate.so.51.0
-rw-r--r-- 1 root bin 1806868 Mar 28 2018 libkonsoleprivate.so.51.0

alongside the new ones, but with "0" version:

-rw-r--r-- 1 root bin 1720320 Apr 15 01:17 libdolphinprivate.so.0.1
-rw-r--r-- 1 root bin 1872672 Apr 14 20:12 libkonsoleprivate.so.0.0

As soon I removed the old ones, both dolphin and konsole worked!

Maybe it could be useful for other users to add a note in the upgrade
guide to 6.5?


Now, I still have some problems with dolphin, but that is another story
that I have to investigate more...

Thanks

No comments:

Post a Comment