Page MenuHomeFreeBSD

misc/claude-code: Skip elftoolchain strip on Linux binaries
ClosedPublic

Authored by olgeni on Jul 19 2026, 8:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 24, 1:46 PM
Unknown Object (File)
Wed, Sep 23, 5:20 PM
Unknown Object (File)
Mon, Sep 21, 7:22 AM
Unknown Object (File)
Mon, Sep 14, 3:59 AM
Unknown Object (File)
Mon, Sep 14, 3:59 AM
Unknown Object (File)
Mon, Sep 14, 3:55 AM
Unknown Object (File)
Sun, Sep 13, 12:36 PM
Unknown Object (File)
Thu, Sep 10, 4:59 PM
Subscribers
None

Details

Summary

install(1) with -s runs FreeBSD's strip on the prebuilt Linux claude
binary, which fails with "elf_update() failed: Layout constraint
violation" and breaks the stage phase. Set STRIP= to install the
binary verbatim (stripping a foreign Linux ELF is pointless anyway).

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

olgeni held this revision as a draft.
olgeni published this revision for review.Jul 19 2026, 8:26 AM
olgeni edited the test plan for this revision. (Show Details)

Thanks for the patch.
Approved.

This revision is now accepted and ready to land.Jul 19 2026, 4:49 PM