Bug 286032 - emulators/linux_base-rl9: add libsigsegv
Summary: emulators/linux_base-rl9: add libsigsegv
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dima Panov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-11 05:53 UTC by Maxim Sobolev
Modified: 2025-04-27 13:39 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (emulation)


Attachments
Patch to fix emulators/linux_base-rl9 (320.21 KB, text/plain)
2025-04-11 05:53 UTC, Maxim Sobolev
no flags Details
Patch to fix emulators/linux_base-rl9 (5.86 KB, patch)
2025-04-11 06:01 UTC, Maxim Sobolev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Sobolev freebsd_committer freebsd_triage 2025-04-11 05:53:47 UTC
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.
Comment 1 Maxim Sobolev freebsd_committer freebsd_triage 2025-04-11 05:57:59 UTC
$ 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)
Comment 2 Maxim Sobolev freebsd_committer freebsd_triage 2025-04-11 06:01:56 UTC
Created attachment 259464 [details]
Patch to fix emulators/linux_base-rl9

non -U9999 diff :)
Comment 3 Gleb Popov freebsd_committer freebsd_triage 2025-04-11 16:42:25 UTC
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
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-04-15 17:16:25 UTC
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(-)
Comment 5 Gleb Popov freebsd_committer freebsd_triage 2025-04-15 17:58:48 UTC
Dima, can you also do the same change for c7, please?
Comment 6 Dima Panov freebsd_committer freebsd_triage 2025-04-15 18:11:45 UTC
(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?
Comment 7 Gleb Popov freebsd_committer freebsd_triage 2025-04-18 13:46:18 UTC
(In reply to Dima Panov from comment #6)
Yes, I probably confused it with something else.

This can be closed now.