rm: cannot remove '/home/user/.cache/cachyos-km/pkgbuilds/linux-cachyos/src/': Is a directory
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cpp, linux
调研方向
首先复现 patched-kernel 构建,并跟踪 “Removing existing $srcdir/ directory...” 之后的源代码获取和提取步骤。该 issue 没有提供项目文件或测试入口点,因此首先定位处理 PKGBUILD 源目录的代码;当提取过程在没有 rm 或 ln 错误的情况下完成时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
I am trying to build a patched kernel with nvidia open drivers and get an error (see below).
I am using the latest kernel manager.
Here's the console output:
==> Making package: linux-cachyos-gcc-adf 6.13.3-1 (Чт 20 фев 2025 10:30:39)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading linux-6.13.3.tar.xz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 141M 100 141M 0 0 17.5M 0 0:00:08 0:00:08 --:--:-- 17.2M
-> Found config
-> Found auto-cpu-optimization.sh
-> Downloading nvidia-open-570.86.16.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 17.7M 0 17.7M 0 0 4365k 0 --:--:-- 0:00:04 --:--:-- 5080k
-> Downloading 0001-cachyos-base-all.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1854k 100 1854k 0 0 2272k 0 --:--:-- --:--:-- --:--:-- 2269k
-> Downloading 0001-Make-modeset-and-fbdev-default-enabled.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 1480 100 1480 0 0 5024 0 --:--:-- --:--:-- --:--:-- 5034
-> Downloading 0003-Add-IBT-Support.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 852 100 852 0 0 2916 0 --:--:-- --:--:-- --:--:-- 2907
-> Downloading 0001-bore-cachy.patch...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 31919 100 31919 0 0 98710 0 --:--:-- --:--:-- --:--:-- 98820
-> Downloading ...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 6243 0 6243 0 0 20031 0 --:--:-- --:--:-- --:--:-- 20073
mv: '/home/andrey/.cache/cachyos-km/pkgbuilds/linux-cachyos/.part' and '/home/andrey/.cache/cachyos-km/pkgbuilds/linux-cachyos/.part' are the same file
==> WARNING: Skipping verification of source file checksums.
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting linux-6.13.3.tar.xz with bsdtar
-> Extracting nvidia-open-570.86.16.tar.gz with bsdtar
rm: cannot remove '/home/andrey/.cache/cachyos-km/pkgbuilds/linux-cachyos/src/': Is a directory
ln: failed to create symbolic link '/home/andrey/.cache/cachyos-km/pkgbuilds/linux-cachyos/src/' -> '': No such file or directory
- 主要语言
- C++
- 星标
- 44
- 派生
- 30
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CachyOS/kernel-manager 的其他 Issue
-
难度 4/5 3-5 天 新手友好度 48/100
CachyOS/kernel-manager#90 ·
-
难度 3/5 1-2 天 新手友好度 70/100
CachyOS/kernel-manager#87 ·
-
难度 3/5 1-2 天 新手友好度 55/100
CachyOS/kernel-manager#78 ·
-
难度 5/5 一周以上 新手友好度 35/100
CachyOS/kernel-manager#70 ·
-
难度 3/5 1-2 天 新手友好度 30/100
CachyOS/kernel-manager#63 · 1 条评论 ·
查看 CachyOS/kernel-manager 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
KhronosGroup/Vulkan-Tutorial#524 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
microsoft/onnxruntime-genai#2633 ·
维护者通常 1 天内回复
-
mapper bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 86/100
firebase/firebase-ios-sdk#16718 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
tesseract-ocr/tesseract#4627 ·