Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 280486 - app-portage/genlop no working merge found
Summary: app-portage/genlop no working merge found
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All All
: High normal with 1 vote (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-05 18:18 UTC by Eric Grüttefien
Modified: 2017-07-20 21:50 UTC (History)
7 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Grüttefien 2009-08-05 18:18:50 UTC
Seems to be we have a bug like this again:

reading the strace genlop read hole find, and dosn't parse the running emerge/build

+++ This bug was initially created as a clone of Bug #99823 +++

Reproducible: Always
Steps to Reproduce:
1. While merging something (anything)
2. Do: genlop --current
Actual Results:  
 ~ # genlop -c
!!! Error: no working merge found.

Expected Results:  
Info about the currently merging package.
Comment 1 Eric Grüttefien 2009-08-05 18:20:55 UTC
pc-64-29 ~ # emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0/desktop, gcc-4.3.3, glibc-2.10.1-r0, 2.6.29-tuxonice-r2 i686)
=================================================================
System uname: Linux-2.6.29-tuxonice-r2-i686-Genuine_Intel-R-_CPU_T2400_@_1.83GHz-with-gentoo-2.0.1
Timestamp of tree: Wed, 05 Aug 2009 05:15:02 +0000
app-shells/bash:     4.0_p28
dev-java/java-config: 1.3.7-r1, 2.1.8-r1
dev-lang/python:     2.5.4-r2, 2.6.2-r1, 3.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r5
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-g -march=native -mtune=native -O4 -pipe -msse3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-g -march=native -mtune=native -O4 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages nostrip parallel-fetch sfperms splitdebug strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
LINGUAS="en de"
MAKEOPTS="-j 2"
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/portage /usr/portage/local/layman/sabayon /usr/local/portage/priv_overlay"
SYNC="rsync://127.0.0.2/gentoo-portage"
USE="X acl acpi alsa ao apache2 archive autoipd avahi avi bash-completion berkdb bluetooth branding bzip2 cairo cdaudio cdda cdr clamav clamd cli consolekit cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss emerald encode esd evo fam fbsplash fortran fuse gdbm gif glib glitz gnome gnome-print gpm graphtft-fe graphviz gstreamer gtk h323 hal iconv ipv6 ipw3945 isdnlog java jpeg kde laptop lcms libnotify mad mdnsresponder-compat mikmod mmx mmxext mng mp3 mpeg mpm-worker mudflap multiuser ncurses networkmanager nls nptl nptlonly nsplugin ntfs nvidia odbc offensive ogg opengl openmp pam pango pcre pdf pdflib perl pertty png ppds pppd python qt-copy qt3 qt3support qt4 quicktime readline realmedia reflection samba sdl server session sip slang spell spl sse sse-filters sse2 ssl startup-notification svg sysfs tcpd threads tiff tk truetype unicode unsupported usb vorbis wav webkit win32codecs x86 xattr xcb xcomposite xine xinerama xml xorg xulrunner xv zlib zrtp" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 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="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Eric Grüttefien 2009-08-06 04:16:20 UTC
Just a smal testcase:

moved veryold emerge.log somewhere and starteded a new merge:

pc-64-29 ~ # cat /var/log/emerge.log
1249531522: Started emerge on: Aug 06, 2009 06:05:22
1249531522:  *** emerge --quiet --update --verbose world
1249531530:  >>> emerge (1 of 11) dev-util/subversion-1.6.3-r10 to /
1249531534:  === (1 of 11) Cleaning (dev-util/subversion-1.6.3-r10::/driveb/portage/dev-util/subversion/subversion-1.6.3-r10.ebuild)
1249531534:  === (1 of 11) Compiling/Merging (dev-util/subversion-1.6.3-r10::/driveb/portage/dev-util/subversion/subversion-1.6.3-r10.ebuild)
pc-64-29 ~ # genlop -c
!!! Error: no working merge found.
(the -c option only works if there is an ongoing compilation, see manpage)
Comment 3 Roger 2009-08-09 22:56:24 UTC
=sys-apps/portage-2.2_rc36
=app-portage/genlop-0.30.8-r2

And genlop works here still using my old /var/log/emerge.log


I did notice you installed python-3.1.  Python-3.* will break python-2.* code.

# eselect python list

if python 3.1 is selected, then

# eselect python 2  
Comment 4 Eric Grüttefien 2009-08-10 07:55:15 UTC
doesn't seems to make a differencce :-(

donewell ~ # tail /var/log/emerge.log 
1249890813:  === (2 of 34) Compiling/Merging (dev-libs/eventlog-0.2.10::/driveb/portage/dev-libs/eventlog/eventlog-0.2.10.ebuild)
1249890829:  === (2 of 34) Merging (dev-libs/eventlog-0.2.10::/driveb/portage/dev-libs/eventlog/eventlog-0.2.10.ebuild)
1249890831:  >>> AUTOCLEAN: dev-libs/eventlog:0
1249890831:  === Unmerging... (dev-libs/eventlog-0.2.9)
1249890833:  >>> unmerge success: dev-libs/eventlog-0.2.9
1249890835:  === (2 of 34) Post-Build Cleaning (dev-libs/eventlog-0.2.10::/driveb/portage/dev-libs/eventlog/eventlog-0.2.10.ebuild)
1249890835:  ::: completed emerge (2 of 34) dev-libs/eventlog-0.2.10 to /
1249890835:  >>> emerge (3 of 34) dev-libs/xerces-c-3.0.1-r1 to /
1249890838:  === (3 of 34) Cleaning (dev-libs/xerces-c-3.0.1-r1::/driveb/portage/dev-libs/xerces-c/xerces-c-3.0.1-r1.ebuild)
1249890838:  === (3 of 34) Compiling/Merging (dev-libs/xerces-c-3.0.1-r1::/driveb/portage/dev-libs/xerces-c/xerces-c-3.0.1-r1.ebuild)


donewell ~ # eselect python list
Available python interpreters:
  [1]   python2.5
  [2]   python2.6 *
  [3]   python3.1
donewell ~ # genlop -c
!!! Error: no working merge found.
(the -c option only works if there is an ongoing compilation, see manpage)
donewell ~ # eselect python 1
!!! Error: Action 1 unknown
exiting
donewell ~ # eselect python set 1
donewell ~ # genlop -c
!!! Error: no working merge found.
(the -c option only works if there is an ongoing compilation, see manpage)
donewell ~ # eselect python set 2
donewell ~ # genlop -c
!!! Error: no working merge found.
(the -c option only works if there is an ongoing compilation, see manpage)
donewell ~ # eselect python set 3
donewell ~ # genlop -c
!!! Error: no working merge found.
(the -c option only works if there is an ongoing compilation, see manpage)
Comment 5 Alex Buell 2010-11-09 22:36:57 UTC
I'm seeing the same problem under two different architecures, x86 and sparc. It is a problem with python :-(
Comment 6 Roger 2010-11-09 22:58:10 UTC
I'm haven't used/installed genlop for the longest time.  After a reinstall, found genlop pulling in 20+ unique dependencies not needed elsewhere on minimalist system.  (Probably quite a few more deps a few months ago.)  They seem to be all perl related packages.
Comment 7 Alex Buell 2010-11-09 23:44:39 UTC
I just discovered that qlop (portage-utils-0.3.1) exhibits the same problem, no merge found when there _is_ one running. It's now clear these two depends on something that no longer exists. 

Hope this helps track down the culprit!
Comment 8 Roger 2010-11-10 00:12:21 UTC
=sys-apps/portage-2.2.0_alpha4
=app-portage/portage-utils-0.3.1

qlop seems to work just fine here.

roger # qlop -cv
 * app-shells/bash-4.1_p9
     started: Tue Nov  9 15:05:44 2010
     elapsed: 7 seconds
     chroot:  /

# qlop -t bash
bash: 313 seconds average for 8 merges

(One thing I did just notice, qlop --current could easily be coded to call the --time function to provide estimated package emerge time.)

As far as this bug, would double check your python install and folder permissions?  Also, just noticed on my last emerge world, /etc/portage/package.mask /etc/portage/package.unmask seem to be being totally ignored now by portage -- files are now merged into /etc/portage/package.keywords -- causing an unwanted temporary downgrade of portage for me.