LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-26-2021, 11:38 PM   #1
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Rep: Reputation: 34
KDE x64 current bug reports


I have 3 bugs to report on KDE x64 current. See attachments.

The first one is related to some packages that were built outputting their executables into /usr/lib64 instead of /usr/bin.

The second one (maybe an upstream issue) is dolphin's internal search not always finding text inside files.

The third one is dolphin's internal search crashing kdeinit5 when searching from the /.

Thanks for the hard work. Building KDE is something, I know!
Attached Thumbnails
Click image for larger version

Name:	bin-in-lib64.png
Views:	85
Size:	148.6 KB
ID:	37292   Click image for larger version

Name:	kde-broken-search.png
Views:	72
Size:	92.8 KB
ID:	37293   Click image for larger version

Name:	kde-search-crash.png
Views:	68
Size:	100.8 KB
ID:	37294  
 
Old 09-28-2021, 08:41 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,386

Rep: Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105
Quote:
Originally Posted by fulalas View Post
I have 3 bugs to report on KDE x64 current. See attachments.

The first one is related to some packages that were built outputting their executables into /usr/lib64 instead of /usr/bin.

The second one (maybe an upstream issue) is dolphin's internal search not always finding text inside files.

The third one is dolphin's internal search crashing kdeinit5 when searching from the /.

Thanks for the hard work. Building KDE is something, I know!


1) these binaries have nothing to do in /usr/bin, they are just backends for plasma ( baloo_file_extractor, drkonqi, xdg-desktop-portal-kde, etc...)

2) Dolphin consider these files as "PAK archive" not "ASCII text". (see screenshot 1)
edit : because the first line of each file starts with the word "PACKAGE"

3) No issue here. Are you running plasma-x11 or plasma-wayland ? (see screenshot 2)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20210928_153915.png
Views:	35
Size:	18.3 KB
ID:	37302   Click image for larger version

Name:	Screenshot_20210928_153723.png
Views:	34
Size:	13.4 KB
ID:	37303  

Last edited by marav; 09-28-2021 at 09:18 AM.
 
1 members found this post helpful.
Old 09-28-2021, 05:05 PM   #3
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Original Poster
Rep: Reputation: 34
Quote:
Originally Posted by marav View Post
1) these binaries have nothing to do in /usr/bin, they are just backends for plasma ( baloo_file_extractor, drkonqi, xdg-desktop-portal-kde, etc...)
AFAIK, /usr/lib64 should not have executable files but only libraries (hence the name). And Kubuntu is coherent in this regard (I checked it). To fix this is just a matter of changing variables in the building script.

Quote:
Originally Posted by marav View Post
2) Dolphin consider these files as "PAK archive" not "ASCII text". (see screenshot 1)
edit : because the first line of each file starts with the word "PACKAGE"
I haven't tried this on Kubuntu, but maybe is an upstream issue/limitation, yeah.

Quote:
Originally Posted by marav View Post
3) No issue here. Are you running plasma-x11 or plasma-wayland ? (see screenshot 2)
X11. You can easily replicate this issue using Slackware live.

Thanks!
 
Old 09-29-2021, 01:31 AM   #4
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,386

Rep: Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105
Quote:
Originally Posted by fulalas View Post
AFAIK, /usr/lib64 should not have executable files but only libraries (hence the name). And Kubuntu is coherent in this regard (I checked it). To fix this is just a matter of changing variables in the building script.
This is where Ubuntu put drkonqi binary (e.g.), same for Debian:
Code:
/usr/lib/x86_64-linux-gnu/libexec/drkonqi
And archlinux :
Code:
/usr/lib/drkonqi
And it's the same for all this kind of binary

Quote:
Originally Posted by fulalas View Post
I haven't tried this on Kubuntu, but maybe is an upstream issue/limitation, yeah.
My thought : upstream issue must be reported upstream

Quote:
Originally Posted by fulalas View Post
X11. You can easily replicate this issue using Slackware live.
Slackware Live is not officialy supported by SlackwareŽ
Anyway, no issue here with a Slackware installation with x11

Last edited by marav; 09-29-2021 at 01:45 AM.
 
Old 09-29-2021, 01:55 AM   #5
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,525

Rep: Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354
Quote:
Originally Posted by marav View Post
This is where Ubuntu put drkonqi binary (e.g.), same for Debian:
Code:
/usr/lib/x86_64-linux-gnu/libexec/drkonqi
And archlinux :
Code:
/usr/lib/drkonqi
And it's the same for all this kind of binary
Yeah, BUT on Debian and Ubuntu, they use this "/usr/lib/x86_64-linux-gnu" structure concept (I guess for multi-multilib), so translating on Slackware-ish, this would be "/usr/libexec"

I tell you this as a long term Ubuntunian which I am.

In my humble opinion, there: /usr/libexec is where should go Plasma5 backends, services and alike on Slackware.

It's quite strange to find /usr/lib64/xdg-desktop-portal-kde which is a DBUS service, after all...

Yes, looks like we have some issues on packaging Plasma5, at least.

If Arch does the same packaging mistakes, this is another story.

Last edited by LuckyCyborg; 09-29-2021 at 02:06 AM.
 
Old 09-29-2021, 02:32 AM   #6
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 327

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
About issue 3: this has been fixed recently and as far as i can see the latest slackware live if from 2021-09-08, so it probably doesn't contain the fix yet.
 
2 members found this post helpful.
Old 09-29-2021, 02:59 AM   #7
ctrlaltca
Member
 
Registered: May 2019
Location: Italy
Distribution: Slackware
Posts: 327

Rep: Reputation: 365Reputation: 365Reputation: 365Reputation: 365
About issue 2, Doplhin uses Freedesktop's shared mime database to detect file types (https://specifications.freedesktop.o...ec-latest.html)
We can fix it just by adding a definition for Slackware package logs, like this one:
Code:
<?xml version="1.0"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
  <mime-type type="application/vnd.slackware.package.log">
    <comment>Slackware Package Log</comment>
    <sub-class-of type="text/plain"/>
    <generic-icon name="text-x-generic"/>
    <magic priority="99">
      <match offset="0" type="string" value="PACKAGE NAME:"/>
    </magic>
  </mime-type>
</mime-info>
Save it as /usr/share/mime/packages/application-vnd-slackware-package-log.xml and then run
Code:
sudo /usr/bin/update-mime-database /usr/share/mime
Now Dolphin will correctly detect those files as text files, so they will be included in searches and opened by default with a text editor (see attached picture)
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20210929_095732.png
Views:	26
Size:	67.7 KB
ID:	37316  
 
Old 09-29-2021, 05:23 AM   #8
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,386

Rep: Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105
and here it is

issue 1 : not an issue, except for Ubuntu & LuckyCyborg 😊
Joking aside, I don't really have the expertise to determine whether this is the case or not.

issue 2 : fixed

issue 3 : fixed
 
Old 09-29-2021, 06:06 AM   #9
fulalas
Member
 
Registered: Jun 2017
Posts: 148

Original Poster
Rep: Reputation: 34
Yeah, on Kubuntu some of these executable files are inside /usr/bin, some are inside /usr/lib/x86_64-linux-gnu/libexec (see attachments).

Regarding dolphin's search not finding inside files, I appreciate the effort, but I was not thinking about fixing the issue for any specific file type. The idea would be make it read inside all file types. But it seems like an upstream issue anyway, so never mind.

I've just tested Slackware current again and indeed searching from / isn't crashing kdeinit5 anymore.

Thank you, guys!
Attached Thumbnails
Click image for larger version

Name:	kubuntu01.png
Views:	14
Size:	102.9 KB
ID:	37319   Click image for larger version

Name:	kubuntu02.png
Views:	13
Size:	114.0 KB
ID:	37320  
 
Old 09-29-2021, 01:50 PM   #10
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,515

Rep: Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481
Comparing the cmake files in Plasma to the ones we had for Slackware 14.2's KDE4, I see that we never previously declared -DKDE_INSTALL_LIBEXECDIR=lib$LIBDIRSUFFIX. And, I also see the issue came up for discussion on Alien BOB's blog a couple years ago.

I'm not opposed to removing those lines and letting the binaries be installed to the upstream default locations. It looks like that would generally be /usr/lib${LIBDIRSUFFIX}/libexec.

I doubt there would be any functional difference, but at least the executables would be out of the library path directory. Probably it would be best to recompile all of Plasma just to be sure that nothing would still look for the files in the old locations.

Any thoughts about this, folks?
 
Old 09-29-2021, 02:47 PM   #11
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,525

Rep: Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354
Quote:
Originally Posted by volkerdi View Post
Comparing the cmake files in Plasma to the ones we had for Slackware 14.2's KDE4, I see that we never previously declared -DKDE_INSTALL_LIBEXECDIR=lib$LIBDIRSUFFIX. And, I also see the issue came up for discussion on Alien BOB's blog a couple years ago.

I'm not opposed to removing those lines and letting the binaries be installed to the upstream default locations. It looks like that would generally be /usr/lib${LIBDIRSUFFIX}/libexec.

I doubt there would be any functional difference, but at least the executables would be out of the library path directory. Probably it would be best to recompile all of Plasma just to be sure that nothing would still look for the files in the old locations.

Any thoughts about this, folks?
Mr. Volkerding, I see that Slackware already uses /usr/libexec and there are lots of binaries from various packages, starting with the almighty Xorg: /usr/libexec/Xorg and its wrapper.

How about to be used -DKDE_INSTALL_LIBEXECDIR=libexec or -DKDE_INSTALL_LIBEXECDIR=/usr/libexec ?

True, at my limited experience I am unable to evaluate the impact to multilib of this setup, but looks like multilib somehow already survive even with those many binaries on /usr/libexec .

Last edited by LuckyCyborg; 09-29-2021 at 02:59 PM.
 
2 members found this post helpful.
Old 09-29-2021, 03:27 PM   #12
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,386

Rep: Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105Reputation: 4105
Quote:
Originally Posted by LuckyCyborg View Post
Mr. Volkerding, I see that Slackware already uses /usr/libexec and there are lots of binaries from various packages, starting with the almighty Xorg: /usr/libexec/Xorg and its wrapper.

How about to be used -DKDE_INSTALL_LIBEXECDIR=libexec or -DKDE_INSTALL_LIBEXECDIR=/usr/libexec ?

True, at my limited experience I am unable to evaluate the impact to multilib of this setup, but looks like multilib somehow already survive even with those many binaries on /usr/libexec .
It's more about of consistency, as long as there are no real functional issues.
So I agree with /usr/libexec
 
Old 09-29-2021, 03:30 PM   #13
LuckyCyborg
Senior Member
 
Registered: Mar 2010
Posts: 3,525

Rep: Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354Reputation: 3354
Quote:
Originally Posted by marav View Post
It's more about of consistency, as long as there are no real functional issues.
So I agree with /usr/libexec
I know. Call me Perfectionist - you will not be the first.
 
Old 09-29-2021, 04:11 PM   #14
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,338

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Some time i write in some part something similar to /usr/share ,,, all plasma apps make

/usr/share/APP

instead of all go into


/usr/share/plasma/APPS or similar , i remeber in kde4 we have all stuff under

/usr/share/kde4

but now a million of new folders with shared objects from plasma , instead all in one place , im no sure if we can do similar like kde4 and put all shared things under /usr/share/plasma
 
Old 09-29-2021, 06:54 PM   #15
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,515

Rep: Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481Reputation: 8481
Quote:
Originally Posted by LuckyCyborg View Post
Mr. Volkerding, I see that Slackware already uses /usr/libexec and there are lots of binaries from various packages, starting with the almighty Xorg: /usr/libexec/Xorg and its wrapper.

How about to be used -DKDE_INSTALL_LIBEXECDIR=libexec or -DKDE_INSTALL_LIBEXECDIR=/usr/libexec ?

True, at my limited experience I am unable to evaluate the impact to multilib of this setup, but looks like multilib somehow already survive even with those many binaries on /usr/libexec .
I'd rather not specify a new location. If this one is no good, then let's fall back on the upstream default.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
FFMPEG for APACHE 2.4.6 (x64), PHP 5.5 (x64), MYSQL 5.6 (x64) on WINDOWS 8 (x64) Punctual Programming 3 08-07-2013 05:20 PM
[BUG] fglrx doesnt build package anymore on slackware-current x64 anti_user Slackware 5 04-11-2013 09:37 PM
OpenSuse 11.2 x64 - just installed along side Win 7 x64 - major prob Linux side thoug KL51 SUSE / openSUSE 7 12-11-2009 05:18 AM
LVM needs e2fsck after Upgrade from Kubuntu 8.10 x64 to 9.04 x64 don_wombat_73 Linux - Newbie 6 04-30-2009 04:13 PM
can i run linux mandriver x64 with windows x64 bit if so wich one should i install fi malmac2000 Linux - Software 2 04-26-2006 07:04 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration