Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 409179 - Print actual file name for masking reason
Summary: Print actual file name for masking reason
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 409383
  Show dependency tree
 
Reported: 2012-03-21 14:15 UTC by Martin von Gagern
Modified: 2012-03-23 01:19 UTC (History)
0 users

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


Attachments
Proposed fix v1 (bug409179a.patch,1.19 KB, patch)
2012-03-21 14:16 UTC, Martin von Gagern
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin von Gagern 2012-03-21 14:15:32 UTC
If /etc/portage/package.mask is a directory, emerge will concatenate all their content, resulting in completely unrelated comment lines preceding a given atom. The source is only given as /etc/portage/package.mask, the actual file inside that directory is not named.

I'll attach a patch to improve this situation by splitting comments at file boundaries, and by printing the actual file name instead of the directory name.
Comment 1 Martin von Gagern 2012-03-21 14:16:26 UTC
Created attachment 306183 [details, diff]
Proposed fix v1
Comment 3 Zac Medico gentoo-dev 2012-03-23 01:19:28 UTC
This is fixed in 2.1.10.50 and 2.2.0_alpha94.