Il giorno dom 3 feb 2019 alle ore 23:17 Kalev Lember
<kalevlem...@gmail.com> ha scritto:
>
>
> 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.

Thank you for your suggestion,
I added -lgobject-2.0 -lglib-2.0 to LDFLAGS and the build was ok.
I don't want to modify or patch upstream's Makefile...

> Hope this helps,
> Kalev
It helped for sure!
I will search for root problem ASAP, I think I'll have to install a
full rawhide system to do that.

Ciao
Guido
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to