Page MenuHomeFreeBSD

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

Authored by olgeni on Sun, Jul 19, 8:24 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 27, 1:24 PM
Unknown Object (File)
Mon, Jul 27, 9:39 AM
Unknown Object (File)
Mon, Jul 27, 8:16 AM
Unknown Object (File)
Mon, Jul 27, 1:53 AM
Unknown Object (File)
Mon, Jul 27, 12:02 AM
Unknown Object (File)
Sun, Jul 26, 11:49 AM
Unknown Object (File)
Sun, Jul 26, 10:24 AM
Unknown Object (File)
Sun, Jul 26, 6:28 AM
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.Sun, Jul 19, 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.Sun, Jul 19, 4:49 PM