Summary: | "make check-plist" can overflow sed's line buffer | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Alan Somers <asomers> |
Component: | Ports Framework | Assignee: | Port Management Team <portmgr> |
Status: | Closed FIXED | ||
Severity: | Affects Many People | CC: | mfechner, ports-bugs, rakuco |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Alan Somers
![]() ![]() which port produces that ? www/rubygem-passenger, as I said. Working on it in https://reviews.freebsd.org/D14014 I see the same problem with textproc/rubygem-gitlab-markup which I currently updating to 1.6.4. If it help, here the build log: https://pkg.fechner.net/data/111amd64-gitlab/2018-07-21_10h54m18s/logs/rubygem-gitlab-markup-1.6.4.log Good, good, and does the proposed fix works? (In reply to Mathieu Arnold from comment #6) yes, I can confirm that the patch from https://reviews.freebsd.org/D14014 fixes the problem. Here the log with the patch: https://pkg.fechner.net/data/111amd64-gitlab/2018-07-26_08h50m02s/logs/rubygem-gitlab-markup-1.6.4.log A commit references this bug: Author: mat Date: Thu Jul 26 11:09:47 UTC 2018 New revision: 475361 URL: https://svnweb.freebsd.org/changeset/ports/475361 Log: Extract PLIST_SUB substitutions into a sed script. This fixes PLIST_SUB being too big and PLIST_SUB_SED getting bigger than _POSIX2_LINE_MAX. PR: 222355 Reported by: asomers Reviewed by: asomers, mfechner Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D14014 Changes: head/Mk/Scripts/check-stagedir.sh head/Mk/Scripts/check_leftovers.sh head/Mk/Scripts/plist_sub_sed_sort.sh *** Bug 192777 has been marked as a duplicate of this bug. *** |