Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518602 - sys-devel/autogen: add USE=xml support
Summary: sys-devel/autogen: add USE=xml support
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-30 19:49 UTC by Karl Ernst Brunk
Modified: 2017-08-12 20:31 UTC (History)
0 users

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 Karl Ernst Brunk 2014-07-30 19:49:00 UTC
The autogen ebuild pulls all optional packages without giving the option to disable the options through use-flags. 
Examples :
--with-libguile
--with-libxml2
...

This is guiding to :
gnutls has the use-flag guile. Even if its disabled, guile is pulled because the needed (by gnutls) autogen-package is pulling it. I think without need. So the system is "polluted" by unnecessary packages.

autogen should have USE-Flags like guile, xml2, regex
Comment 1 Rafał Mużyło 2014-07-30 21:54:44 UTC
Sorry, but at least a part of this is nonsense.

For example, '--with-guile' is only for the sake of passing alternative prefix of guile installation. 'No guile' results in AC_MSG_ERROR.

'xml' might be a valid idea, but hard to say if it's a good one.
Comment 2 SpanKY gentoo-dev 2014-07-31 02:54:05 UTC
yes, the guile configure flags do not do what you think they do

the README:
***  AutoGen requires: ***
3.  The Guile version of a Scheme processing language.

the configure script:
checking whether libguile can be linked with... no
configure: error: Cannot find libguile.  libguile is required.  Perhaps you need to install guile-devel?
Comment 3 Karl Ernst Brunk 2014-07-31 18:15:49 UTC
Sorry for that. My simple thought was that when there is something optional, than it can or can not be used.
And yes - the README is hinting to that --with-libguile is kind of --with-libguile=/path/to/library.
README is telling the same for regex.
So these are no options - just posibilities to tell where to find if not in default path or in ENV's.
xml2 not mentioned as requierd.
My guess now - drop the bug.
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2017-08-12 20:31:09 UTC
(In reply to Karl Ernst Brunk from comment #3)

> My guess now - drop the bug.

Done.