Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406867 - portage uses STDERR instead of STDOUT if dep calculation fails
Summary: portage uses STDERR instead of STDOUT if dep calculation fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 409383
  Show dependency tree
 
Reported: 2012-03-04 11:01 UTC by Roland Ramthun
Modified: 2018-07-28 17:16 UTC (History)
0 users

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


Attachments
output of manual porticron and emerge invocation (file_406867.txt,6.90 KB, text/plain)
2012-03-04 11:02 UTC, Roland Ramthun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Roland Ramthun 2012-03-04 11:01:16 UTC
I didn't get any mails from porticron for quite some time and after a manual check I discovered it has stopped sending mails though there are available updates.

I suspect this happens when you encounter necessary USE changes and get an exit code of 1.

Reproducible: Always

Actual Results:  
No mail gets send.

Expected Results:  
Send an email with the available updates and possibly a hint on the necessary use changes.

s1 ~ # emerge --info
Portage 2.1.10.44 (default/linux/amd64/10.0/no-multilib, gcc-4.5.3, glibc-2.13-r4, 3.2.1-gentoo-r2 x86_64)
=================================================================
System uname: Linux-3.2.1-gentoo-r2-x86_64-Intel-R-_Celeron-R-_CPU_220_@_1.20GHz-with-gentoo-2.0.3
Timestamp of tree: Sun, 04 Mar 2012 10:30:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories:

gentoo
    location: /usr/portage
    sync: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

ABI="amd64"
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
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"
ARCH="amd64"
AUTOCLEAN="yes"
BOOTSTRAP_USE="cxx unicode multilib multilib"
CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump"
CAMERAS="ptp2"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnu"
CHOST_x86="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog"
COLLISION_IGNORE="/lib/modules"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
DEFAULT_ABI="amd64"
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="-aDv"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fail-clean fixlafiles news protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersync"
FETCHCOMMAND="wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}""
FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
FFLAGS=""
GCC_SPECS=""
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/"
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx"
GRUB_PLATFORMS=""
HOME="/root"
INFOPATH="/usr/share/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/info:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/info"
INPUT_DEVICES="keyboard mouse evdev"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="en_US.UTF-8"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_COLLATE="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe %s"
LIBDIR_amd64="lib64"
LIBDIR_amd64_fbsd="lib64"
LIBDIR_n32="lib32"
LIBDIR_n64="lib64"
LIBDIR_o32="lib"
LIBDIR_ppc="lib32"
LIBDIR_ppc64="lib64"
LIBDIR_s390="lib32"
LIBDIR_s390x="lib64"
LIBDIR_sparc32="lib32"
LIBDIR_sparc64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LIBDIR_x86_fbsd="lib32"
LINGUAS="de"
LOGNAME="root"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/root"
MAKEOPTS="-j1"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.21.1/man:/usr/share/gcc-data/x86_64-pc-linux-gnu/4.5.3/man:/etc/java-config/system-vm/man/:/usr/lib64/php5.3/man/"
MULTILIB_ABIS="amd64"
MULTILIB_STRICT_DENY="64-bit.*shared object"
MULTILIB_STRICT_DIRS="/lib32 /lib /usr/lib32 /usr/lib /usr/kde/*/lib32 /usr/kde/*/lib /usr/qt/*/lib32 /usr/qt/*/lib /usr/X11R6/lib32 /usr/X11R6/lib"
MULTILIB_STRICT_EXEMPT="(perl5|gcc|gcc-lib|binutils|eclipse-3|debug|portage|udev)"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
PAGER="/usr/bin/less"
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/lib64/subversion/bin"
PHP_TARGETS="php5-3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib64/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="log warn error"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="save_summary echo"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_GPG_SIGNING_COMMAND="gpg --sign --clearsign --yes --default-key "${PORTAGE_GPG_KEY}" --homedir "${PORTAGE_GPG_DIR}" "${FILE}""
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_OVERRIDE_EPREFIX=""
PORTAGE_PYM_PATH="/usr/lib64/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="-1"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
PORT_LOGDIR_CLEAN="find "${PORT_LOGDIR}" -type f ! -name "summary.log*" -mtime +7 -delete"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/root"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}""
RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.3:/usr/lib64/subversion/bin"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/bin/bash"
SHLVL="1"
SSH_CLIENT="136.199.218.46 40302 666"
SSH_CONNECTION="136.199.218.46 40302 91.121.199.9 666"
SSH_TTY="/dev/pts/0"
SYMLINK_LIB="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="acl amd64 berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv idn jpeg logrotate mmx modules mudflap ncurses nls nptl nptlonly openmp pam pcre png pppd readline session sse sse2 ssl sysfs unicode xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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"
USER="root"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CALLIGRA_FEATURES CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS GRUB_PLATFORMS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL OFED_DRIVERS PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:repo:env.d"
VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l"
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"
_="/usr/bin/emerge"
Comment 1 Roland Ramthun 2012-03-04 11:02:23 UTC
Created attachment 304203 [details]
output of manual porticron and emerge invocation
Comment 2 Stef Simoens 2012-04-12 16:50:09 UTC
have the same problem ... very annoying.

it's not only when there are necessary USE changes, it's every time when emerge writes to stderr and not to stdout...
Comment 3 Benedikt Böhm (RETIRED) gentoo-dev 2012-04-29 13:36:49 UTC
can you try if it works after removing "2>/dev/null" from UPGRADE=$(...) in line 184?
Comment 4 Stef Simoens 2012-04-29 18:16:40 UTC
(In reply to comment #3)
> can you try if it works after removing "2>/dev/null" from UPGRADE=$(...) in
> line 184?

yes, that works!
Comment 5 Roland Ramthun 2012-04-29 21:24:35 UTC
(In reply to comment #3)
> can you try if it works after removing "2>/dev/null" from UPGRADE=$(...) in
> line 184?

NACK here, no mail.

s1 ~ # porticron -vv
using PORTICRON_CONF=/etc/porticron.conf, NOMAIL=0, VERBOSE=1
running SYNC_CMD: /usr/bin/emerge --ignore-default-opts --sync
running SYNC_OVERLAY_CMD: /bin/true
running GLSA_AFFECTED: /usr/bin/glsa-check --test --nocolor --verbose affected
running GLSA_UPGRADES: /usr/bin/glsa-check --nocolor --pretend affected
running UPGRADE_CMD: /usr/bin/emerge --deep --update -N --quiet --pretend world
[ebuild     U ] sys-devel/gnuconfig-20120116 [20110814]
[ebuild     U ] sys-libs/timezone-data-2012c [2011n] USE="nls" 
[ebuild  N    ] media-sound/alsa-headers-1.0.25 
[ebuild  N    ] app-text/poppler-data-0.4.4 
[ebuild  N    ] app-arch/cpio-2.11  USE="nls" 
[ebuild     U ] sys-process/lsof-4.85-r2 [4.83] USE="-examples% -ipv6% -rpc% (-selinux) -static" 
[ebuild  N    ] app-arch/rpm2targz-9.0.0.4g 
[ebuild   R   ] sys-apps/util-linux-2.20.1-r1  USE="cramfs crypt ncurses nls unicode -ddate -loop-aes -old-linux -perl (-selinux) -slang -static-libs* (-uclibc)" 
[ebuild     U ] sys-apps/gawk-4.0.0 [3.1.8] USE="nls readline%*" 
[ebuild  N    ] dev-libs/libgpg-error-1.10  USE="nls -common-lisp -static-libs" 
[ebuild     U ] net-libs/c-client-2007f-r1 [2007e-r2] USE="pam ssl -doc -static-libs% (-kolab%)" 
[ebuild   R   ] sys-libs/e2fsprogs-libs-1.42  USE="nls -static-libs*" 
[ebuild   R   ] sys-fs/e2fsprogs-1.42  USE="nls -static-libs*" 
[ebuild     U ] app-arch/libarchive-3.0.3 [2.8.5] USE="acl bzip2 e2fsprogs%* iconv%* lzma zlib -expat -nettle% -static-libs -xattr (-static%)" 
[ebuild  N    ] dev-libs/gobject-introspection-1.30.0-r2  USE="-doc -test" 
[ebuild     U ] net-mail/dovecot-2.0.19 [2.0.17] USE="bzip2 maildir mysql pam ssl zlib -caps -cydir -doc -ipv6 -kerberos -ldap -managesieve -mbox -mdbox -postgres -sdbox -sieve -sqlite -static-libs -suid -vpopmail" 
[ebuild  N    ] x11-proto/renderproto-0.11.1 
[ebuild  N    ] x11-proto/xproto-7.0.22  USE="-doc" 
[ebuild  N    ] x11-proto/xextproto-7.2.0  USE="-doc" 
[ebuild  N    ] x11-proto/inputproto-2.0.2 
[ebuild  N    ] x11-libs/xtrans-1.2.6  USE="-doc" 
[ebuild  N    ] x11-misc/util-macros-1.15.0 
[ebuild  N    ] media-fonts/font-util-1.2.0 
[ebuild  N    ] x11-libs/pixman-0.24.0  USE="mmx sse2 (-altivec) (-iwmmxt) (-neon) -static-libs" 
[ebuild  N    ] x11-proto/damageproto-1.2.1 
[ebuild  N    ] x11-proto/kbproto-1.0.5 
[ebuild  N    ] x11-libs/libICE-1.0.7  USE="-doc -ipv6 -static-libs" 
[ebuild  N    ] app-text/libpaper-1.1.24-r1 
[ebuild     U ] dev-perl/DBI-1.618.0 [1.615] USE="-test" 
[ebuild  N    ] media-libs/alsa-lib-1.0.25-r1  USE="-alisp -debug -doc -python" 
[ebuild  N    ] x11-proto/recordproto-1.14.1  USE="-doc" 
[ebuild  N    ] dev-libs/atk-2.2.0  USE="introspection nls -doc" 
[ebuild  N    ] x11-proto/compositeproto-0.4.2 
[ebuild  N    ] x11-proto/randrproto-1.3.2 
[ebuild  N    ] x11-proto/fixesproto-5.0 
[ebuild  N    ] x11-libs/libSM-1.2.0  USE="uuid -doc -ipv6 -static-libs" 
[ebuild  N    ] x11-proto/xf86bigfontproto-1.2.0 
[ebuild  N    ] x11-proto/xcb-proto-1.6-r2 
[ebuild  N    ] x11-libs/libXdmcp-1.1.0  USE="-doc -static-libs" 
[ebuild  N    ] x11-libs/libXau-1.0.6  USE="-static-libs" 
[ebuild  N    ] dev-libs/libpthread-stubs-0.3  USE="-static-libs" 
[ebuild  N    ] dev-libs/libgcrypt-1.4.6  USE="-static-libs" 
[ebuild  N    ] dev-libs/libxslt-1.1.26-r3  USE="crypt -debug -python -static-libs" 
[ebuild  N    ] x11-libs/libxcb-1.7  USE="-doc (-selinux) -static-libs" 
[ebuild  N    ] x11-libs/libX11-1.4.4  USE="-doc -ipv6 -static-libs -test" 
[ebuild  N    ] x11-libs/libXext-1.3.0  USE="-doc -static-libs" 
[ebuild  N    ] x11-libs/libXrender-0.9.6  USE="-static-libs" 
[ebuild  N    ] x11-libs/libXfixes-5.0  USE="-static-libs" 
[ebuild  N    ] x11-libs/libXi-1.4.3-r1  USE="-doc -static-libs" 
[ebuild  N    ] x11-libs/libXtst-1.2.0  USE="-doc -static-libs" 
[ebuild  N    ] x11-libs/libXcursor-1.1.12  USE="-static-libs" 
[ebuild  N    ] x11-libs/libXdamage-1.1.3  USE="-static-libs" 
[ebuild  N    ] x11-libs/libXt-1.1.1  USE="-static-libs" 
[ebuild  N    ] x11-libs/libXrandr-1.3.2  USE="-static-libs" 
[ebuild  N    ] x11-libs/libXcomposite-0.4.3-r1  USE="-doc -static-libs" 
[ebuild  N    ] dev-lang/nasm-2.09.10  USE="-doc" 
[ebuild  N    ] media-libs/fontconfig-2.8.0-r1  USE="-doc" 
[ebuild  N    ] app-admin/eselect-fontconfig-1.1 
[ebuild  N    ] media-fonts/dejavu-2.33  USE="-X -fontforge" 
[ebuild  N    ] virtual/ttf-fonts-1 
[ebuild  N    ] x11-libs/libXft-2.2.0  USE="-static-libs" 
[ebuild  N    ] x11-libs/cairo-1.10.2-r1  USE="X glib svg (-aqua) -debug -directfb -doc (-drm) (-gallium) -opengl (-openvg) -qt4 -static-libs -xcb" 
[ebuild  N    ] x11-libs/pango-1.29.4  USE="introspection -X -debug -doc -test" 
[ebuild  N    ] media-fonts/urw-fonts-2.4.9  USE="-X" 
[ebuild     U ] mail-mta/postfix-2.8.9 [2.8.7] USE="dovecot-sasl mysql pam ssl -cdb -doc -hardened -ipv6 -ldap -ldap-bind -mbox -nis -postgres -sasl (-selinux) -sqlite -vda" 
[ebuild  N    ] media-libs/libjpeg-turbo-1.2.0-r1  USE="-java -static-libs" 
[uninstall    ] media-libs/jpeg-8c-r1  USE="-static-libs" 
[blocks b     ] media-libs/jpeg:0 ("media-libs/jpeg:0" is blocking media-libs/libjpeg-turbo-1.2.0-r1)
[ebuild  N    ] media-libs/tiff-4.0.1-r1  USE="cxx jpeg zlib -jbig -lzma -static-libs" 
[ebuild  N    ] media-libs/lcms-1.19  USE="jpeg zlib -python -static-libs -tiff" 
[ebuild  N    ] x11-libs/gdk-pixbuf-2.24.1-r1  USE="X introspection jpeg -debug -doc -jpeg2k -test -tiff" 
[ebuild  N    ] app-text/poppler-0.18.4-r1  USE="cxx introspection jpeg lcms png utils xpdf-headers -cairo -cjk -curl -debug -doc -jpeg2k -qt4 -tiff" 
[ebuild  N    ] net-print/cups-1.5.2-r4  USE="acl filters jpeg pam png ssl threads tiff -X -avahi -dbus -debug -gnutls -java -kerberos -ldap -perl -python -slp -static-libs -usb -xinetd" LINGUAS="de -da -es -eu -fi -fr -id -it -ja -ko -nl -no -pl -pt -pt_BR -ru -sv -zh -zh_TW" 
[ebuild  N    ] app-text/ghostscript-gpl-9.04-r4  USE="cups idn -X -bindist -dbus -djvu -gtk -jpeg2k -static-libs" LINGUAS="-ja -ko -zh_CN -zh_TW" 
[ebuild  N    ] net-print/foomatic-filters-4.0.9  USE="cups -dbus" 
[ebuild  N    ] x11-libs/gtk+-2.24.10-r1  USE="cups introspection (-aqua) -debug -doc -examples -test -vim-syntax -xinerama" 
[ebuild   R   ] dev-java/icedtea-bin-6.1.11.1  USE="X* alsa* cups* -cjk -doc -examples -nsplugin -source" 

The following USE changes are necessary to proceed:
#required by x11-libs/gtk+-2.24.10-r1, required by dev-java/icedtea-bin-6.1.11.1[X], required by virtual/jdk-1.6.0[-sparc-solaris,-sparc64-solaris,-x86-linux,-amd64-linux,-x86-solaris,-x64-solaris], required by virtual/jre-1.6.0, required by @selected, required by @world (argument)
=x11-libs/cairo-1.10.2-r1 X
no upgrades found, exiting.
Comment 6 Benedikt Böhm (RETIRED) gentoo-dev 2012-04-30 12:55:51 UTC
it seems like portage dumps all ebuild lines to STDERR if it encounters missing keywords/use flags, which is quite unexpected behaviour and i'm rather against fixing this with just sticking 2>&1 in there ... 

@portage-devs: any comment on this?
Comment 7 Zac Medico gentoo-dev 2012-04-30 16:48:32 UTC
(In reply to comment #6)
> it seems like portage dumps all ebuild lines to STDERR if it encounters
> missing keywords/use flags, which is quite unexpected behaviour and i'm
> rather against fixing this with just sticking 2>&1 in there ... 
> 
> @portage-devs: any comment on this?

We should fix portage to display the merge list on STDOUT. What happens is the dep calculation fails because of the USE flags, and it goes into a temporary mode where all the output is redirected to STDERR. We can fix that.
Comment 9 Zac Medico gentoo-dev 2012-05-15 00:16:56 UTC
This is fixed in 2.1.10.60 and 2.2.0_alpha105.