Summary: | sysutils/lsof: Fails to build with "field has incomplete type 'struct callout'" on src/main | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Tomoaki AOKI <junchoon> | ||||||||
Component: | Individual Port(s) | Assignee: | Larry Rosenman <ler> | ||||||||
Status: | Closed FIXED | ||||||||||
Severity: | Affects Some People | CC: | cy, grahamperrin, vishwin, yasu | ||||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(ler) |
||||||||
Version: | Latest | ||||||||||
Hardware: | Any | ||||||||||
OS: | Any | ||||||||||
Attachments: |
|
Description
Tomoaki AOKI
2022-12-09 18:23:30 UTC
Created attachment 238671 [details]
Full build log with MAKE_JOBS_UNSAFE=yes
Uploading full build log with `make MAKE_JOBS_UNSAFE=yes`
sys/callout.h should probably be included before tcp_var.h. Created attachment 238677 [details] Patch file (In reply to Cy Schubert from comment #2) With attached patch build succeeds with - latest 14.0-CURRENT amd64 - 13.1-RELEASE amd64 - 12.4-RELEASE amd64 - 12.3-RELEASE amd64 Created attachment 238680 [details]
Updated patch file
Don't bump PORTREVISION. Unnecessary as it just fixes build error.
(In reply to Yasuhiro Kimura from comment #4) LGTM (In reply to Yasuhiro Kimura from comment #4) Thanks! With your 2nd patch, builds fine main at commit 0ca90ed42a495074392a8316ae58a9bbf4eda01a stable/13 at commit 09072186eec1854f2a66cd1be441adcbe331c357 both on amd64. May want to submit this upstream. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ec41e402547473a7e28e38fc719ed1fde17f38de commit ec41e402547473a7e28e38fc719ed1fde17f38de Author: Larry Rosenman <ler@FreeBSD.org> AuthorDate: 2022-12-26 15:00:03 +0000 Commit: Larry Rosenman <ler@FreeBSD.org> CommitDate: 2022-12-26 15:01:40 +0000 sysutils/lsof: update to 4.96.5 - add <sys/callout.h> include PR: 268279 Patch From: yasu@freebsd.org sysutils/lsof/Makefile | 2 +- sysutils/lsof/distinfo | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) fixed upstream (I (ler) am upstream) Committed. |