Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 357297 - A space in the path to an ebuild causes failure when running 'ebuild' command
Summary: A space in the path to an ebuild causes failure when running 'ebuild' command
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 358927
  Show dependency tree
 
Reported: 2011-03-04 03:44 UTC by David
Modified: 2011-03-14 19:11 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,4.15 KB, text/plain)
2011-03-04 14:21 UTC, David
Details
portage-2.1.9.42: quote overlays containing spaces (overlay-spaces-2.1.9.42.patch,985 bytes, patch)
2011-03-04 16:16 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David 2011-03-04 03:44:10 UTC
Running 'ebuild my-program-1.0.ebuild digest' fails (without good explanation) if the path to "my-program-1.0.ebuild" includes a space.

The cryptic error message:

ebuild my-program-1.0.ebuild digest
Appending /root/Desktop/My Files/my-overlay to PORTDIR_OVERLAY...
Traceback (most recent call last):
  File "/usr/bin/ebuild", line 157, in <module>
    repo_info = portage.portdb._repo_info[ebuild_portdir]
KeyError: u'/root/Desktop/My Files/my-overlay'



Renaming the "My Files" directory to "My-Files" allows the 'ebuild' command to succeed.

Reproducible: Always

Steps to Reproduce:
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-03-04 06:34:01 UTC
Missing `emerge --info` to get Portage version ...
Comment 2 David 2011-03-04 14:21:43 UTC
Created attachment 264715 [details]
emerge --info

Output of 'emerge --info' is attached.
Comment 3 Zac Medico gentoo-dev 2011-03-04 16:16:48 UTC
Created attachment 264731 [details, diff]
portage-2.1.9.42: quote overlays containing spaces
Comment 5 Zac Medico gentoo-dev 2011-03-14 19:11:10 UTC
This is fixed in 2.1.9.43 and 2.2.0_alpha27.