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)
Sun, Aug 16, 12:49 AM
Unknown Object (File)
Sat, Aug 15, 5:18 PM
Unknown Object (File)
Sat, Aug 15, 3:49 PM
Unknown Object (File)
Thu, Aug 13, 7:42 AM
Unknown Object (File)
Wed, Aug 12, 11:46 AM
Unknown Object (File)
Wed, Aug 12, 10:14 AM
Unknown Object (File)
Sun, Aug 9, 12:12 AM
Unknown Object (File)
Sat, Aug 8, 6:04 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