Skip to content

devel/gperf: fix build failure on DragonFly#1542

Merged
tuxillo merged 1 commit into
masterfrom
agentic/devel-gperf-20260528-220332Z
May 28, 2026
Merged

devel/gperf: fix build failure on DragonFly#1542
tuxillo merged 1 commit into
masterfrom
agentic/devel-gperf-20260528-220332Z

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 patch patch-lib_getopt.c was created for an earlier upstream source and no longer applies cleanly to the version 3.3 of getopt.c. The hunk context shifted due to upstream changes, causing the single hunk to fail.

Evidence:

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

Fix

Automated fix for the build failure in devel/gperf.

What changed

3 files changed, +6/-18

  • ports/devel/gperf/STATUS
  • ports/devel/gperf/dragonfly/patch-lib_getopt.c
  • ports/devel/gperf/overlay.dops

Verification

Built successfully in a DragonFly dev-env (dsynth) for target @2026Q2.
Verified 2026-05-28T22:14:53.960316+00:00.

Provenance

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

> 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 patch `patch-lib_getopt.c` was created for an earlier upstream source and no longer applies cleanly to the version 3.3 of `getopt.c`. The hunk context shifted due to upstream changes, causing the single hunk to fail.

**Evidence:**

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

## Fix

Automated fix for the build failure in `devel/gperf`.

## What changed

3 files changed, +6/-18

- `ports/devel/gperf/STATUS`
- `ports/devel/gperf/dragonfly/patch-lib_getopt.c`
- `ports/devel/gperf/overlay.dops`

## Verification

Built successfully in a DragonFly dev-env (dsynth) for target `@2026Q2`.
Verified 2026-05-28T22:14:53.960316+00:00.

## Provenance

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

Signed-off-by: Fred [bot] <github@dragonflybsd.org>
@tuxillo tuxillo marked this pull request as ready for review May 28, 2026 22:16
@tuxillo tuxillo merged commit 1bab83e into master May 28, 2026
1 of 2 checks passed
@tuxillo tuxillo deleted the agentic/devel-gperf-20260528-220332Z branch May 28, 2026 22:17
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