Skip to content

lang/luajit: fix build failure on DragonFly#1554

Merged
tuxillo merged 1 commit into
masterfrom
agentic/lang-luajit-20260606-191156Z
Jun 7, 2026
Merged

lang/luajit: fix build failure on DragonFly#1554
tuxillo merged 1 commit into
masterfrom
agentic/lang-luajit-20260606-191156Z

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 overlay's static patch dragonfly/patch-src_lj_alloc.c no longer applies to the upstream LuaJIT source at version 2.1.0.20260304. Four of the five hunks were rejected because the target file src/lj_alloc.c changed context in the new release, a classic pattern when an overlay port is not updated alongside a FreeBSD version bump.

Evidence:

  • From errors.txt: 4 out of 5 hunks failed--saving rejects to src/lj_alloc.c.rej
  • ===> FAILED Applying dragonfly patch-src_lj_alloc.c
  • ===> FAILED to apply cleanly dragonfly patch(es) patch-src_lj_alloc.c

Fix

Automated fix for the build failure in lang/luajit.

What changed

2 files changed, +5/-3

  • ports/lang/luajit/STATUS
  • ports/lang/luajit/overlay.dops

Verification

Built successfully in a DragonFly dev-env (dsynth) for target @2026Q2.
Verified 2026-06-07T09:29:42.514441+00:00.

Provenance

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

> 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 overlay's static patch `dragonfly/patch-src_lj_alloc.c` no longer applies to the upstream LuaJIT source at version `2.1.0.20260304`. Four of the five hunks were rejected because the target file `src/lj_alloc.c` changed context in the new release, a classic pattern when an overlay port is not updated alongside a FreeBSD version bump.

**Evidence:**

- From `errors.txt`: `4 out of 5 hunks failed--saving rejects to src/lj_alloc.c.rej`
- `===>  FAILED Applying dragonfly patch-src_lj_alloc.c`
- `===> FAILED to apply cleanly dragonfly patch(es)  patch-src_lj_alloc.c`

## Fix

Automated fix for the build failure in `lang/luajit`.

## What changed

2 files changed, +5/-3

- `ports/lang/luajit/STATUS`
- `ports/lang/luajit/overlay.dops`

## Verification

Built successfully in a DragonFly dev-env (dsynth) for target `@2026Q2`.
Verified 2026-06-07T09:29:42.514441+00:00.

## Provenance

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

Signed-off-by: Fred [bot] <github@dragonflybsd.org>
@tuxillo tuxillo marked this pull request as ready for review June 7, 2026 09:37
@tuxillo tuxillo merged commit f029712 into master Jun 7, 2026
1 of 2 checks passed
@tuxillo tuxillo deleted the agentic/lang-luajit-20260606-191156Z branch June 7, 2026 09:43
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