Summary: | emerge --quiet --sync has output | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Preston Crow <pc-gentoo-bugs08a> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | trivial | CC: | pied.piper1600 |
Priority: | Lowest | Keywords: | InVCS |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 162453 |
Description
Preston Crow
2006-03-06 09:39:53 UTC
You failed to post. 'emerge info' Please do that now. # emerge --info Portage 2.1_pre5-r4 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.15.4 i686) ================================================================= System uname: 2.6.15.4 i686 AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.12.0_pre16 dev-lang/python: 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.15.92.0.2-r1, 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -funroll-loops -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/X11/app-defaults /etc/X11/fs /etc/X11/rstart /etc/X11/twm /etc/X11/xdm /etc/gconf /etc/sound /usr/X11R6/lib /usr/kde /usr/lib/X11/xkb /etc/env.d" CXXFLAGS="-mtune=athlon-xp -march=athlon-xp -O3 -funroll-loops -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks notitles sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.noved.org/ ftp://ibiblio.org/pub/Linux/distributions/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X aac alsa apache2 apm avi berkdb bitmap-fonts bzip2 crypt cups dba dga dvb dvd eds emboss encode exif fam ffmpeg flac foomaticdb gd gdbm gif gpm gtk gtk2 guile imap imlib java jpeg kerberos libg++ libwww lirc lm_sensors mad md5sum mikmod mjpeg mmx mmx2 mng motif mozilla moznocompose moznoirc moznomail mp3 mpeg mysql mythtv ncurses no-htdocs nvidia ogg oggvorbis opengl oss parse-clocks pdflib perl png python qt quicktime readline real sdl session spell sse ssl svg tcltk tcpd theora tiff transcode truetype truetype-fonts type1-fonts vcd vorbis win32codecs xml2 xmms xv xvid xvmc zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS # Now with portage-2.1.1_pre3-r3, I get more than blank lines: # emerge -q --sync q: Updating ebuild cache ... q: Finished 24156 entries in 0.213428 seconds # One blank line and two lines of output. (In reply to comment #3) > q: Updating ebuild cache ... > q: Finished 24156 entries in 0.213428 seconds That's caused by /etc/portage/postsync.d/q-reinitialize which is installed by portage-utils. I'll hunt for the variable which portage exports and make the next portage-utils respect that directly as if it was invoked with the -q option also. (In reply to comment #5) > I'll hunt for the variable which portage exports and make the next > portage-utils respect that directly as if it was invoked with the -q option > also. fixed in portage-utils/main.c: revision: 1.122; When q* detects the variable PORTAGE_QUIET it will behave the same as q -q -r vs q -r In the mean time to can either remove the executable bit from q-reinitialize or edit the script to pass the -q option. I don't know where that other echo is comming from. Somewhere within portage or ebuild.sh probably. I'm still seeing this with portage-2.1.1-r1. It means I get an email from cron nightly. This should be an easy fix. Could we have this escalated above a p5? I thought they fixed portage-utils to honor --quiet. What version of portage-utils do you have? Anyway you can completely disable post-sync cruft like this: chmod -x /etc/portage/bin/post_sync sys-apps/portage-2.1.2_pre3-r8 app-portage/portage-utils-0.1.21 It is noisier than when I created this bug report--it used to just be blank lines; not there are text lines, too. As of portage 2.1.1-r2, I get 1 blank line of output. Editting /usr/bin/emerge and removing the print command from line 2536 resolved it for me. (In reply to comment #10) > As of portage 2.1.1-r2, I get 1 blank line of output. Editting /usr/bin/emerge > and removing the print command from line 2536 resolved it for me. Thats not related to this bug is it? I don't think so.. Problems with portage/emerge should be handled via another bug.. please. line # and patches please. Or if this bug should cover non portage-utils then please reassign it. The original problem report was of getting output from running "emerge --quiet --sync". That's the same problem that I was having, and removing that print statement resolved it. (In reply to comment #10) > As of portage 2.1.1-r2, I get 1 blank line of output. Editting /usr/bin/emerge > and removing the print command from line 2536 resolved it for me. Thanks, I've removed that in svn r5799. This has been released in 2.1.2-r5. |