Date: Sat, 27 Nov 2021 22:55:06 +0100 From: Stefan Esser <se@freebsd.org> To: Graham Perrin <grahamperrin@gmail.com>, Larry Rosenman <ler@FreeBSD.org> Cc: freebsd-hackers@freebsd.org Subject: Re: Call for Foundation-supported Project Ideas: lsof Message-ID: <1bd2140c-60fd-2f3c-432d-c945caf5e3dd@freebsd.org> In-Reply-To: <6e7d550f-78bf-29cc-7283-93d5c8263519@gmail.com> References: <861r36xzpe.fsf@phe.ftfl.ca> <66b556bf-e797-483b-b377-182859be572a@www.fastmail.com> <246adde5-6a7a-4102-abb4-16c766ea78d1@freebsd.org> <39d7dec472c4d937404aabba91a5ead6@FreeBSD.org> <6e7d550f-78bf-29cc-7283-93d5c8263519@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --------------LHoa47pkDSvrAZfbA9fUDsAb Content-Type: multipart/mixed; boundary="------------cFQHwZWG3d0QcEHTvzrRrW41"; protected-headers="v1" From: Stefan Esser <se@freebsd.org> To: Graham Perrin <grahamperrin@gmail.com>, Larry Rosenman <ler@FreeBSD.org> Cc: freebsd-hackers@freebsd.org Message-ID: <1bd2140c-60fd-2f3c-432d-c945caf5e3dd@freebsd.org> Subject: Re: Call for Foundation-supported Project Ideas: lsof References: <861r36xzpe.fsf@phe.ftfl.ca> <66b556bf-e797-483b-b377-182859be572a@www.fastmail.com> <246adde5-6a7a-4102-abb4-16c766ea78d1@freebsd.org> <39d7dec472c4d937404aabba91a5ead6@FreeBSD.org> <6e7d550f-78bf-29cc-7283-93d5c8263519@gmail.com> In-Reply-To: <6e7d550f-78bf-29cc-7283-93d5c8263519@gmail.com> --------------cFQHwZWG3d0QcEHTvzrRrW41 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Am 27.11.21 um 09:34 schrieb Graham Perrin: > On 25/11/2021 00:01, Larry Rosenman wrote: >> =F0=A0=89=A7=E2=80=A6 Back to the topic: >> Can I PLEASE get some help on sysutils/lsof (which has been broken for= all of >> 13 and 14's lifetime)? >> If I can't, I'm going to rmport it. =E2=80=A6 >=20 >=20 > Is that, more than anything, > <https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253553> for compat= ibility > with (OpenZFS) ZFS? I have develioped a patch that supports the openzfs file layout, but did not get lsof to build with OpenZFS headers. There are a number of type conflicts and did not have any spare time to sort them out ... A TAR file of the lsof port directory with some of the required patches is available from: https://people.freebsd.org/~se/ports/lsof-port.tar.bz2 Some of the changes are experimental and not to be included in a final version of the port. I first wanted to get the port to compile, then work= out the correct way to pass required options etc. It still fails while compiling dnode2.c: In file included from dnode2.c:45: In file included from /usr/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/types.h:36: In file included from /usr/src/sys/contrib/openzfs/lib/libspl/include/sys/types.h:75: In file included from /usr/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/param.h:34: In file included from /usr/include/sys/param.h:142: /usr/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/time.h:53:9: erro= r: unknown type name 'longlong_t' typedef longlong_t hrtime_t; ^ /usr/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/time.h:67:1: erro= r: redefinition of 'gethrtime' gethrtime(void) ^ /usr/src/sys/contrib/openzfs/lib/libspl/include/sys/time.h:100:1: note: previous definition is here gethrtime(void) ^ In file included from dnode2.c:45: In file included from /usr/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/types.h:36: In file included from /usr/src/sys/contrib/openzfs/lib/libspl/include/sys/types.h:75: In file included from /usr/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/param.h:38: In file included from /usr/src/sys/contrib/openzfs/include/os/freebsd/spl/sys/systm.h:33: In file included from /usr/include/sys/systm.h:179: /usr/include/sys/kpilite.h:33:10: fatal error: 'offset.inc' file not foun= d #include "offset.inc" ^~~~~~~~~~~~ 3 errors generated. *** Error code 1 Regards, STefan --------------cFQHwZWG3d0QcEHTvzrRrW41-- --------------LHoa47pkDSvrAZfbA9fUDsAb Content-Type: application/pgp-signature; name="OpenPGP_signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="OpenPGP_signature" -----BEGIN PGP SIGNATURE----- wsB5BAABCAAjFiEEo3HqZZwL7MgrcVMTR+u171r99UQFAmGiqToFAwAAAAAACgkQR+u171r99UQL HQgAh/NHmqqzFcSg3rkJKJf8sz//KghageEb6WZ9RjMszsAv/tXXRkhG99SFNgqqpElGmn4ck7v0 Zl6Ws4wxu9xixTNuJ2O5EI649FyHftndJ15wrrWnHP2qm95D7YFzdSJXGoF4gX8jxi4UT0AMoNk+ 9TCuqhuRUpaw9aKsEzlf1Ulp8ZHNRWm6syk0HnRILWQL0MU2i7B8Ao8wXTxr0UNHcvqZc03AqAV4 ZNRk/wjInwAoeS3EH6F19zE1n5bOnUV1DgimPzyhas3eNCyL3EvaLj160G4rokvjHGmZbzX91JHR qRxUe/GcIVNbS/did02FjVP88UrsTpx3E7Od4bktdA== =j8Zs -----END PGP SIGNATURE----- --------------LHoa47pkDSvrAZfbA9fUDsAb--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1bd2140c-60fd-2f3c-432d-c945caf5e3dd>