Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 84102 - emerge crash while used ebuild name with .ebuild
Summary: emerge crash while used ebuild name with .ebuild
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High minor
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-03-04 08:52 UTC by Ondrej Novy
Modified: 2005-07-14 06:58 UTC (History)
1 user (show)

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


Attachments
emerge.diff (emerge.diff,596 bytes, text/plain)
2005-03-12 02:23 UTC, Marco Morales
Details
emerge.diff (emerge.diff,598 bytes, text/plain)
2005-03-12 02:28 UTC, Marco Morales
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Novy 2005-03-04 08:52:43 UTC
emerge -up =eclipse-sdk-3.1_pre5.ebuild

oldster root # emerge -up =eclipse-sdk-3.1_pre5.ebuild

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

Calculating dependencies  
Traceback (most recent call last):
  File "/usr/bin/emerge", line 2969, in ?
    retval,favorites=mydepgraph.select_files(myfiles)
  File "/usr/bin/emerge", line 1025, in select_files
    if os.path.realpath(portage.db["/"]["porttree"].dbapi.findname(mykey)) != x:
  File "/usr/lib/python2.3/posixpath.py", line 406, in realpath
    filename = abspath(filename)
  File "/usr/lib/python2.3/posixpath.py", line 395, in abspath
    if not isabs(path):
  File "/usr/lib/python2.3/posixpath.py", line 49, in isabs
    return s.startswith('/')
AttributeError: 'NoneType' object has no attribute 'startswith'


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



Expected Results:  
don't crash
Comment 1 Marco Morales 2005-03-12 02:23:26 UTC
Created attachment 53235 [details]
emerge.diff

i hope it can fix the problem at all :)
Comment 2 Marco Morales 2005-03-12 02:28:26 UTC
Created attachment 53236 [details]
emerge.diff

a little error in the message fixed :P
Comment 3 Marco Morales 2005-03-13 15:35:56 UTC
portage-2.0.51.19
Comment 4 Alec Warner (RETIRED) archtester gentoo-dev Security 2005-04-20 21:26:15 UTC
You are using emerge incorrectly, .ebuild support is valid only when the full path is specified.

see man emerge for more details on this.
Comment 5 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:48:17 UTC
Fixed on or before 2.0.51.22-r1 
Comment 6 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:55 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.