Summary: | sysutils/lsof: fails to build on recent main (aka 14-current) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Tomoaki AOKI <junchoon> | ||||
Component: | Individual Port(s) | Assignee: | Larry Rosenman <ler> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | grahamperrin | ||||
Priority: | --- | ||||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
See Also: | https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252942 | ||||||
Attachments: |
|
Description
Tomoaki AOKI
2022-09-16 09:04:28 UTC
(In reply to Tomoaki AOKI from comment #0) > ... sysutils/lsof fails to build on recent src main. ... Worth mentioning: a flurry of very recent activity upstream. Revision 4.96.0 builds on more recent c9baa974717a. <https://bsd.to/yVYQ/raw> Actually, there was another release after 4.96.0 (4.96.1-freebsd) It now builds on 14. Confirmed built OK at ports main git 7b1f2990ffa9651a98b1c9f91e20f0b1a591ce66. Thanks! Reopen. The offending commit is now MFC'ed to stable/13. Needs fixing it. I'll upload a temporary patch shortly. Created attachment 237427 [details]
Patch to store into files/ directory.
Patch for temporary fix after src stable/13 fe9e99ff9c9d9028dccb1bb1537af46beabcb691.
(MFC of main 7ea1cac248574ed06c7823ffbfb9a60157240e57)
are you on Quarterly? that code no longer exists in upstream: ler in 🌐 borg in lsof/dialects/freebsd on master via C v14.0.5-clang on ☁️ (us-east-1) ❯ grep kernel_pause * grep: include: Is a directory grep: tests: Is a directory ler in 🌐 borg in lsof/dialects/freebsd on master via C v14.0.5-clang on ☁️ (us-east-1) ❯ A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a902c8910c3e3b0416ea97e1007792c0d482662 commit 7a902c8910c3e3b0416ea97e1007792c0d482662 Author: Larry Rosenman <ler@FreeBSD.org> AuthorDate: 2022-10-18 16:48:50 +0000 Commit: Larry Rosenman <ler@FreeBSD.org> CommitDate: 2022-10-18 16:50:03 +0000 sysutils/lsof: upgrade to 4.96.4 fix build on 13. PR: 266441 sysutils/lsof/Makefile | 2 +- sysutils/lsof/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) I see what happened, we updated the source upstream after 4.96.3 to remove that code, and never pushed a release. I've pushed a new release upstream and upgraded the port. (In reply to Larry Rosenman from comment #9) Thank you. (In reply to Tomoaki AOKI from comment #5) Side note, re: bug 267176 comment 0 it's now known that the 'patch' keyword is deprecated. (In reply to Larry Rosenman from comment #9) Confirmed. Thanks! (In reply to Graham Perrin from comment #10) > Side note, re: bug 267176 comment 0 it's now known that the 'patch' keyword is deprecated. Why? Article on docs.freebsd.org looks reasonable for me about patch keyword. I have no objection to deprecate patch-ready keyword, and deprecating [patch] on summary. But why deprecating patch keyword, too? I cannot find about the reason of deprecation documented. P.S. I have no objection to get back [patch] on summary instead of patch keyword. It makes it easy to attract subscribers on MLs the bug is delivered to. A commit in branch 2022Q4 references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ed4519fbc55c5049dc464286c665f5b8f672d69d commit ed4519fbc55c5049dc464286c665f5b8f672d69d Author: Larry Rosenman <ler@FreeBSD.org> AuthorDate: 2022-10-18 16:48:50 +0000 Commit: Larry Rosenman <ler@FreeBSD.org> CommitDate: 2022-10-18 21:59:39 +0000 sysutils/lsof: upgrade to 4.96.4 fix build on 13. PR: 266441 (cherry picked from commit 7a902c8910c3e3b0416ea97e1007792c0d482662) sysutils/lsof/Makefile | 2 +- sysutils/lsof/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) (In reply to Tomoaki AOKI from comment #12) 267176 has a 'See also' bug 227147. I think, better to ask in 227147 – for answers to have greater visibility/relevance. Thanks |