nextcloud-client: VFS plugins installed where the client does not search
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 70/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- linux
- 领域
- build-system
调研方向
检查 nextcloud-client 的软件包定义及其安装路径,然后将它们与客户端搜索的 Qt6 插件目录进行比较。使用提供的 xbps-query 和 strace 命令重现查找过程;当全新安装将 VFS 插件放置在 nextcloud 搜索的位置,并且无需手动创建 symlink 即可使用虚拟文件时,即表示完成。
由索引模型根据 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 天 21 小时
- 30 天内合并 PR
- 321
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 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 小时 新手友好度 62/100
void-linux/void-packages#62598 ·
维护者通常 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 天内回复
查看 void-linux/void-packages 的全部 Issue
相似的 Issue
-
package-update
难度 2/5 1-3 小时 新手友好度 78/100
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
obra/superpowers#2394 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 84/100
CachyOS/cachyos-aur-derived#772 ·
维护者通常 1 天内回复
-
documentation
难度 2/5 1-3 小时 新手友好度 70/100
kristofdegrave/homeassistant-smart-charging#1413 ·
维护者通常 1 天内回复