Created attachment 259463 [details] Patch to fix emulators/linux_base-rl9 We have libsigsegv as a separate port, however without it two very basic utilities are going to fail (grep and gawk), so it's better this way I think and get rid of the extra port maybe too.
$ find /compat/linux/ -type f | xargs grep libsigsegv 2>/dev/null Binary file /compat/linux/usr/bin/gawk matches Binary file /compat/linux/usr/bin/grep matches Binary file /compat/linux/usr/lib64/libsigsegv.so.2.0.6 matches Binary file /compat/linux/usr/lib/libsigsegv.so.2.0.6 matches $ $ ldd /compat/linux/usr/bin/awk /compat/linux/usr/bin/awk: libsigsegv.so.2 => not found (0) libreadline.so.8 => /usr/local/lib/libreadline.so.8 (0x16887dd30000) libmpfr.so.6 => /usr/local/lib/libmpfr.so.6 (0x16887dddc000) libgmp.so.10 => /usr/local/lib/libgmp.so.10 (0x16887e7db000) libm.so.6 => not found (0) libc.so.6 => not found (0) libtinfow.so.9 => /lib/libtinfow.so.9 (0x16887f50d000) libc.so.7 => /lib/libc.so.7 (0x168880ecf000) [vdso] (0x16887ce1f000)
Created attachment 259464 [details] Patch to fix emulators/linux_base-rl9 non -U9999 diff :)
linux_base-c7 is also affected by the same problem. So we should just merge the libsigsegv port into linux_base with appropriate changes into Uses/linux.mk
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=6f110064b71c2ad3100ef069f64ef51fc5c54575 commit 6f110064b71c2ad3100ef069f64ef51fc5c54575 Author: Dima Panov <fluffy@FreeBSD.org> AuthorDate: 2025-04-15 17:11:27 +0000 Commit: Dima Panov <fluffy@FreeBSD.org> CommitDate: 2025-04-15 17:11:27 +0000 emulators/linux_base-rl9: integrate devel/linux-rl9-libsigsegv into linux_base (+) [g]awk and grep utilities depends on libsigsegv.so.2.0.6 Integrate devel/linux-rl9-libsigsegv into the emulators/linux_base-rl9 package to resolve missed dependency Drop dedicated devel/linux-rl9-libsigsegv port Bump all linux-rl9-libsigsegv consumers to track changed dependency PR: 286032 MOVED | 1 + Mk/Uses/linux.mk | 1 - audio/linux-rl9-alsa-plugins-oss/Makefile | 4 ++-- devel/Makefile | 1 - devel/linux-rl9-devtools/Makefile | 4 ++-- devel/linux-rl9-libsigsegv/Makefile (gone) | 22 ---------------------- devel/linux-rl9-libsigsegv/distinfo (gone) | 9 --------- .../linux-rl9-libsigsegv/pkg-plist.aarch64 (gone) | 7 ------- devel/linux-rl9-libsigsegv/pkg-plist.amd64 (gone) | 10 ---------- emulators/linux-rl9/Makefile | 2 +- emulators/linux_base-rl9/Makefile | 6 +++++- emulators/linux_base-rl9/Makefile.version | 1 + emulators/linux_base-rl9/distinfo | 10 +++++++++- emulators/linux_base-rl9/pkg-plist.aarch64 | 7 +++++++ emulators/linux_base-rl9/pkg-plist.amd64 | 10 ++++++++++ net-im/linux-discord/Makefile | 3 ++- net-im/linux-whatsdesk/Makefile | 4 ++-- www/linux-freetube/Makefile | 4 ++-- www/linux-vieb/Makefile | 3 ++- 19 files changed, 46 insertions(+), 63 deletions(-)
Dima, can you also do the same change for c7, please?
(In reply to Gleb Popov from comment #5) Huh? Here is no devel/linux-c7-libsigsegv port. and c9 [g]awk/grep aren't linked with libsigseg. Are you messed up with libsigc++ library in names?
(In reply to Dima Panov from comment #6) Yes, I probably confused it with something else. This can be closed now.