Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224799 - Portage shouldn't bail out on irrelevant "misnamed" ebuilds, but throw a warning instead (if at all).
Summary: Portage shouldn't bail out on irrelevant "misnamed" ebuilds, but throw a warn...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High enhancement
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-03 19:45 UTC by Carsten Lohrke (RETIRED)
Modified: 2011-09-21 13:53 UTC (History)
0 users

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 Carsten Lohrke (RETIRED) gentoo-dev 2008-06-03 19:45:43 UTC
carsten@iglu kmymoney2 $ ebuild kmymoney2-0.8.9.ebuild digest

Invalid ebuild name: /usr/local/portage/app-office/kmymoney2/_kmymoney2-0.8.9.ebuild
>>> Creating Manifest for /usr/local/portage/app-office/kmymoney2
Traceback (most recent call last):
  File "/usr/bin/ebuild", line 183, in ?
    debug=debug, tree=mytree)
  File "/usr/lib/portage/pym/portage.py", line 4695, in doebuild
    myportdb=mydbapi)
  File "/usr/lib/portage/pym/portage.py", line 3573, in digestgen
    assumeDistHashesAlways=(
  File "/usr/lib/portage/pym/portage_manifest.py", line 472, in create
    raise portage_exception.PortagePackageException(
portage_exception.PortagePackageException: Package name does not match directory name: 'app-office/_kmymoney2-0.8.9'
carsten@iglu kmymoney2 $ ls
files  _kmymoney2-0.8.9.ebuild  kmymoney2-0.8.9.ebuild  kmymoney2-0.9.ebuild  Manifest


Kept the ebuild with the _ prepended purposefully. Portage is a bit too picky here for my taste, given that I didn't ask to digest this specific ebuild.

Portage version is 2.1.4.4.
Comment 1 Sebastian Luther (few) 2011-09-21 13:53:55 UTC
This gives an error message and doesn't fail now.