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

Aperta
#612 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
bash, linux
Ambito
desktop

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Nessun dato sulla lingua
Stelle
29
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di CachyOS/distribution

Tutte le issue di CachyOS/distribution

Issue simili

Altre issue su Desktop Dev

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.