Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 632360

Summary: dev-libs/appstream-0.11.5 - can't resolve libraries to shared libraries: yaml
Product: Gentoo Linux Reporter: Stefan Schmid <schmidicom>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bdouxx-gentoo, mail, toralf
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/ximion/appstream/issues/146
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 639016    
Bug Blocks:    
Attachments: Build-Log from dev-libs/appstream-0.11.5
emerge --info

Description Stefan Schmid 2017-09-29 12:14:55 UTC
Created attachment 497000 [details]
Build-Log from dev-libs/appstream-0.11.5

Portage stops at the "yaml" Library, see Attachment.

ERROR: can't resolve libraries to shared libraries: yaml
ninja: build stopped: subcommand failed.
Comment 1 Stefan Schmid 2017-09-29 12:16:00 UTC
Created attachment 497002 [details]
emerge --info
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2017-10-08 19:32:04 UTC
Could you please print your use flags for dev-libs/libyaml?
Comment 3 Stefan Schmid 2017-10-09 05:22:32 UTC
dev-libs/libyaml USE="-doc -examples -static-libs {-test}"
Comment 4 Elias Probst 2017-10-13 14:19:37 UTC
The same applies to appstream-9999.

I rebuilt dev-libs/libyaml-0.1.7 - no success
I
Comment 5 bdouxx 2017-11-05 20:56:28 UTC
hi

bug reported upstream:

https://github.com/ximion/appstream/issues/146

```
This is a bug in gobject-introspection in combination with Meson. You would need to update gobject-introspection to >= 1.54 to make this work (unfortunately we can't easily check for versions of these binaries in Meson, although given this report I should really try to find a way).

If you can't update GIR to the bugfixed version and don't need introspection, you can also disable it with the respective flag (that's discouraged, but depending on what you want to do may work).

```
Comment 6 Andreas Sturmlechner gentoo-dev 2018-05-26 20:32:47 UTC
*** Bug 635628 has been marked as a duplicate of this bug. ***
Comment 7 Andreas Sturmlechner gentoo-dev 2018-07-19 20:43:25 UTC
*** Bug 661586 has been marked as a duplicate of this bug. ***
Comment 8 Andreas Sturmlechner gentoo-dev 2018-09-12 07:12:01 UTC
Please test again after update to gobject-introspection-1.56.0.
Comment 9 Stefan Schmid 2018-09-12 07:39:36 UTC
After Update to gobject-introspection-1.56.0 build dev-libs/appstream-0.11.5 without any error.
Comment 10 Andreas Sturmlechner gentoo-dev 2018-09-12 07:40:24 UTC
Thanks for testing.