Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 330941 - [QA] dev-vcs/subversion-1.6.12 dies on conflicting USE flags
Summary: [QA] dev-vcs/subversion-1.6.12 dies on conflicting USE flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High QA (vote)
Assignee: Tony Vroon (RETIRED)
URL: http://devmanual.gentoo.org/general-c...
Whiteboard:
Keywords:
: 307833 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-03 02:46 UTC by Jeroen Roovers (RETIRED)
Modified: 2011-08-19 10:48 UTC (History)
2 users (show)

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


Attachments
dev-vcs:subversion-1.6.12:20100803-023704.log [ppc,fail] (20100803-023704.log,2.94 KB, text/plain)
2010-08-03 02:47 UTC, Jeroen Roovers (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2010-08-03 02:46:21 UTC
I am quite certain we agreed we don't die() on "unapproved" USE flag combinations.

" == Conflicting USE Flags ==

"Occasionally, ebuilds will have conflicting USE flags for functionality. Checking for them and returning an error is not a viable solution. Instead, you must pick one of the USE flags in conflict to favour and should alert the user that a particular flag is being used instead."

[ebuild  N    ] dev-vcs/subversion-1.6.12  USE="bash-completion berkdb dso nls perl python test webdav-neon -apache2 -ctypes-python -debug -doc -emacs -extras -gnome-keyring -java -kde -ruby -sasl -vim-syntax -webdav-serf"

 * Messages for package dev-vcs/subversion-1.6.12:

 * 
 * ************************************************************************************************
 * 
 * NOTES ABOUT TESTS
 * 
 * You can set the following variables to enable testing of some features and configure testing:
 *   SVN_TEST_APACHE_PORT=integer          - Set Apache port number (Default value: 62208)
 *   SVN_TEST_SVNSERVE_PORT=integer        - Set svnserve port number (Default value: 62209)
 *   SVN_TEST_FSFS_MEMCACHED=1             - Enable using of Memcached for FSFS repositories
 *   SVN_TEST_FSFS_MEMCACHED_PORT=integer  - Set Memcached port number (Default value: 62210)
 *   SVN_TEST_FSFS_SHARDING=integer        - Enable sharding of FSFS repositories and set default shard size for FSFS repositories
 *   SVN_TEST_FSFS_PACKING=1               - Enable packing of FSFS repositories
 *                                           (SVN_TEST_FSFS_PACKING requires SVN_TEST_FSFS_SHARDING)
 *   SVN_TEST_BINDINGS=1                   - Enable testing of bindings
 *                                           (Testing of bindings requires dev-vcs/subversion-1.6.12)
 * 
 * ************************************************************************************************
 * 
 * Testing of libsvn_ra_neon / libsvn_ra_serf requires support for Apache.
 * ERROR: dev-vcs/subversion-1.6.12 failed:
 *   Enable "apache2" USE flag.
 * 
 * Call stack:
 *                  ebuild.sh, line  54:  Called pkg_setup
 *   subversion-1.6.12.ebuild, line 151:  Called die
 * The specific snippet of code:
 *                      die "Enable \"apache2\" USE flag."
 * 
 * If you need support, post the output of 'emerge --info =dev-vcs/subversion-1.6.12',
 * the complete build log and the output of 'emerge -pqv =dev-vcs/subversion-1.6.12'.
 * The complete build log is located at '/keeps/gentoo/emergelogs/marga/dev-vcs:subversion-1.6.12:20100803-023704.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-vcs/subversion-1.6.12/temp/die.env'.
 * S: '/var/tmp/portage/dev-vcs/subversion-1.6.12/work/subversion-1.6.12'

Tue Aug  3 04:43:01 CEST 2010
Portage 2.1.8.3 (default/linux/powerpc/ppc32/10.0, gcc-4.4.3, glibc-2.11.2-r0, 2.6.32-gentoo-r7 ppc)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.32-gentoo-r7-ppc-740-750-with-gentoo-1.12.13
Timestamp of tree: Mon, 02 Aug 2010 15:15:01 +0000
distcc 3.1 powerpc-unknown-linux-gnu [enabled]
app-shells/bash:     4.0_p37
dev-lang/python:     2.5.4-r3, 2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.6.3-r1, 1.9.6-r2, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="ppc"
ACCEPT_LICENSE="* -@EULA"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe -Wall -ggdb"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/app-defaults/XTerm /usr/share/X11/app-defaults/XTerm-color /usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mcpu=powerpc -mtune=powerpc -fno-strict-aliasing -pipe -Wall -ggdb"
DISTDIR="/keeps/gentoo/distfiles"
FEATURES="assume-digests autoaddcvs buildpkg cvs distcc distlocks fixpackages metadata-transfer news notitles parallel-fetch protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unmerge-logs unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ "
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
LINGUAS="en en_GB nl"
MAKEOPTS="-j4"
PKGDIR="/keeps/gentoo/packages/marga"
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="/keeps/gentoo/portage"
PORTDIR_OVERLAY="/keeps/gentoo/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aalib alsa asf audiofile bash-completion berkdb bl bluetooth bzip2 cairo cdda cddb cdio cdparanoia cdr chroot cli consolekit cpath cracklib crypt cscope css cups curl custom-cflags custom-cxxflags cxx dga dillo divx dri dv dvd dvdr dvdread edl elf encode fame fbcon ffmpeg flac flash fontforge foomaticdb fortran freetype fts3 gdbm ggi gif gimpprint glib glitz glut gmedia gnokii gnutls gpm gs gtk gtk2 iconv id3tag idn imlib inkjar ipv6 jingle jpeg kate lcms libcaca libnl libsamplerate live logrotate lzo mad matroska midi mikmod mjpeg mng modplug modules mozilla mozsvg mozxmlterm mp3 mpeg mplayer mudflap musepack ncurses nethack network network-cron nl nls nptl nptlonly nsplugin offensive ogg opengl openmp openssl optimisememory pam pcre pda pdf perl physfs plotutils png ppc pppd python quicktime readline realmedia reflection rtc rtsp samba screenshot server session sftplogging shout skins smux snmp speex spell spl ssl stream svg sysfs syslog tcpd test tetex tga theora threads tiff truetype unicode upnp usb userlocales utils v4l v4l2 vcd vidix vim vlm vorbis winbind wmp xanim xml xml2 xorg xosd xulrunner xv xvid zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 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 cgi cgid 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" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB nl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="r128" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-08-03 02:47:10 UTC
Created attachment 241177 [details]
dev-vcs:subversion-1.6.12:20100803-023704.log [ppc,fail]
Comment 2 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-08-03 02:48:26 UTC
Especially not when we can use

RESTRICT="webdav-neo? ( !apache2? ( test ) ) webdav-serf? ( !apache2? ( test ) )"

to skip tests if the USE flag combination does not allow us to...
Comment 3 Matt Turner gentoo-dev 2011-06-09 05:06:52 UTC
Don't really know why nothing's happening with this bug, but I thought I'd make a suggestion.

Perhaps if we really do want to force the user to pick correct USE flags beforehand, we can use REQUIRED_USE, which is part of EAPI 4 I think.

eg, REQUIRED_USE="^^ ( nss gnutls )
Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-06-29 20:30:07 UTC
Fixed in python overlay using REQUIRED_USE.
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2011-08-19 10:17:10 UTC
(In reply to comment #3)
> Perhaps if we really do want to force the user to pick correct USE flags
> beforehand, we can use REQUIRED_USE, which is part of EAPI 4 I think.

That would be my preferred solution. Unfortunately the python eclass in the main tree does not support EAPI=4 yet, so this is not available to me. EAPI=3 is the highest that can be used unless eclass usage is dropped.
It is an issue that is on my radar, which I would like to address for 1.6.17-r3. The main consideration is how valuable the python parts of subversion are. A port of the current ebuild to EAPI=4, dropping the python eclass, would be radical but is certain to address it.
Comment 6 Tony Vroon (RETIRED) gentoo-dev 2011-08-19 10:38:22 UTC
Okay, got a fix for 1.6.17-r2 after all. I can think of 1 corner case where it would fail, but it is much better than a die.
Comment 7 Tony Vroon (RETIRED) gentoo-dev 2011-08-19 10:40:29 UTC
+*subversion-1.6.17-r2 (19 Aug 2011)
+
+  19 Aug 2011; Tony Vroon <chainsaw@gentoo.org> -files/80subversion-extras,
+  -subversion-1.6.17-r1.ebuild, +subversion-1.6.17-r2.ebuild:
+  More gracefully handle dependency between KDE & NLS USE-flags, as requested
+  by Jeroen Roovers in bug #330941. Perfection would require EAPI=4, which I
+  can not use yet. Tell user to restart daemon after upgrade, as requested by
+  Joel Koglin in bug #337042. Use recursive dodoc instead of ecompressdir as
+  requested by Ulrich Müller in bug #356503. Move the environment config back
+  to inline for now, as Kent Fredric reports that variable substitution broke
+  and caused env-update failures. Closes bug #379819. Killed old -r1 ebuild due
+  to this problem.
Comment 8 Tony Vroon (RETIRED) gentoo-dev 2011-08-19 10:48:53 UTC
*** Bug 307833 has been marked as a duplicate of this bug. ***