Bug 482393 - qtpaths6 is missing in qt6-base
Summary: qtpaths6 is missing in qt6-base
Status: RESOLVED FIXED
Alias: None
Product: neon
Classification: KDE Neon
Component: Packages User Edition (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Neon Bugs
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2024-03-04 15:48 UTC by tomkneiphof
Modified: 2024-03-12 09:44 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tomkneiphof 2024-03-04 15:48:15 UTC
SUMMARY
qtpaths6 is missing in qt6-base

STEPS TO REPRODUCE
1.  Run /usr/lib/qt6/qtpaths6

OBSERVED RESULT
No such file or directory

EXPECTED RESULT
Run qtpaths6

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.0
KDE Frameworks Version:  6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Comment 1 Méven Car 2024-03-06 08:22:37 UTC
In (k)ubuntu it is located at `/usr/bin/qtpaths6` in `qt6-base-dev-tools` package:
https://packages.ubuntu.com/noble/amd64/qt6-base-dev-tools/filelist
Comment 2 Marius P 2024-03-07 20:59:01 UTC
How to find in which Debian/Ubuntu deb file a certain file is located:

sudo apt install apt-file
sudo apt-file update
apt-file search qtpaths6
# Says:
# qt6-base-dev-tools: /usr/bin/qtpaths6     
# qt6-base-dev-tools: /usr/lib/qt6/bin/qtpaths6
Comment 3 tomkneiphof 2024-03-08 09:40:44 UTC
Maybe qt6-base-dev-tools is actually the correct package to contain qtpaths{6}.
I was just wondering, because `/usr/lib/qt6/bin/qtpaths` was present **without** the qt6-base-dev-tools packages and it symlinks to `/usr/lib/qt6/bin/qtpaths6`, which was not present...

Now I'm confused:
Using dpkg -S I get the following packages:
```
$ dpkg -S /usr/lib/qt6/bin/qtpaths
qt6-base: /usr/lib/qt6/bin/qtpaths
$ dpkg -S /usr/lib/qt6/bin/qtpaths6
qt6-base-dev: /usr/lib/qt6/bin/qtpaths6
```
Using apt-file I get the following packages:
```
$ apt-file search /usr/lib/qt6/bin/qtpaths
qt6-base-dev-tools: /usr/lib/qt6/bin/qtpaths
qt6-base-dev-tools: /usr/lib/qt6/bin/qtpaths6
$ apt-file search /usr/lib/qt6/bin/qtpaths6
qt6-base-dev-tools: /usr/lib/qt6/bin/qtpaths6
```

If apt-file is correct, then everything seems to be fine.
But if dpkg -S is correct, something is wrong.
One of those commands must be lying.
Comment 4 Carlos De Maine 2024-03-12 09:44:07 UTC
good catch.  debian packaging does indeed symlink certainly binaries in /usr/lib/qt6/bin out into /usr/bin/ with a 6 suffix to avoid clashes with past versions named the same.  i clumped them all together to simplify packaging but didn't take into account that if the qt6-base-dev metapackage wasn't installed the symlinks to dev binaries would dangle.  fixed with https://invent.kde.org/neon/qt6/qt6-base/-/commit/0cc81415aeaa773f8fb882607e2b6668f8e8eb64.