On 1/3/20 22:35 UTC, Neal Gompa wrote:
On Fri, Jan 3, 2020 at 5:25 PM Jan Kratochvil <jan.kratochvil@xxxxxxxxxx> wrote:
On Fri, 03 Jan 2020 22:45:52 +0100, Neal Gompa wrote:
Can someone please explain why gdb dlopen()'s librpm instead of just
doing proper compile-time linking?
[[snip]]
gdb.spec could auto-detect the current librpm version.
I think it'd be nice if it auto-detected this stuff. It's weird having
to go and fix that manually.
Please do not predict the environment at run time by detecting the environment
at compile time. That is generally safe only for the simplest properties
such as base-level hardware architecture. Detecting the version of some other
package is particularly problematic if the ultimate result is to be distributed
beyond the datacenter where it was built. Even when the result works,
it facilitates "version creep" of dependencies: requiring version N+1
(because because a Fedora builder tends to have newest versions) when
version N would suffice.
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx