Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58771 - xplanet-1.1.1.ebuild causes portage traceback because of typo in the ebuild
Summary: xplanet-1.1.1.ebuild causes portage traceback because of typo in the ebuild
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 58779 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-07-29 05:10 UTC by Alex
Modified: 2004-08-15 15:11 UTC (History)
2 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 Alex 2004-07-29 05:10:40 UTC
RDEPEND list in the current xplanet ebuild contains an error which causes a portage traceback when trying emerge -upD world or emerge -upD xplanet.

ebuild is:

RDEPEND="X? (virtual/x11 ) 
    opengl? ( virtual/opengl
        media-libs/glut )
    gif? ( media-libs/giflib
        media-libs/libungif )
    jpeg? ( media-libs/jpeg )
    tiff? ( media-libs/tiff )
    png? ( media-libs/libpng )
    truetype? ( =media-libs/freetype-2* )"

should be:

RDEPEND="X? ( virtual/x11 ) 
    opengl? ( virtual/opengl
        media-libs/glut )
    gif? ( media-libs/giflib
        media-libs/libungif )
    jpeg? ( media-libs/jpeg )
    tiff? ( media-libs/tiff )
    png? ( media-libs/libpng )
    truetype? ( =media-libs/freetype-2* )"

Add a space right before 'virtual'
RDEPEND="X? ( virtual/x11 )

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

Actual Results:  
Small typo in xplanet-1.1.1
Comment 1 Brian Harring (RETIRED) gentoo-dev 2004-07-29 05:12:58 UTC
portage version, and the traceback?
Aside from the rdepend being wrong, I'm mostly curious about the traceback.
Comment 2 Alex 2004-07-29 05:20:22 UTC
Sorry it's my firt bug report ;)

OK - portage-2.0.50-r9

emerge -upD xplanet

These are the packages that I would merge, in order:

Calculating dependencies \
!!! Problem in x11-misc/xplanet dependencies.
!!! iteration over non-sequence

or with debug

emerge -upD --debug xplanet

These are the packages that I would merge, in order:

Calculating dependencies  
Parent:    None
Depstring: x11-misc/xplanet
Candidates: ['x11-misc/xplanet']
ebuild: x11-misc/xplanet-1.1.1
binpkg: None                                                                                                                                                                                                     \
Parent:    ebuild / x11-misc/xplanet-1.1.1 nomerge
Depstring: >=sys-apps/sed-4 X? (virtual/x11 ) opengl? ( virtual/opengl media-libs/glut ) gif? ( media-libs/giflib media-libs/libungif ) jpeg? ( media-libs/jpeg ) tiff? ( media-libs/tiff ) png? ( media-libs/libpng ) truetype? ( =media-libs/freetype-2* )
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2528, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 883, in select_files
    self.mysd = self.select_dep(portage.root,mykey,arg=x)
  File "/usr/bin/emerge", line 1042, in select_dep
    if not self.create(myk,myparent,"--onlydeps" not in myopts,myuse=binpkguseflags):
  File "/usr/bin/emerge", line 825, in create
    if not self.select_dep("/",mydep["/"],myparent=mp,myuse=myuse):
  File "/usr/bin/emerge", line 936, in select_dep
    mycheck=portage.dep_check(depstring,self.mydbapi[myroot],self.pkgsettings,myuse=myuse)
  File "/usr/lib/portage/pym/portage.py", line 3290, in dep_check
    mysplit=dep_virtual(mysplit)
  File "/usr/lib/portage/pym/portage.py", line 2950, in dep_virtual
    for x in mysplit:
TypeError: iteration over non-sequence
Comment 3 Brian Harring (RETIRED) gentoo-dev 2004-07-29 05:37:19 UTC
Rizzo,
I've corrected the typo- it was minor, didn't figure there would be an issue.
Meanwhile, sending it to dev-portage since I'd like to see this traceback (not getting it locally).
Comment 4 Don Seiler (RETIRED) gentoo-dev 2004-07-29 06:12:06 UTC
Ah sorry 'bout that.  Thanks for taking care of it.
Comment 5 Tom Knight (RETIRED) gentoo-dev 2004-07-29 06:46:16 UTC
*** Bug 58779 has been marked as a duplicate of this bug. ***
Comment 6 Nicholas Jones (RETIRED) gentoo-dev 2004-07-31 18:29:37 UTC
I can't duplicate this directly in code either.
Comment 7 Nicholas Jones (RETIRED) gentoo-dev 2004-08-15 15:11:34 UTC
Cannot duplicate.