Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Oct 2021 11:14:12 -0600
From:      "@lbutlr" <kremels@kreme.com>
To:        ports@freebsd.org
Subject:   Lost failing with many issues
Message-ID:  <D43B7308-91A2-45B9-A49B-AF33B9A498DC@kreme.com>

next in thread | raw e-mail | index | archive | help
When trying to make lsof from sysutils/lsof in the ports tree, after a =
`make clean; make` on 13.0-RELEASE-p4 FreeBSD 13.0-RELEASE-p4 i386 I =
get:

--- dmnt.o ---
In file included from dmnt.c:38:
--- dnode.o ---
In file included from dnode.c:38:
In file included from ./lsof.h:250:
In file included from ./dlsof.h:288:
/usr/include/kvm.h:86:2: error: unknown type name 'kpaddr_t'; did you =
mean 'kvaddr_t'?
        kpaddr_t        kp_paddr;
        ^
/usr/src/sys/sys/types.h:260:20: note: 'kvaddr_t' declared here
typedef __uint64_t      kvaddr_t;
                        ^
In file included from dnode.c:38:
In file included from ./lsof.h:250:
In file included from ./dlsof.h:288:
/usr/include/kvm.h:127:1: error: unknown type name 'kssize_t'
kssize_t  kvm_kerndisp(kvm_t *);
^
--- lib/liblsof.a ---
--- ckkv.o ---
In file included from ckkv.c:42:
In file included from ./../lsof.h:250:
In file included from ./../dlsof.h:288:
/usr/include/kvm.h:86:2: error: unknown type name 'kpaddr_t'; did you =
mean 'kvaddr_t'?
        kpaddr_t        kp_paddr;
        ^
/usr/src/sys/sys/types.h:260:20: note: 'kvaddr_t' declared here
typedef __uint64_t      kvaddr_t;
                        ^
In file included from ckkv.c:42:
In file included from ./../lsof.h:250:
In file included from ./../dlsof.h:288:
/usr/include/kvm.h:127:1: error: unknown type name 'kssize_t'
kssize_t  kvm_kerndisp(kvm_t *);
^
--- dmnt.o ---
In file included from ./lsof.h:250:
In file included from ./dlsof.h:288:
/usr/include/kvm.h:86:2: error: unknown type name 'kpaddr_t'; did you =
mean 'kvaddr_t'?
        kpaddr_t        kp_paddr;
        ^
/usr/src/sys/sys/types.h:260:20: note: 'kvaddr_t' declared here
typedef __uint64_t      kvaddr_t;
                        ^
In file included from dmnt.c:38:
In file included from ./lsof.h:250:
In file included from ./dlsof.h:288:
/usr/include/kvm.h:127:1: error: unknown type name 'kssize_t'
kssize_t  kvm_kerndisp(kvm_t *);
^
2 errors generated.
*** [dmnt.o] Error code 1

make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof-4.94.0
--- dnode.o ---
In file included from dnode.c:60:
/usr/src/sys/fs/tmpfs/tmpfs.h:530:2: warning: implicit declaration of =
function 'TMPFS_VALIDATE_DIR' is invalid in C99 =
[-Wimplicit-function-declaration]
        TMPFS_VALIDATE_DIR(node);
        ^
--- dnode1.o ---
In file included from dnode1.c:41:
In file included from ./lsof.h:250:
In file included from ./dlsof.h:288:
/usr/include/kvm.h:86:2: error: unknown type name 'kpaddr_t'; did you =
mean 'kvaddr_t'?
        kpaddr_t        kp_paddr;
        ^
/usr/src/sys/sys/types.h:260:20: note: 'kvaddr_t' declared here
typedef __uint64_t      kvaddr_t;
                        ^
In file included from dnode1.c:41:
In file included from ./lsof.h:250:
In file included from ./dlsof.h:288:
/usr/include/kvm.h:127:1: error: unknown type name 'kssize_t'
kssize_t  kvm_kerndisp(kvm_t *);
^
--- lib/liblsof.a ---
*** [lib/liblsof.a] Error code 6

make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof-4.94.0
--- dnode.o ---
1 warning and 2 errors generated.
*** [dnode.o] Error code 1

make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof-4.94.0
--- dnode1.o ---
In file included from dnode1.c:147:
In file included from /usr/src/sys/fs/fuse/fuse_node.h:72:
/usr/src/sys/fs/fuse/fuse_file.h:214:33: warning: declaration of 'struct =
fuse_open_out' will not be visible outside of this function =
[-Wvisibility]
                          struct ucred *cred, struct fuse_open_out =
*foo);
                                                     ^
In file included from dnode1.c:147:
/usr/src/sys/fs/fuse/fuse_node.h:142:2: warning: implicit declaration of =
function 'getbinuptime' is invalid in C99 =
[-Wimplicit-function-declaration]
        getbinuptime(&now);
        ^
/usr/src/sys/fs/fuse/fuse_node.h:185:45: warning: declaration of 'struct =
fuse_entry_out' will not be visible outside of this function =
[-Wvisibility]
int fuse_vnode_get(struct mount *mp, struct fuse_entry_out *feo,
                                            ^
3 warnings and 2 errors generated.
*** [dnode1.o] Error code 1

make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof-4.94.0
4 errors

make[1]: stopped in /usr/ports/sysutils/lsof/work/lsof-4.94.0
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the =
failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/lsof

The ports tree was updated today, though this error has ben around for a =
bit (I only need lsof for htop, so I haven't really felt much impact of =
this issue, but I would like to be able to use top. I see no notes about =
lsof in /usr/ports/UPDATING ir CHANGES


--=20
...but the senator, while insisting he was not intoxicated, could not
	explain his nudity.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D43B7308-91A2-45B9-A49B-AF33B9A498DC>