Skip to content

shells/bash: fix build failure on DragonFly#1562

Closed
dragonflybot wants to merge 1 commit into
masterfrom
agentic/shells-bash-20260616-232849Z
Closed

shells/bash: fix build failure on DragonFly#1562
dragonflybot wants to merge 1 commit into
masterfrom
agentic/shells-bash-20260616-232849Z

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 static DragonFly-specific patch dragonfly/patch-lib_readline_terminal.c fails to apply against bash‑5.3.9 because the targeted source file lib/readline/terminal.c has changed upstream, shifting the hunk context. A prior triage converted this to a dops REINPLACE_CMD operation, but the static patch file either still exists in the materialized dragonfly directory or the conversion was not picked up by this build run.

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

2 files changed, +5/-16

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

Verification

Built successfully in a DragonFly dev-env (dsynth) for target @2026Q2.
Verified 2026-06-16T23:32:37.891313+00:00.

Provenance

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

> 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 static DragonFly-specific patch `dragonfly/patch-lib_readline_terminal.c` fails to apply against bash‑5.3.9 because the targeted source file `lib/readline/terminal.c` has changed upstream, shifting the hunk context. A prior triage converted this to a `dops` `REINPLACE_CMD` operation, but the static patch file either still exists in the materialized `dragonfly` directory or the conversion was not picked up by this build run.

**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

2 files changed, +5/-16

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

## Verification

Built successfully in a DragonFly dev-env (dsynth) for target `@2026Q2`.
Verified 2026-06-16T23:32:37.891313+00:00.

## Provenance

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

Signed-off-by: Fred [bot] <github@dragonflybsd.org>
@tuxillo tuxillo marked this pull request as ready for review June 16, 2026 23:33
@tuxillo tuxillo closed this Jun 17, 2026
@tuxillo tuxillo deleted the agentic/shells-bash-20260616-232849Z branch June 17, 2026 09:46
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