Skip to content

devel/libunistring: fix build failure on DragonFly#1549

Merged
liweitianux merged 1 commit into
masterfrom
agentic/devel-libunistring-20260602-085417Z
Jun 2, 2026
Merged

devel/libunistring: fix build failure on DragonFly#1549
liweitianux merged 1 commit into
masterfrom
agentic/devel-libunistring-20260602-085417Z

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 dfly-patch target tries to run sed on tests/test-errno.c to remove EOWNERDEAD and ENOTRECOVERABLE constants. Upstream libunistring‑1.4.2 no longer ships that file, so the sed command fails and aborts the entire patch phase.

Evidence:

  • ===> Patching for libunistring-1.4.2
  • /usr/bin/sed -i.bak -e '/= EOWNERDEAD/d' -e '/= ENOTRECOVERABLE/d' …/tests/test-errno.c
  • sed: …/tests/test-errno.c: No such file or directory
  • make[1]: stopped making "… dfly-patch" in /xports/devel/libunistring

Fix

Automated fix for the build failure in devel/libunistring.

What changed

3 files changed, +9/-6

  • ports/devel/libunistring/Makefile.DragonFly
  • ports/devel/libunistring/STATUS
  • ports/devel/libunistring/overlay.dops

Verification

Built successfully in a DragonFly dev-env (dsynth) for target @2026Q2.
Verified 2026-06-02T09:49:18.418784+00:00.

Provenance

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

> 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 `dfly-patch` target tries to run `sed` on `tests/test-errno.c` to remove `EOWNERDEAD` and `ENOTRECOVERABLE` constants. Upstream libunistring‑1.4.2 no longer ships that file, so the `sed` command fails and aborts the entire patch phase.

**Evidence:**

- `===>  Patching for libunistring-1.4.2`
- `/usr/bin/sed -i.bak -e '/= EOWNERDEAD/d' -e '/= ENOTRECOVERABLE/d' …/tests/test-errno.c`
- `sed: …/tests/test-errno.c: No such file or directory`
- `make[1]: stopped making "… dfly-patch" in /xports/devel/libunistring`

## Fix

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

## What changed

3 files changed, +9/-6

- `ports/devel/libunistring/Makefile.DragonFly`
- `ports/devel/libunistring/STATUS`
- `ports/devel/libunistring/overlay.dops`

## Verification

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

## Provenance

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

Signed-off-by: Fred [bot] <github@dragonflybsd.org>
@tuxillo tuxillo marked this pull request as ready for review June 2, 2026 09:50
@liweitianux liweitianux merged commit aa0f498 into master Jun 2, 2026
1 of 2 checks passed
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