Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551438 - [betagarden overlay] extra slashes in profiles/categories
Summary: [betagarden overlay] extra slashes in profiles/categories
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All All
: Normal minor (vote)
Assignee: Justin Lecher (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-07 12:11 UTC by Alexandros Diamantidis
Modified: 2015-06-07 18:07 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 Alexandros Diamantidis 2015-06-07 12:11:55 UTC
Each line in the profiles/categories file from betagarden ends in '/', which causes paludis to give the following warnings:

  ... When loading category names for betagarden:
  ... Skipping line 'app-admin/' in '/var/db/paludis/repositories/betagarden/profiles/categories' due to exception 'Name 'app-admin/' is not a valid category name part' ('paludis::CategoryNamePartError)
cave@1433678786: [WARNING e.traditional_layout.categories.failure] (same context) Skipping line 'app-arch/' in '/var/db/paludis/repositories/betagarden/profiles/categories' due to exception 'Name 'app-arch/' is not a valid category name part' ('paludis::CategoryNamePartError)
[ and so on for each category ]
Comment 1 Karl-Johan Karlsson 2015-06-07 13:10:47 UTC
This is probably also why eix reports every package twice, once as category/package and once as category//package. Example:

$ eix -e xterm
[I] x11-terms/xterm
     Available versions:  297{tbz2} (~)304{tbz2} (~)312{tbz2} 314{tbz2} (~)315 (~)317{tbz2} {Xaw3d +openpty toolbar truetype unicode}
     Installed versions:  317{tbz2}(14:04:04 2015-04-01)(openpty truetype unicode -Xaw3d -toolbar)
     Homepage:            http://invisible-island.net/xterm/
     Description:         Terminal Emulator for X Windows

[I] x11-terms//xterm
     Available versions:  297{tbz2} (~)304{tbz2} (~)312{tbz2} 314{tbz2} (~)315 (~)317{tbz2} {Xaw3d +openpty toolbar truetype unicode}
     Installed versions:  317{tbz2}(14:04:04 2015-04-01)(openpty truetype unicode -Xaw3d -toolbar)
     Homepage:            http://invisible-island.net/xterm/
     Description:         Terminal Emulator for X Windows

Found 2 matches.
Comment 3 Mike Gilbert gentoo-dev 2015-06-07 14:26:57 UTC
commit f4a87f5b610817b4d4c3243cb73ae6aca45218e3
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sun Jun 7 10:25:58 2015 -0400

    Remove trailing slash from categories
Comment 4 Sebastian Pipping gentoo-dev 2015-06-07 18:07:22 UTC
FYI this relates to ticket https://github.com/vaeth/eix/issues/8 upstream.