Skip to content

fix: remove reversed skip-git-dir.patch to fix build failure#6

Merged
Zeno-sole merged 1 commit into
deepin-community:masterfrom
Zeno-sole:fix-reversed-patch
Jul 23, 2026
Merged

fix: remove reversed skip-git-dir.patch to fix build failure#6
Zeno-sole merged 1 commit into
deepin-community:masterfrom
Zeno-sole:fix-reversed-patch

Conversation

@Zeno-sole

Copy link
Copy Markdown
Contributor

Problem

The CRP build of libnvidia-container fails during source extraction:

dpkg-source: info: applying skip-git-dir.patch
dpkg-source: error: ... subprocess returned exit status 1
patching file mk/common.mk
Reversed (or previously applied) patch detected!  Skipping patch.
1 out of 1 hunk ignored

The skip-git-dir.patch modifies mk/common.mk to redirect git rev-parse errors, but this change is already present in the upstream orig tarball. The patch is therefore reversed and causes dpkg-source to abort.

Fix

Remove skip-git-dir.patch from debian/patches/series and delete the patch file, since the change is already in the upstream source.

Changelog

Version bumped to 1.19.0-1deepin4.

The skip-git-dir.patch modifies mk/common.mk to redirect git rev-parse
errors, but this change is already present in the upstream orig tarball.
This causes dpkg-source to fail during package extraction with
"Reversed (or previously applied) patch detected", aborting the build.

Log: remove reversed skip-git-dir.patch to fix build failure

Influence:
1. Build libnvidia-container source package without patch failure
2. No functional change to the built binaries

fix: 移除已反向的 skip-git-dir.patch

skip-git-dir.patch 修改的内容已存在于上游 orig tarball 中,导致
dpkg-source 解包时报 "Reversed (or previously applied) patch detected"
错误,构建失败。

Log: 移除已反向的 skip-git-dir.patch 修复构建失败

Influence:
1. 构建libnvidia-container源码包不再报patch错误
2. 对生成的二进制包无功能影响

repo: libnvidia-container #master
@github-actions

Copy link
Copy Markdown

TAG Bot

TAG: 1.19.0-1deepin4
EXISTED: no
DISTRIBUTION: unstable

@Zeno-sole

Copy link
Copy Markdown
Contributor Author

/topic libnvidia-20260722

@deepin-ci-robot

Copy link
Copy Markdown

Add topic: libnvidia-20260722 successed.

@Zeno-sole

Copy link
Copy Markdown
Contributor Author

/integr-topic libnvidia-20260722

@deepin-ci-robot

Copy link
Copy Markdown

Integrated with pr deepin-community/Repository-Integration#4383

@deepin-ci-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hudeng-go

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Zeno-sole
Zeno-sole merged commit 90cd6eb into deepin-community:master Jul 23, 2026
3 of 5 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in libnvidia-20260722 Jul 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Development

Successfully merging this pull request may close these issues.

3 participants