[Rpm-ecosystem] rpm -> lua -> ncurses

Neal Gompa ngompa13 at gmail.com
Tue Jul 26 14:42:35 UTC 2016


On Tue, Jul 26, 2016 at 10:27 AM, Colin Walters <walters at verbum.org> wrote:
> I'm sure this has come up before, but I tried searching at least
> mailing lists without much luck.
>
> At least in Fedora and CentOS the "lua" package drags in ncurses
> which in turn is the first thing to pull in libstdc++ among other things.
>
> The background is I'm working on:
> https://github.com/cgwalters/centos-dockerbase-minimal
>
> Do any RPM users fix this somehow?  I tried reading the
> current OpenEmbedded-Core code, and it looks like they
> do build with Lua off, and presumably don't rely on it
> on their generated packages.
>
> (Actually in Fedora, we should really use less Lua...e.g. what's going on currently with the Lua
>  code in the "filesystem" package is ridiculous, but let's assume
>  for now we need to support Lua)
>
> It seems we could likely safely assume no packages are using
> ncurses via lua...so perhaps splitting that dependency off would
> make the most sense.
>
> Has anyone else done work in this area?
>

For a while, I wasn't building rpm with lua for my OS X RPM builds,
because it gets annoying setting that up properly (the rpm.org
codebase doesn't support linking statically for most things).

I'm honestly surprised we don't support statically linking some of
these things, as it would probably make RPM a little bit saner and
pull in fewer deps.

I believe the RPM5 build system actually does support statically
linking in as much as possible (OpenSSL/BeeCrypt/GnuTLS, Lua, BDB,
SQLite, MQ, etc.).





-- 
真実はいつも一つ!/ Always, there's only one truth!


More information about the Rpm-ecosystem mailing list