When building yelp 2.28.1-r2 (probably older versions too) with the lzma USE flag enables, lzma support is not actually build if xz-utils is installed. This is because yelp links to liblzmadec, which is only provided by lzma-utils. The yelp ebuild depends on either xz-utils OR lzma-utils. Since coreutils needs xz-utils, and lzma-utils cannot be installed at the same time, yelp does not actually get lzma, even though the build succeeds.
I think the USE flag should be adjusted for this package to something more appropriate, or if possible the package could be patched to link to liblzma instead.
Steps to Reproduce:
1. Enable the lzma use flag.
2. Run `ebuild yelp-2.28.1-r2.ebuild configure` from /usr/portage/gnome-extra/yelp
3. Observe output of configure script.
Observe the line "checking for lzmadec_open in -llzmadec... no", and at end of config output says lzma is not enabled.
Lzma will be enabled.
I have tested this out with the latest git version of yelp from the webkit branch, and with the 2.29.5 version from the gnome overlay and got the same results.
This is the upstream bug report:
But these links can also be interesting:
If yelp is the only one still requiring lzma-utils and not ported to xz-utils, maybe we could simply drop its lzma support :-/
I think the way to go is to simply drop "lzma" USE flag and disable its support until yelp3 (that will fix this)
+*yelp-2.30.2-r1 (12 Feb 2011)
+ 12 Feb 2011; Pacho Ramos <firstname.lastname@example.org> +yelp-2.30.2-r1.ebuild:
+ Disable lzma support since it's not compatible with xz-utils and it won't be
+ solved until yelp3 (bug #314923), also disable beagle support as it's broken,
+ dead all will be dropped soon (bug #353533).