nextcloud-client: VFS plugins installed where the client does not search
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 70/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- linux
- 領域
- build-system
調査の方向性
nextcloud-client パッケージの定義とインストール先を調べ、クライアントが検索する Qt6 プラグインディレクトリと比較します。提供されている xbps-query および strace コマンドで検索を再現します。完了条件は、クリーンインストールによって VFS プラグインが nextcloud の検索先に配置され、手動でシンボリックリンクを作成しなくても仮想ファイルが利用可能になることです。
索引モデルが issue の本文から書いたものです。
説明
Is this a new report?
Yes
System Info
Void 7.2.2_1 x86_64 AuthenticAMD uptodate rFFF
Package(s) Affected
nextcloud-client-34.0.4_1
Does a report exist for this bug with the project's home (upstream) and/or another distro?
Not that I could find.
Expected behaviour
The VFS plugins should either:
Be installed directly into the directory expected by the Nextcloud client:
/usr/lib/qt6/plugins/
Or, alternatively, the package/build configuration should explicitly configure the client to search the directory where the distribution installs the plugins.
The installation path should be consistent with the path used by the upstream build/client at runtime.
Actual behaviour
The plugins are installed in:
/usr/lib/
while the client only searches:
/usr/lib/qt6/plugins/
Consequently, VFS support is unavailable on a clean installation until the user manually creates symlinks.
Steps to reproduce
Install the nextcloud-client package on a Qt6-based system.
Verify that the VFS plugins are installed:
xbps-query -f nextcloud-client | grep -E 'vfs|nextcloudsync|/usr/lib'
The output shows:
/usr/lib/nextcloudsync_vfs_suffix.so
/usr/lib/nextcloudsync_vfs_xattr.so
Start the Nextcloud client:
nextcloud
Trace the filesystem lookups performed by the client:
strace -f -e trace=openat,access,stat,statx nextcloud 2>&1 | grep -E 'nextcloudsync|vfs_'
Observe that the client searches for the VFS plugins in /usr/lib/qt6/plugins/:
statx(..., "/usr/lib/qt6/plugins/nextcloudsync_vfs_suffix.so", ...) = -1 ENOENT
statx(..., "/usr/lib/qt6/plugins/nextcloudsync_vfs_xattr.so", ...) = -1 ENOENT
Verify that the files actually exist, but in a different directory:
ls -l /usr/lib/nextcloudsync_vfs_*.so
Create symlinks to the location searched by the client:
sudo ln -s /usr/lib/nextcloudsync_vfs_suffix.so \
/usr/lib/qt6/plugins/nextcloudsync_vfs_suffix.so
sudo ln -s /usr/lib/nextcloudsync_vfs_xattr.so \
/usr/lib/qt6/plugins/nextcloudsync_vfs_xattr.so
Restart the Nextcloud client.
Observe that the VFS plugins are now detected and virtual files become available.
- 主要言語
- Shell
- スター
- 3.4k
- フォーク
- 2.8k
- 平均マージ
- 1日 18時間
- マージ済み PR(30日)
- 337
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
void-linux/void-packages のほかの issue
-
request
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
void-linux/void-packages#62661 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
void-linux/void-packages#62620 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-testing
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
void-linux/void-packages#62562 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-testing
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
void-linux/void-packages#62552 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug needs-testing
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
void-linux/void-packages#62522 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
void-linux/void-packages の issue をすべて見る
似ている issue
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
petry-projects/.github-private#1981 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
package-update
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
oSoWoSo/vOid_Community_repOsitory#207 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
alunduil/alunduil-chezmoi#815 ·
メンテナーはふだん 1 日以内に返信
-
good first issue new package
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
wimpysworld/deb-get#2035 ·
メンテナーはふだん 1 日以内に返信
-
automation documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信