Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 649528 - prepstrip: Preservation of extended attributes using broken
Summary: prepstrip: Preservation of extended attributes using broken
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Portage team
Keywords: InVCS
Depends on:
Blocks: 651804
  Show dependency tree
Reported: 2018-03-04 02:42 UTC by Arfrever Frehtes Taifersar Arahesis
Modified: 2018-07-02 18:46 UTC (History)
1 user (show)

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

Patch (portage.patch,1.93 KB, patch)
2018-03-04 05:34 UTC, Arfrever Frehtes Taifersar Arahesis
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis 2018-03-04 02:42:40 UTC
When getfattr or setfattr is unavailable:

As of now, this code does not work for unknown reasons.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2018-03-04 05:34:03 UTC
In, restore_xattrs() reads standard input:

Standard input was exhausted since:
+	if not options.paths:
+		options.paths += [x for x in'\0') if x]
Comment 2 Arfrever Frehtes Taifersar Arahesis 2018-03-04 05:34:32 UTC
Created attachment 522262 [details, diff]
Comment 3 Larry the Git Cow gentoo-dev 2018-03-04 18:22:37 UTC
The bug has been referenced in the following commit(s):

commit 56350cb6b1ee0b93a86e27bc59f7d3a0e73ad220
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2018-03-04 05:32:20 +0000
Commit:     Zac Medico <>
CommitDate: 2018-03-04 18:22:05 +0000 Make restoring of extended attributes work again.
    Set options.paths using standard input only in dump mode.
    Also fix support for paths passed as arguments.
    Fixes: 345c54de9e8c9daac190fbb07d33bf40e7bac5a9

 bin/ | 17 ++++++++++-------
 1 file changed, 10 insertions(+), 7 deletions(-)}
Comment 4 Zac Medico gentoo-dev 2018-03-04 18:26:17 UTC
Comment 5 Zac Medico gentoo-dev 2018-07-02 18:46:45 UTC
Fixed in portage-2.3.40-r1.