Skip to content

shells/bash: fix build failure on DragonFly#1563

Merged
daftaupe merged 1 commit into
masterfrom
agentic/shells-bash-20260617-093937Z
Jun 17, 2026
Merged

shells/bash: fix build failure on DragonFly#1563
daftaupe merged 1 commit into
masterfrom
agentic/shells-bash-20260617-093937Z

Conversation

@dragonflybot

Copy link
Copy Markdown
Member

Generated by the DragonFly agentic build-fix loop and verified in a clean dev-env. Reviewed and accepted by operator operator before submission.

Problem

The build failed on @2026Q2 — classified patch-error, confidence high.

The DragonFly-specific patch patch-lib_readline_terminal.c fails to apply against bash-5.3.9. The single hunk targets the hand-written source file lib/readline/terminal.c, and upstream changes between the last successful build and version 5.3.9 have shifted the surrounding lines so the patch context no longer matches.

Evidence:

  • 1 out of 1 hunks failed--saving rejects to lib/readline/terminal.c.rej
  • ===> FAILED Applying dragonfly patch-lib_readline_terminal.c
  • ===> FAILED to apply cleanly dragonfly patch(es) patch-lib_readline_terminal.c

Fix

Automated fix for the build failure in shells/bash.

What changed

1 file changed, +7/-11

  • ports/shells/bash/dragonfly/patch-lib_readline_terminal.c

Verification

Built successfully in a DragonFly dev-env (dsynth) for target @2026Q2.
Verified 2026-06-17T10:00:15.234782+00:00.

Provenance

  • Operator: operator
  • Agent: model=deepseek/deepseek-v4-pro attempts=1 tokens=756494

> Generated by the DragonFly agentic build-fix loop and verified in a clean dev-env. Reviewed and accepted by operator `operator` before submission.

## Problem

The build failed on `@2026Q2` — classified `patch-error`, confidence `high`.

The DragonFly-specific patch `patch-lib_readline_terminal.c` fails to apply against bash-5.3.9.  The single hunk targets the hand-written source file `lib/readline/terminal.c`, and upstream changes between the last successful build and version 5.3.9 have shifted the surrounding lines so the patch context no longer matches.

**Evidence:**

- `1 out of 1 hunks failed--saving rejects to lib/readline/terminal.c.rej`
- `===>  FAILED Applying dragonfly patch-lib_readline_terminal.c`
- `===> FAILED to apply cleanly dragonfly patch(es)  patch-lib_readline_terminal.c`

## Fix

Automated fix for the build failure in `shells/bash`.

## What changed

1 file changed, +7/-11

- `ports/shells/bash/dragonfly/patch-lib_readline_terminal.c`

## Verification

Built successfully in a DragonFly dev-env (dsynth) for target `@2026Q2`.
Verified 2026-06-17T10:00:15.234782+00:00.

## Provenance

- Operator: operator
- Agent: model=deepseek/deepseek-v4-pro attempts=1 tokens=756494

Signed-off-by: Fred [bot] <github@dragonflybsd.org>
@tuxillo tuxillo marked this pull request as ready for review June 17, 2026 10:01
@daftaupe daftaupe merged commit 2463f2e into master Jun 17, 2026
1 of 2 checks passed
@daftaupe daftaupe deleted the agentic/shells-bash-20260617-093937Z branch June 17, 2026 10:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants