Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 314923 - gnome-extra/yelp: does not build lzma support with xz-utils installed
Summary: gnome-extra/yelp: does not build lzma support with xz-utils installed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
Depends on:
Reported: 2010-04-13 03:40 UTC by Dan Ziemba
Modified: 2011-02-12 16:18 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Dan Ziemba 2010-04-13 03:40:04 UTC
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. 

Reproducible: Always

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.

Actual Results:  
Observe the line "checking for lzmadec_open in -llzmadec... no", and at end of config output says lzma is not enabled.

Expected Results:  
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.
Comment 1 Pacho Ramos gentoo-dev 2010-04-13 16:27:37 UTC
This is the upstream bug report:

But these links can also be interesting:
Comment 2 Pacho Ramos gentoo-dev 2010-04-13 16:36:17 UTC
If yelp is the only one still requiring lzma-utils and not ported to xz-utils, maybe we could simply drop its lzma support :-/
Comment 3 Pacho Ramos gentoo-dev 2011-02-05 11:36:24 UTC
I think the way to go is to simply drop "lzma" USE flag and disable its support until yelp3 (that will fix this)
Comment 4 Pacho Ramos gentoo-dev 2011-02-12 16:18:31 UTC
+*yelp-2.30.2-r1 (12 Feb 2011)
+  12 Feb 2011; Pacho Ramos <> +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).