The libdbus_convenience library is incorrectly built under DragonFly BSD. As Joerg Sonnenberger explains (the author of the patch), the convenience library needs to be built -static, as otherwise binutils generates incorrect relocation entries for errno on DragonFly. If -static is not given to that library, final binaries such as dbus-daemon are linked with the convenience library using the PIC objects, which is incorrect. As the name implies, this is a convenience library so it has to be linked statically.
Created attachment 5180 [details] [review] Proposed patch.
Created attachment 5181 [details] [review] Proposed patch (ChangeLog entry corrected). The previous attachment missed to refer to the appropriate bug report in the proposed ChangeLog entry. This one is correct.
recent dbus code has renamed the convencience library to libdbus_internal. The internal library is build static ## this library is the same as libdbus, but exports all the symbols ## and is only used for static linking within the dbus package. noinst_LTLIBRARIES=libdbus-internal.la so it looks to me that this bug is already implemented and could be closed.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.