[Bug]: deepin-file-manager 1:6.5.47.4-1.1 (CachyOS rebuild) — broken wrapper paths and "Invalid iid" plugin rejections

Open
#612 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
bash, linux
Domain
desktop

Research direction

Start by checking the deepin-file-manager package recipe and the installed file list against the wrapper paths and plugin IID metadata described in the report. Then inspect the wrapper’s line 20 regular expression; confirm the package launches its installed binary and accepts its core UI plugins, and verify the cosmetic warning is gone.

Written by the indexing model from the issue text.

Description

bug
Kernel

7.2.9-2-cachyos

Desktop Environment / Window Manager

Other (specify in additional context)

CPU

Intel Core i7-8700T

GPU / Driver

Intel UHD Graphics 630

Description

Problem 1 — wrapper scripts point at a nonexistent path
journalctl --user shows, repeatedly:
/usr/bin/file-manager.sh: line 7: /usr/libexec/dde-file-manager: No such file or directory
/usr/bin/file-manager.sh contains:
exec /usr/libexec/dde-file-manager $@
But the package installs the real binary at /usr/lib/dde-file-manager/dde-file-manager (verified with pacman -Ql deepin-file-manager, and the Arch upstream 1:6.5.47.4-1 file list agrees — the package contains no /usr/libexec paths at all). The launcher can therefore never find the binary, and nothing opens.
Workaround used: sudo ln -s /usr/lib/dde-file-manager/dde-file-manager /usr/libexec/dde-file-manager — after this, a window does appear.
Problem 2 — core plugins rejected with "Invalid iid"
After the symlink workaround, the window that appears is completely transparent and does not respond to input (it can only be moved by the window manager). This happens identically on X11 and Wayland. journalctl --user shows the daemon rejecting its own core plugins:
dde-file-manager-daemon[1982]: Invalid iid: "/usr/lib/dde-file-manager/plugins/filemanager-core/libdfm-smbbrowser-plugin.so" "org.deepin.plugin.filemanager"
dde-file-manager-daemon[1982]: Invalid iid: "/usr/lib/dde-file-manager/plugins/filemanager-core/libdfm-titlebar-plugin.so" "org.deepin.plugin.filemanager"
dde-file-manager-daemon[1982]: Invalid iid: "/usr/lib/dde-file-manager/plugins/filemanager-core/libdfm-trash-plugin.so" "org.deepin.plugin.filemanager"
dde-file-manager-daemon[1982]: Invalid iid: "/usr/lib/dde-file-manager/plugins/filemanager-core/libdfm-vault-plugin.so" "org.deepin.plugin.filemanager"
Note: upstream Deepin emits this "Invalid iid" warning by design when scanning plugins with unexpected IIDs (see linuxdeepin/dde-file-manager PR #2709), so the warning itself is not the bug. The bug is that this rebuild's plugins carry mismatched IIDs — and the same rebuild's wrapper scripts point at a nonexistent /usr/libexec/dde-file-manager — which points at the rebuild itself rather than the install.

Steps to Reproduce

Steps to reproduce
Install as described above.
Launch the file manager from the dock/launcher, or run dde-file-manager in a terminal.
Observe: no window appears at all.

Expected Behavior

the file manager opens a normal, working window.

Actual Behavior

(1) nothing launches at all because of the bad /usr/libexec wrapper path; (2) once that is worked around with a symlink, the window is transparent and hung because the core UI plugins are rejected with "Invalid iid".

Logs / Error Messages

unable to provide at this time.

Additional Context

Ruled out during diagnosis
Missing shared libraries: ldd on the binary and on libdfm-core-plugin.so shows nothing missing.
GPU/driver: identical behavior with QT_QUICK_BACKEND=software.
Qt platform theme: libqdeepin.so is present in the Qt6 platformthemes dir, and launching with QT_QPA_PLATFORMTHEME=deepin changes nothing.
Stale daemon/D-Bus state: daemon killed and relaunched; running the real binary directly (/usr/lib/dde-file-manager/dde-file-manager) produces the same result.
Mixed package versions: all installed deepin/* packages are at consistent 6.x versions (CachyOS rebuilds).

Additional cosmetic issue
/usr/bin/dde-file-manager (a bash wrapper) prints this on every launch:
/usr/bin/dde-file-manager: line 20: [[: invalid regular expression `[a-zA-Z0-9-_.~]': Invalid range end
Non-fatal, but worth fixing while the packaging is being touched.

Dominant language
No language data
Stars
29
Forks
3
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from CachyOS/distribution

All issues in CachyOS/distribution

Similar issues

More Desktop Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.