From: Randolph Sapp <rs@ti.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
<reatmon@ti.com>, <denys@konsulko.com>
Cc: <openembedded-core@lists.openembedded.org>
Subject: Re: [oe-core][PATCH] bzip2: add libbz2.so.1.0 link for compat
Date: Mon, 18 Mar 2024 14:13:34 -0500 [thread overview]
Message-ID: <CZX45V4AS4TK.14WNJ0K3ZEGU5@ti.com> (raw)
In-Reply-To: <419a6e703c2619c79e52772edf92f1f8c43230e8.camel@linuxfoundation.org>
On Sun Mar 17, 2024 at 4:28 AM CDT, Richard Purdie wrote:
> On Fri, 2024-03-15 at 19:19 -0500, rs@ti.com wrote:
> > From: Randolph Sapp <rs@ti.com>
> >
> > Add a link from libbz2.so.1.0 to libbz2.so.${PV} for compatibility
> > with
> > other distributions.
> >
> > A handfull of distributions are still using the "Makefile-libbz2_so" to
> > generate libbz2 and bzip2-shared. This creates a library with a soname
> > of "libbz2.so.1.0". This library link is not provide by default in
> > autotools builds so add one here as Gentoo does now [1].
> >
> > This has been addressed upstream already, but there hasn't been a stable
> > release since then [2].
> >
> > [1] https://bugs.gentoo.org/338321
> > [2] https://gitlab.com/bzip2/bzip2/-/merge_requests/42
> >
> > Signed-off-by: Randolph Sapp <rs@ti.com>
> > ---
> > meta/recipes-extended/bzip2/bzip2_1.0.8.bb | 5 +++++
> > 1 file changed, 5 insertions(+)
>
> I guess by "cross distro", you mean that you have some binaries which
> need to run on multiple distros, some of which have this naming and
> some of which do not?
>
> I am a bit worried about this as it is the kind of thing we add, then
> totally forget about removing so it gets carried even after it no
> longer makes sense (and the library name/version changes again for
> example).
>
> Ugly as it may be, I'm wondering if there should be a separate recipe
> to handle this link which the binaries could depend upon. Even a
> separate package for it and an error if the target lib doesn't exist
> might be better.
>
> Cheers,
>
> Richard
Yeah, anything compiled on Debian/Arch will run into issues looking up that so
name when running under Yocto.
Oddly enough though, both Fedora and Gentoo seem to be using the new soname. I'm
not entirely sure if this is actually that common now. Maybe this should be
ignored.
next prev parent reply other threads:[~2024-03-18 19:13 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-16 0:19 [oe-core][PATCH] bzip2: add libbz2.so.1.0 link for compat rs
2024-03-16 16:52 ` Alexander Kanavin
2024-03-18 19:15 ` Randolph Sapp
2024-03-17 9:28 ` Richard Purdie
2024-03-18 19:13 ` Randolph Sapp [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-14 0:29 [oe-core][RFC 0/3] Display manager proposal for x11 and wayland rs
[not found] ` <182C83EDE0EF5771.27055@lists.openembedded.org>
2025-03-14 0:40 ` [OE-core] [PATCH] bzip2: add libbz2.so.1.0 link for compat Randolph Sapp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CZX45V4AS4TK.14WNJ0K3ZEGU5@ti.com \
--to=rs@ti.com \
--cc=denys@konsulko.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=reatmon@ti.com \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.