I'm trying to build subversion with webdav, test and w/o apache, but test phase fails Reproducible: Always Steps to Reproduce: emerge -uva subversion [ebuild N ] dev-util/subversion-1.6.6 USE="bash-completion dso nls perl python sasl test vim-syntax webdav-neon -apache2 -berkdb -ctypes-python -debug -doc -emacs -extras -gnome-keyring -java -ruby -webdav-serf" 0 kB Actual Results: * Testing of libsvn_ra_neon / libsvn_ra_serf requires support for Apache. * * ERROR: dev-util/subversion-1.6.6 failed. * Call stack: * ebuild.sh, line 49: Called pkg_setup * subversion-1.6.6.ebuild, line 136: Called die * The specific snippet of code: * die "Enable \"apache2\" USE flag." * The die message: * Enable "apache2" USE flag. Expected Results: all test ok May be we can skip tests for webdav part if USE=-apache2 or rewrite tests GENTOO_VM= CLASSPATH="" JAVA_HOME="" JAVACFLAGS="" COMPILER="" emerge --info Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.32-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.32-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-1.12.13 Timestamp of tree: Tue, 05 Jan 2010 17:15:01 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=amdfam10" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/app-defaults /usr/share/X11/locale /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=amdfam10" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg collision-protect distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox usersync" GENTOO_MIRRORS=" http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo " LDFLAGS="-Wl,-O1" LINGUAS="en ru de fr" MAKEOPTS="-j5" PKGDIR="/media/ext/usr/portage/packages-queen/" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 apm bash-completion bluetooth branding bzip2 cairo cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode evo fam firefox flac fontconfig fortran gdbm gif gnutls gpm gstreamer hal iconv ieee1394 ipv6 java5 java6 jpeg kpathsea lcms libnotify mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nvidia ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt qt3support qt4 quicktime readline reflection sasl sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd test threads thunar tiff truetype type1 ubuntu unicode usb userlocales v4l2 vim-syntax vorbis x264 xcb xinerama xml xml2 xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel usb-audio" ALSA_PCM_PLUGINS="*" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" FOO2ZJS_DEVICES="hp1005" INPUT_DEVICES="keyboard kbd mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru de fr" NETBEANS_MODULES="identity mobility php profiler xml apisupport groovy gsf harness ide j2ee java websvccommon" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vga vesa nv" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
As the message indicates, you need to enable "apache2" USE flag.
(In reply to comment #1) > As the message indicates, you need to enable "apache2" USE flag. > i'm building app *without* apache and expecting tests *without* apache For example, there are lot of apps with X use flag. Why X support must be installed for test if one builds app with USE="-X test"?
So disable tests.