Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352788 - subversion depends on apache2 without USE
Summary: subversion depends on apache2 without USE
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-26 07:36 UTC by Xuefer
Modified: 2011-01-26 17:32 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 Xuefer 2011-01-26 07:36:16 UTC
# emerge -u world system --deep --newuse -pv

 *
 * The FEATURES=digest setting can prevent corruption from being noticed.
 * The `repoman manifest` command is the preferred way to generate
 * manifests and it is capable of doing an entire repository or category at
 * once.
 *

These are the packages that would be merged, in order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "=www-servers/apache-2.2*[apache2_modules_auth_basic,apache2_modules_authn_file,apache2_modules_dav,apache2_modules_log_config]".
!!! One of the following packages is required to complete your request:
- www-servers/apache-2.2.16 (Change USE: +apache2_modules_auth_basic +apache2_modules_authn_file +apache2_modules_dav +apache2_modules_log_config)
(dependency required by "dev-vcs/subversion-1.6.15" [ebuild])
(dependency required by "@selected")
(dependency required by "@world" [argument])


# equery uses subversion
[ Searching for packages matching subversion... ]
[ Colour Code : set unset ]
[ Legend : Left column  (U) - USE flags from make.conf              ]
[        : Right column (I) - USE flags packages was installed with ]
[ Found these USE variables for dev-vcs/subversion-1.6.15 ]
 U I
 - - apache2         : Add Apache2 support
 + + bash-completion : Enable bash-completion support
 + + berkdb          : Adds support for sys-libs/db (Berkeley DB for MySQL)
 - - ctypes-python   : Build and install Ctypes Python bindings
 - - debug           : Enable extra debug codepaths, like asserts and extra output. If you want to get meaningful backtraces see http://www.gentoo.org/proj/en/qa/backtraces.xml
 - - doc             : Adds extra documentation (API, Javadoc, etc)
 - - dso             : Enable runtime module search
 - - elibc_FreeBSD   : ELIBC setting for systems that use the FreeBSD C library
 - - emacs           : Adds support for GNU Emacs
 - - extras          : Install extra scripts (examples, tools, hooks)
 - - gnome-keyring   : Enable support for storing passwords via gnome-keyring
 - - java            : Adds support for Java
 - - kde             : Adds support for kde-base/kde (K Desktop Enviroment)
 + + nls             : Adds Native Language Support (using gettext - GNU locale utilities)
 - - perl            : Adds support/bindings for the Perl language
 + + python          : Adds support/bindings for the Python language
 - - ruby            : Adds support/bindings for the Ruby language
 - - sasl            : Adds support for the Simple Authentication and Security Layer
 - - test            : Workaround to pull in packages needed to run with FEATURES=test. Portage-2.1.2 handles this internally, so don't set it in make.conf/package.use anymore
 + + vim-syntax      : Pulls in related vim syntax scripts
 + + webdav-neon     : Enable WebDAV support using net-libs/neon
 - - webdav-serf     : Enable WebDAV support using net-libs/serf

vim /usr/portage/dev-vcs/subversion/subversion-1.6.15.ebuild

APACHE_TEST_DEPEND="|| (
    =www-servers/apache-2.4*[apache2_modules_auth_basic,apache2_modules_authn_core,apache2_modules_authn_file,apache2_modules_authz_core,apache2_modules_authz_user,apache2_modules_dav,apache2_modules_log_config,apache2_modules_unixd]
    =www-servers/apache-2.2*[apache2_modules_auth_basic,apache2_modules_authn_file,apache2_modules_dav,apache2_modules_log_config]
    )"
DEPEND="${CDEPEND}
    !!<sys-apps/sandbox-1.6
    ctypes-python? ( dev-python/ctypesgen )
    doc? ( app-doc/doxygen )
    gnome-keyring? ( dev-util/pkgconfig )
    java? ( >=virtual/jdk-1.5 )
    kde? ( dev-util/pkgconfig )
    nls? ( sys-devel/gettext )
    test? (
        =dev-lang/python-2*
        webdav-neon? ( ${APACHE_TEST_DEPEND} )
        webdav-serf? ( ${APACHE_TEST_DEPEND} )
    )

this is strange, apache2 is for svn server side, webdav-* can be for client side only, without USE=apache2 it should not bring in APACHE_TEST_DEPEND
i don't want to pull in apache2 but still want (and is required by layman) webdav support for svn client
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-01-26 17:32:44 UTC
You have enabled FEATURES="test" / USE="test", and tests of libsvn_ra_neon / libsvn_ra_serf require Apache.