Current sys-apps/portage-220.127.116.11 not support patch file names with spaces.
Steps to Reproduce:
1. Create any new ebuild or use any existing… In the files/ add a patch containing a space in its name.
2. ebuild <name>.ebuild digest
3. ebuild <name>.ebuild compile
ebuild <name>.ebuild compile
!!! A file is not listed in the Manifest: '/usr/local/portage/<name>/<name>/files/<name contains a space>.patch'
Manifest with <name contains a space>.patch
The current solution:
Add thin-manifests = true to metadata/layout.conf
> cat /usr/local/portage/metadata/layout.conf
thin-manifests = true
sign-manifests = false
profile-formats = portage-2
cache-formats = md5-dict
And take care yourself on handling filenames containing spaces.
This patch fixes the manifest parser to handle spaces in names:
In addition, we'll have to add a metadata/layout.conf extension that allows specification of allowed file name characters, as mentioned in bug #411127, comment #7.