perfsonar / perfsonar/perfsonar-dev-tools

Refreshing Debian quilt patches duplicates the patches

Open
#3 1 comment 0 reactions 1 assignee View on GitHub

@laeti-tia is already working on this.

Since Apr 12, 2023.

Debian
Dominant language
Shell
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Using the latest quilt (0.67) on a BSD system (for example, MacOS) results in Quilt duplicating the patch entries in the patch file. This is a known issue with Quilt 0.67 on BSD systems.

The bug has been reported to the Quilt developers and is actually already corrected in the latest source code, just not been released yet. This is due to a different behaviour of BSD awk to GNU awk.

Meanwhile, there are a few workarounds:

  1. Not using a BSD system to refresh patches or doing a pS repo release.
  2. Using a Quilt version prior to 0.67 on a BSD system.
  3. Porting the patch from Quilt git repo to your own installation.
  4. Calling the make-repo-release script with the -q option to not refresh the patches.
  5. Modifying all the patches to include a diff index and change quilt refresh option to use a diff index as well: QUILT_REFRESH_ARGS="-p ab"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.