Summary: | portage uses STDERR instead of STDOUT if dep calculation fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Roland Ramthun <bts> |
Component: | Current packages | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | InVCS |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=662346 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 409383 | ||
Attachments: | output of manual porticron and emerge invocation |
Description
Roland Ramthun
2012-03-04 11:01:16 UTC
Created attachment 304203 [details]
output of manual porticron and emerge invocation
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... can you try if it works after removing "2>/dev/null" from UPGRADE=$(...) in line 184? (In reply to comment #3) > can you try if it works after removing "2>/dev/null" from UPGRADE=$(...) in > line 184? yes, that works! (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. 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? (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. This is fixed in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=2ec3f2d22da444fc8c40370ed2be64d39db8c9e2 This is fixed in 2.1.10.60 and 2.2.0_alpha105. |