Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

rm: cannot remove '/home/user/.cache/cachyos-km/pkgbuilds/linux-cachyos/src/': Is a directory

未关闭
#43 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CachyOS/kernel-manager 的其他 Issue

查看 CachyOS/kernel-manager 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。