Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 448250 - sys-devel/llvm-3.2 pulling in heavy extra deps to generate man pages
Summary: sys-devel/llvm-3.2 pulling in heavy extra deps to generate man pages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-23 05:23 UTC by Duncan
Modified: 2013-01-17 21:29 UTC (History)
5 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Duncan 2012-12-23 05:23:46 UTC
+++ This bug was initially created as a clone of Bug #446414 +++

llvm was apparently (based on bug #446414) not installing manpages.  Now it does, but it's pulling in dev-python/sphinx to do it, which in turn is pulling in several other packages (dev-pyton/pygments, dev-python/docutils, dev-python/jinja, dev-pyton/markupsafe) that I'd rather avoid if possible, since the only reason llvm's installed here at all is to enable the llvm features in mesa, so it's unlikely I'll ever want/need to use llvm or its manpages directly, and if I do I can always remerge if necessary.

Please either put this behind USE=doc as well, or create a new USE flag to put it behind, thus allowing users who wish, to avoid those extra deps.

equery/euse say there's a couple manpage-related USE flag in-tree precedents to choose from.

1) USE=man, found in dev-cpp/libcmis and sys-apps/pkgcore, with a description "Build and install manpages"

2) USE=manpages, found in sys-auth/sssd, with a description "Build manpages with dev-libs/libxslt"

Thanks.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2012-12-24 21:19:52 UTC
I see two things to do here:

1) request upstream to ship pre-generated manpages in the tarballs,

2) ship pre-generated manpages ourselves in the meantime.

What do you think, Bernard?
Comment 2 Bernard Cafarelli gentoo-dev 2013-01-16 16:07:36 UTC
This sounds better to me than USE=man (man pages always around is better). And they can always be re-generated with USE=doc.

I'll make a manpages tarball and update the ebuild accordingly
Comment 3 Bernard Cafarelli gentoo-dev 2013-01-17 13:45:51 UTC
Fixed in current llvm-3.2 ebuild (the installed files do not change)

Now USE=-doc will use pre-generated pages and does not depend on dev-python/sphinx (USE=doc will generate man pages as before)
Comment 4 Davide Pesavento (RETIRED) gentoo-dev 2013-01-17 21:29:26 UTC
Thanks a lot ;)