Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24695 - ebuild foo.ebuild compile && ebuild foo.ebuild qmerge fails
Summary: ebuild foo.ebuild compile && ebuild foo.ebuild qmerge fails
Status: RESOLVED DUPLICATE of bug 47136
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-17 13:28 UTC by Peter Johanson (RETIRED)
Modified: 2011-10-30 22:18 UTC (History)
1 user (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 Peter Johanson (RETIRED) gentoo-dev 2003-07-17 13:28:24 UTC
peter@gonzo mutt-cvs $ sudo ebuild mutt-cvs-1.5.4.ebuild qmerge
>>> md5 files   ;-) mutt-cvs-1.5.4.ebuild
>>> md5 files   ;-) files/digest-mutt-cvs-1.5.4
>>> Merging net-mail/mutt-cvs-1.5.4 to /
Traceback (most recent call last):
File "/usr/sbin/ebuild", line 34, in ?
        a=portage.doebuild(pargs[0],x,getroot(),debug=debug)
File "/usr/lib/python2.2/site-packages/portage.py", line 1708, in doebuild
        return merge(settings["CATEGORY"],settings["PF"],settings["D"],settings["BUI
LDDIR"]+"/build-info",myroot)
File "/usr/lib/python2.2/site-packages/portage.py", line 1820, in merge
        return mylink.merge(pkgloc,infloc,myroot,myebuild)
File "/usr/lib/python2.2/site-packages/portage.py", line 4563, in merge
        return self.treewalk(mergeroot,myroot,inforoot,myebuild)
File "/usr/lib/python2.2/site-packages/portage.py", line 4265, in treewalk
        if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
File "/usr/lib/python2.2/site-packages/portage.py", line 4354, in mergeme
        for x in mergelist:
TypeError: iteration over non-sequence
peter@gonzo mutt-cvs $

This is the error i get from emerge when trying to do things step by step...
did "ebuild mutt-cvs-1.5.4.ebuild compile" then did "ebuild
mutt-cvs-1.5.4.ebuild qmerge"

need anything else?

Reproducible: Always
Steps to Reproduce:




peter@gonzo mutt-cvs $ emerge --info
Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.6.0-mm1 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.mirrors.pair.com/
ftp://gentoo.mirrors.pair.com/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/sync-portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb alsa
gdbm readline tetex aalib svga tcltk java X sdl gpm tcpd pam libwww ssl perl esd
imlib oggvorbis gtk motif opengl ldap cdr acpi doc dvd ethereal fbcon gps gtk2
ipv6 pcmcia plotutils sse usagi apache2 -3dnow -arts -kde -nls -qt -berkdb
-python -gnome -slang"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse
-mno-sse2 -funroll-loops"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer -mfpmath=sse -msse
-mno-sse2 -funroll-loops"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache cvs strict manifest"
Comment 1 Andrew Cooks (RETIRED) gentoo-dev 2003-11-18 03:06:47 UTC
<bugzilla-troll>
bump inactive bug
</bugzilla-troll>
Comment 2 Nico Baggus 2004-02-06 10:30:39 UTC
ebuild .... install is missing....,
OTOH, why not let qmerge check for a flag if the product is installed?
(like compile & install do w.r.t. unpack & compile).
And also let qmerge make a flags to prevent:

do 
ebuild ... qmerge 
and again:
ebuild ... qmerge


Chances are the newly installed product becomes UNMERGED.
Comment 3 Nico Baggus 2004-02-06 10:35:01 UTC
This is still a problem in portage 2.0.50_pre19
Comment 4 Martin Holzer (RETIRED) gentoo-dev 2004-04-08 04:19:32 UTC

*** This bug has been marked as a duplicate of 47136 ***