Hello, first of all my environment is as follows: >DISTDIR="/media/STORAGE/Software/--- OS ---/gentoo/distfiles" This makes git-2.eclass handle incorrectly this kind of path, resulting in the following error from (for example) the package www-client/pybugz-9999 (full build log will be attached): >error: unknown option `-/gentoo/distfiles/egit-src/pybugz.git' [...] > * ERROR: www-client/pybugz-9999 failed (unpack phase): > * git-2_move_source: sync to "/var/tmp/portage/www-client/pybugz-9999/work/pybugz-9999" failed Maybe adding '--' before the folder path will solve this? Reproducible: Always
Created attachment 338364 [details] pybugz build log
But you're aware that this kind of path is unsupported and can break portage randomly? The other thing is that git-2 eclass shall be fixed anyway. I guess missing quotes somewhere.
(In reply to comment #2) > But you're aware that this kind of path is unsupported and can break portage > randomly? To be honest I haven't found anywhere in the docs anything about (un)supported portage paths, otherwise I'd have given it a second thought before creating this file structure. > The other thing is that git-2 eclass shall be fixed anyway. I guess missing > quotes somewhere. I lurked into it for a while and seems something inside ${MOVE_COMMAND} at line 310 is not expanding correctly.
Use git-r3.eclass instead