On 2/3/19 12:31, Guido Aulisi wrote:
Hi, I'm trying to debug a FTBFS in rawhide: https://koji.fedoraproject.org/koji/taskinfo?taskID=32412101 Apparently it fails because of library ordering, but it works in f29. g_object_unref is defined in gobject-2.0 and it gets surely added by the 'pkgconf --libs cairo pangocairo pango' command. Did anything about gobject or glib change in rawhide recently? Thank you for any help.
Not sure what changed, but if you are using a symbol from a library, the right thing to do is to list it in the 'pkgconf --libs' line so that you can be sure that you are linking against it and not relying on another library pulling it in. Just add gobject-2.0 to the 'pkgconf --libs' line and that should fix the issue you are seeing, hopefully. Hope this helps, Kalev _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx