Re: Help needed for FTBFS in rawhide because of libraries order

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Guido Aulisi wrote on 2019/02/04 22:23:
Il giorno lun 4 feb 2019 alle ore 13:14 Mamoru TASAKA
<mtasaka@xxxxxxxxxxxxxxxxx> ha scritto:

Guido Aulisi wrote on 2019/02/03 20:31:
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.

Guido

Apparently this is because rawhide pango.pc does not add -lglib-2.0
when called with pkgconf --libs:

F-29
$ rpm -q pango
pango-1.42.4-2.fc29.x86_64
$ pkgconf --libs pango
-lpango-1.0 -lgobject-2.0 -lglib-2.0

F-30
$ rpm -q pango
pango-1.43.0-1.fc30.x86_64
$ pkgconf --libs pango
-lpango-1.0

pango-1.43.0-1.fc30.x86_64 pango.pc shows:
----------------------------------
Name: Pango
Description: Internationalized text handling
Version: 1.43.0
Requires.private: glib-2.0 >=  2.38.0, gobject-2.0 >=  2.38.0, fribidi >=  0.19.7, libthai >=  0.1.9, harfbuzz >=  1.4.2, fontconfig >=  2.11.91, freetype2, xrender, xft >=  2.0.0, cairo >=  1.12.10
Libs: -L${libdir} -lpango-1.0
Libs.private: -lm
----------------------------------
So -lglib-2.0 is moved to Requires.private.

I guess this is due to this commit:
https://gitlab.gnome.org/GNOME/pango/commit/86855b6a458fd9b82d246f723a7e3c9cdb37a8a0
It seems to be doing some refactoring (with adding some fallback), and
"requires: gobject_dep," line is deleted.

Currently I am not sure if it is intentional or accidental.

Ok, now I understand why it does not work in rawhide

Regards,
Mamoru

Thank you very much

Ciao
Guido

... And actually the above change was reverted by the following commit:
https://gitlab.gnome.org/GNOME/pango/commit/d0cb6be7431d1a3c711bd45bcf05b34601604037

i.e. gobject-2.0 got added again as Requires (non-private) for pango.pc , which will
appear in pango-1.43.1 .

Regards,
Mamoru
_______________________________________________
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux