Page MenuHomeFreeBSD

Fix PLIST_SUB being too big and PLIST_SUB_SED getting bigger than _POSIX2_LINE_MAX.
ClosedPublic

Authored by mat on Jan 22 2018, 2:26 PM.
Tags
None
Referenced Files
F86099125: D14014.id.diff
Sat, Jun 15, 10:52 AM
Unknown Object (File)
May 13 2024, 2:12 PM
Unknown Object (File)
May 10 2024, 8:16 AM
Unknown Object (File)
May 8 2024, 12:39 AM
Unknown Object (File)
May 3 2024, 11:24 AM
Unknown Object (File)
Feb 10 2024, 9:34 PM
Unknown Object (File)
Feb 2 2024, 10:46 PM
Unknown Object (File)
Dec 21 2023, 10:16 PM
Subscribers

Details

Summary

And it fixes it by putting everything from PLIST_SUB_SED into a file and asking sed to read that file.

Fixes the problem from https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222355

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 18228
Build 17956: arc lint + arc unit

Event Timeline

I can no longer reproduce the original issue. Something in my environment changed and now sed's command line is just under the limit. However, i can confirm that this patch doesn't break anything at least.

mat edited the summary of this revision. (Show Details)

rebase

With an up-to-date ports tree and an 11.1 jail, www/rubygem-passenger works just fine but textproc/rubygem-gitlab-markup fails as reported. With the patch, both ports work fine.

This revision is now accepted and ready to land.Jul 21 2018, 5:03 PM
This revision was automatically updated to reflect the committed changes.