Created attachment 348904 [details, diff] chown-patch I am encountering hangups while bootstrapping Gentoo-Prefix on Gentoo-Linux x86_32. When I looked at the running processes, I saw that./usr/lib/portage/bin/ebuild-helpers/unprivileged/chown hangs. Deeging deeper I realized, that the "Reverse expansion of ${D} and ${EPREFIX}, for readability" causes the problem - it seems that the output is too large for the variable output - it can hold the content, but the expansion hangs up. A possible solution could be to store the output in a tmpfile and do the replacements with sed. (proposal atted)
odd.... I assume there is a lot in ${msg} at this point?
I was installing Gentoo Prefix on my RHEL6 amd64 box today and ran into the same problem. I applied the above patch manually (it conflicts with some EPREFIX patches) and it fixed by my problem.
Had the same issue with ROCKS 6.1 amd64. After manually applying the patch, chown problem disappeared.
Had the same issue with RED HAT x86. After manually applying the patch, chown problem disappeared.
had the same problem, the error messages were caused by lots of "operation not permitted" error since i was installing using regular user and the command was "chown -R 0:0". bash is really slow expanding ${str//from/to} when str is long.
(In reply to jamesf from comment #5) > bash is really slow expanding ${str//from/to} when str is long. this observation I can share, it seems exponential
Created attachment 358352 [details, diff] chown.patch trunc error message after a threshold.
Fabian, would you like to commit it to prefix-portage? It's biting us hard. I could help co-maintain the prefix branch of portage if you'd like to.
@Zac: what do you think about Benda's patch? I think the problem should be in mainline too.
Yeah, this is in git: http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=67979d49c7c3d99c95b99994015150c92ce2d21d
This is fixed in 2.2.2.
Thanks, Fabian and Zac.