Created attachment 235057 [details] v1 (apply via "git am")
epoll-shim needs to implement wrappers for open/close/read/write ... whatever like this: https://github.com/freebsd/freebsd-src/blob/main/contrib/ofed/librdmacm/preload.c Because other libraries may be doing exactly the same! And then #define is just a wast of debugging time! I'm working on a patch you can test. Thanks for bringing this to my attention.
Created attachment 235079 [details] libepollshim update (v2) Hi, Can you use this patch instead? Please also help review my changes! Maybe we need an explicit version check for newer epoll-shim, but I think the current is OK too. --HPS
https://github.com/jiixyj/epoll-shim/pull/39
Created attachment 235080 [details] libepollshim update (v3) Removed not needed chunk!
Ignore that pull request. It is not needed. --HPS
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=04db4ece5bdc66c75c8c4ff557e20a06c99e8bf0 commit 04db4ece5bdc66c75c8c4ff557e20a06c99e8bf0 Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2022-06-07 20:00:01 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2022-07-05 20:54:47 +0000 devel/libepoll-shim: update to 0.0.20220703 Changes: https://github.com/jiixyj/epoll-shim/compare/v0.0.20210418...v0.0.20220703 Reported by: portscout PR: 265017 Approved by: manu Co-authored-by: Hans Petter Selasky <hselasky@FreeBSD.org> devel/libepoll-shim/Makefile | 2 +- devel/libepoll-shim/distinfo | 6 +++--- devel/libepoll-shim/pkg-plist | 3 +++ multimedia/libv4l/Makefile | 7 ++++--- multimedia/v4l-utils/Makefile | 1 + sysutils/rshim-user-space/Makefile | 3 ++- sysutils/rshim-user-space/files/patch-configure.ac (new) | 16 ++++++++++++++++ 7 files changed, 30 insertions(+), 8 deletions(-)
Hi, 2022Q3 x11/kitty needs ibepoll-shim-0.0.20220703: --- LIB_DEPENDS= libepoll-shim-interpose.so:devel/libepoll-shim CPPFLAGS+= `pkg-config --cflags epoll-shim-interpose` LDFLAGS+= `pkg-config --libs epoll-shim-interpose` --- Is it possible to MFH: 2022Q3 devel/libepoll-shim 0.0.20220703 ? Cheers
(In reply to Nuno Teixeira from comment #7) > Is it possible to MFH: 2022Q3 devel/libepoll-shim 0.0.20220703 ? When 2022Q4 to be branched in 3 weeks? Go ahead but make sure build-test all consumers (reverse dependencies) on 2022Q3. To speed up testing you may need to use poudriere-devel for "-b quarterly". Note, I don't maintain this port and this is not a regression fix, so spending more time is not my responsibility.
(In reply to Jan Beich from comment #8) Hello Jan, You are right, I will wait for Q4. Thanks