[Bug 284015] sysutils/lsof: Fails to build under recent 15-CURRENT

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Jan 2025 15:29:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284015

            Bug ID: 284015
           Summary: sysutils/lsof: Fails to build under recent 15-CURRENT
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ler@FreeBSD.org
          Reporter: cy@FreeBSD.org
          Assignee: ler@FreeBSD.org
             Flags: maintainer-feedback?(ler@FreeBSD.org)

--- dmnt.o ---
In file included from dmnt.c:36:
In file included from lib/common.h:253:
In file included from ./dlsof.h:171:
In file included from /usr/src/sys/rpc/rpc.h:68:
/usr/src/sys/rpc/svc.h:341:25: error: field has incomplete type 'struct
sysctl_ctx_list'
  341 |         struct sysctl_ctx_list sp_sysctl;
      |                                ^
--- dnode.o ---
In file included from dnode.c:36:
In file included from lib/common.h:253:
In file included from ./dlsof.h:171:
In file included from /usr/src/sys/rpc/rpc.h:68:
/usr/src/sys/rpc/svc.h:341:25: error: field has incomplete type 'struct
sysctl_ctx_list'
  341 |         struct sysctl_ctx_list sp_sysctl;
      |                                ^
--- lib/liblsof.a ---
In file included from ckkv.c:31:
In file included from ./common.h:253:
In file included from ../dlsof.h:171:
In file included from /usr/src/sys/rpc/rpc.h:68:
--- dproc.o ---
In file included from dproc.c:36:
In file included from lib/common.h:253:
In file included from ./dlsof.h:171:
In file included from /usr/src/sys/rpc/rpc.h:68:
/usr/src/sys/rpc/svc.h:341:25: error: field has incomplete type 'struct
sysctl_ctx_list'
  341 |         struct sysctl_ctx_list sp_sysctl;
      |                                ^
--- lib/liblsof.a ---
/usr/src/sys/rpc/svc.h:341:25: error: field has incomplete type 'struct
sysctl_ctx_list'
--- dnode.o ---
/usr/src/sys/rpc/svc.h:341:9: note: forward declaration of 'struct
sysctl_ctx_list'
--- dproc.o ---
/usr/src/sys/rpc/svc.h:341:9: note: forward declaration of 'struct
sysctl_ctx_list'
  341 |         struct sysctl_ctx_list sp_sysctl;
      |                ^
--- dnode.o ---
  341 |         struct sysctl_ctx_list sp_sysctl;
      |                ^
--- dmnt.o ---
/usr/src/sys/rpc/svc.h:341:9: note: forward declaration of 'struct
sysctl_ctx_list'
--- lib/liblsof.a ---
  341 |         struct sysctl_ctx_list sp_sysctl;
--- dmnt.o ---
  341 |         struct sysctl_ctx_list sp_sysctl;
      |                ^
--- lib/liblsof.a ---
      |                                ^
/usr/src/sys/rpc/svc.h:341:9: note: forward declaration of 'struct
sysctl_ctx_list'
  341 |         struct sysctl_ctx_list sp_sysctl;
      |                ^
--- dnode.o ---
/usr/src/sys/rpc/svc.h:568:12: warning: declaration of 'struct sysctl_oid_list'
will not be visible outside of this function [-Wvisibility]
  568 |     struct sysctl_oid_list *sysctl_base);
      |            ^
--- lib/liblsof.a ---
/usr/src/sys/rpc/svc.h:568:12: warning: declaration of 'struct sysctl_oid_list'
will not be visible outside of this function [-Wvisibility]
  568 |     struct sysctl_oid_list *sysctl_base);
      |            ^
--- dmnt.o ---
/usr/src/sys/rpc/svc.h:568:12: warning: declaration of 'struct sysctl_oid_list'
will not be visible outside of this function [-Wvisibility]
  568 |     struct sysctl_oid_list *sysctl_base);
      |            ^
--- dproc.o ---
/usr/src/sys/rpc/svc.h:568:12: warning: declaration of 'struct sysctl_oid_list'
will not be visible outside of this function [-Wvisibility]
  568 |     struct sysctl_oid_list *sysctl_base);
      |            ^
--- dmnt.o ---
1 warning and 1 error generated.
*** [dmnt.o] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.4
--- lib/liblsof.a ---
*** [lib/liblsof.a] Error code 6

make: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.4
--- dproc.o ---
1 warning and 1 error generated.
--- dnode.o ---
1 warning and 1 error generated.
--- dproc.o ---
*** [dproc.o] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.4
--- dnode.o ---
*** [dnode.o] Error code 1

make: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.4
make: 4 errors

make: stopped making "all" in /wrkdirs/usr/ports/sysutils/lsof/work/lsof-4.99.4
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/sysutils/lsof
=>> Cleaning up wrkdir
===>  Cleaning for lsof-4.99.4_1,8

-- 
You are receiving this mail because:
You are the assignee for the bug.