Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 236714

Summary: repoman traceback if dirname doesn't match the pkgname
Product: Portage Development Reporter: Jeremy Olexa (darkside) (RETIRED) <darkside>
Component: RepomanAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: minor Keywords: InVCS
Priority: High    
Version: 2.2   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 210077, 216231    

Description Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2008-09-04 15:53:02 UTC
Reporting this in case you want to fix it, tbh I am not sure if it is worth fixing but you may want a nicer message than a traceback.

Using _rc8:
%% repoman manifest

Invalid ebuild name: /usr/portage/local/net-misc/gtk2-ssh-askpass/ssh-askpass-fullscreen-0.4.ebuild
>>> Creating Manifest for /usr/portage/local/net-misc/gtk2-ssh-askpass
Traceback (most recent call last):
  File "/usr/bin/repoman", line 779, in <module>
    if not portage.digestgen([], repoman_settings, myportdb=portdb):
  File "/usr/lib64/portage/pym/portage/__init__.py", line 4169, in digestgen
    "assume-digests" in mysettings.features))
  File "/usr/lib64/portage/pym/portage/manifest.py", line 309, in create
    "match directory name: '%s'" % cpv)
portage.exception.PortagePackageException: Package name does not match directory name: 'net-misc/ssh-askpass-fullscreen-0.4'
Comment 1 Zac Medico gentoo-dev 2008-11-15 05:10:32 UTC
This is fixed in svn r11926.
Comment 2 Zac Medico gentoo-dev 2008-11-22 05:52:38 UTC
This is fixed in 2.2_rc15.