emerge fails to complete when FEATURES="test" is set. Reproducible: Always Actual Results: >>> Test phase [check]: app-accessibility/epos-2.5.37-r1 make -j5 --load-average -j1 check Making check in libs make[1]: Entering directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/libs' Making check in regex make[2]: Entering directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/libs/regex' make[2]: Nothing to be done for `check'. make[2]: Leaving directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/libs/regex' make[2]: Entering directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/libs' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/libs' make[1]: Leaving directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/libs' Making check in src make[1]: Entering directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src' Making check in nnet make[2]: Entering directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src/nnet' make[2]: Leaving directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src/nnet' Making check in . make[2]: Entering directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src' make[2]: Nothing to be done for `check-am'. make[2]: Leaving directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src' Making check in tests make[2]: Entering directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src/tests' make check-TESTS make[3]: Entering directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src/tests' 485ms PASS: hard_zero_data_test Error: Could not open localsound device, error 13 (462) Could not open localsound device, error 13 Failed test intr test Reason: Could not set up a stream Last error: Success 1081ms FAIL: intr_test 1190ms PASS: legal_data_test 17699ms PASS: long_data_test 122ms PASS: long_strm_test 449ms PASS: random_data_test 902ms PASS: soft_zero_data_test Error: Could not open localsound device, error 13 (462) Could not open localsound device, error 13 Failed test speak test Reason: Could not set up a stream Last error: Success 1081ms FAIL: syn2_test 601ms PASS: vogon_test 71ms PASS: shutdown_test ==================== 2 of 10 tests failed ==================== make[3]: *** [check-TESTS] Error 1 make[3]: Leaving directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src/tests' make[2]: *** [check-am] Error 2 make[2]: Leaving directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src/tests' make[1]: *** [check-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/app-accessibility/epos-2.5.37-r1/work/epos-2.5.37/src' make: *** [check-recursive] Error 1 Expected Results: Package builds, completes tests and installs correctly. * Overlay eclasses override eclasses from PORTDIR: * * '/usr/portage/local/layman/kde-testing/eclass/kde4-base.eclass' * '/usr/portage/local/layman/kde-testing/eclass/kde4-meta.eclass' * * It is best to avoid overriding eclasses from PORTDIR because it will * trigger invalidation of cached ebuild metadata that is distributed with * the portage tree. If you must override eclasses from PORTDIR then you * are advised to add FEATURES="metadata-transfer" to /etc/make.conf and to * run `emerge --regen` after each time that you run `emerge --sync`. Set * PORTAGE_ECLASS_WARNING_ENABLE="0" in /etc/make.conf if you would like to * disable this warning. Portage 2.2_rc23 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.28-gentoo-r1-x86_64-Intel-R-_Core-TM-2_CPU_6420_@_2.13GHz-with-glibc2.2.5 Timestamp of tree: Mon, 09 Feb 2009 19:30:01 +0000 app-shells/bash: 3.2_p39 dev-java/java-config: 1.3.7-r1, 2.1.6-r1 dev-lang/python: 2.5.2-r7 dev-util/cmake: 2.6.2-r1 sys-apps/baselayout: 2.0.0 sys-apps/openrc: 0.4.2 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.63 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 2.2.6a virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=nocona -O3 -pipe -msse -msse2 -msse3 " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/4.2/env /usr/kde/4.2/share/config /usr/kde/4.2/shutdown /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=nocona -O3 -pipe -msse -msse2 -msse3 " DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US" LC_ALL="en_US" LDFLAGS="-Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j5 --load-average " PKGDIR="/usr/portage/packages" 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" PORTDIR_OVERLAY="/usr/portage/local/layman/desktop-effects /usr/portage/local/layman/kde-testing /usr/portage/local/layman/java-overlay /root/overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 ao avahi bash-completion berkdb branding bzip2 cairo cd cdda cddb cdparanoia cdr cli cpudetection cracklib crypt css cups dbus debug device-mapper directfb doc dri dvd dvdr dvdread dvi encode esd exif fam fame ffmpeg flac fontconfig foomaticdb fortran gcdmaster gdbm gif gimp glitz gphoto2 gpm gstreamer gtk hal iconv id3tag ieee1394 imagemagick ipod iptc isdnlog joystick jpeg jpeg2k kde4 kdeprefix lame libnotify libvisual lm_sensors mad matroska midi mmx mozilla mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses network nfs nls nptl nptlonly nsplugin nvidia offensive ogg opengl openmp oss pam pango pcre pdf perl png portage ppds pppd python qt3support qt4 quicktime rar raw readline reflection rtc session smp spell spl srt sse sse2 ssl ssse3 startup-notification svg sysfs taglib tcpd theora threads tiff truetype twolame type1 unicode usb vcd vim-syntax visualization vorbis wxwindows x264 xcb xcomposite xine xmp xorg xpm xscreensaver xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" 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 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="mouse keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" USERLAND="GNU" VIDEO_CARDS="nvidia i810 nv vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Can you please test this with userpriv removed from features and report back? Thanks much, William
(In reply to comment #1) > Can you please test this with userpriv removed from features and report back? When you can test this, please do so and re-open with your response. Thanks, William
I can reproduce this test failure. The test tries to get full access of the Soundcard (and outputs some speech snippets). This fails if the portage user can not access the soundcard or (even without userpriv) the soundcard is used by another process (at least with my on board soundcard). To sum up: FEATURES=-userpriv emerge epos worked while no sound was playing.