If I use qlop from app-portage/portage-utils-0.2, it doesn't show all the emerge instances (in response to qlop -gHv <package>) but only old ones. app-portage/portage-utils-0.1.29 doesn't suffer from this problem. Reproducible: Always Steps to Reproduce: qlop -g(Hv) <package>
Same in 0.2.1.
Same here. My emerge --info: Portage 2.2_rc55 (default/linux/x86/10.0, gcc-4.4.2, glibc-2.11-r1, 2.6.31-gentoo i686) ================================================================= System uname: Linux-2.6.31-gentoo-i686-Intel-R-_Pentium-R-_4_CPU_2.80GHz-with-gentoo-2.0.1 Timestamp of tree: Fri, 04 Dec 2009 09:15:01 +0000 app-shells/bash: 4.0_p35 dev-java/java-config: 2.1.9-r2 dev-lang/python: 2.6.4 dev-util/cmake: 2.8.0 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.5.3 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.64 sys-devel/automake: 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11 sys-devel/binutils: 2.20 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.30-r1 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="*" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /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/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d" CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.mirror.pw.edu.pl/ http://gentoo.prz.rzeszow.pl http://de-mirror.org/distro/gentoo/" LANG="pl_PL.UTF-8" LC_ALL="pl_PL.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="pl" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" 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="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/yarik-overlay /usr/local/portage/layman/roslin /usr/local/portage/layman/x11 /usr/local/portage/layman/mpd /usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X aac acl acpi alsa bash-completion berkdb bzip2 cli cracklib crypt cups cxx dri dvd dvdr exif ffmpeg fortran gdbm gif gpm iconv ipod ipv6 jpeg kde kms lm_sensors mmx modules mp3 mudflap ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt3support qt4 readline reflection session smp spell spl sse sse2 ssl svg sysfs tcpd threads truetype unicode vim-syntax win32codecs x86 xorg zlib" ALSA_CARDS="snd_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="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
confirm, in case of build failure 'qlop -gH package' shows time between start of failed merge and end of successfule merge. This is bug of app-portage/portage-utils-0.2.1, version 0.1.29 works fine. Please unstable versions 0.2.*
Created attachment 214318 [details, diff] qlop.diff Can you try this patch?
I can confirm attached diff fixes this problem.
(In reply to comment #4) > Created an attachment (id=214318) [details] > qlop.diff > > Can you try this patch? > I works for me. Can somebody include this patch in portage?
This also fixes an issue I was having where qlop wouldn't report the time of a package at all if there were any failed emerges of the package. Thanks for the patch Fabio. Also, commenting to remind solar or vapier to commit it ;) (per solar's request on IRC)
Can anyone confirm that this still happens on 0.3.1?
I have just found there are some cases not caught by 'qlop -g' but detected correctly by 'qlop -l' so there is a discrepancy in the behavior.
(In reply to comment #8) > Can anyone confirm that this still happens on 0.3.1? 0.3.1 works fine.
(In reply to comment #8) > Can anyone confirm that this still happens on 0.3.1? As I don't see any patch in the repository, I assume you were referring to the case that 0.3.1 is working as is without patches. This is wrong, the problem is still there. I'm updating my previous patch to be more correct.
Created attachment 223381 [details, diff] qlop.c.diff
i confirm, portage-utils-0.3.1 still has the bug, and the patch works for 0.3.1 thanks
Mike, can we get the patch applied, please? Thanks
the coding style is not correct. please use linux kernel style. you also have excessive parenthesis and need whitespace around the commas. run `make check` to see some of the errors
Created attachment 239315 [details, diff] qlop.c.diff Updated the patch fixing the style
there was one or two left, but i fixed them myself since you did most of them now in cvs, thanks http://sources.gentoo.org/gentoo-projects/portage-utils/qlop.c?r1=1.53&r2=1.54
*** Bug 334903 has been marked as a duplicate of this bug. ***
Is there a plan to release an ebuild which would truly resolve this bug for users? Right now, for all practical purposes, it is not finally resolved.