New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ARROW-9224: [Dev][Archery] clone local source with --shared #7541
Conversation
Can you try using |
|
+1 for me. |
`archery benchmark diff` runs "git clone --local" to clone source code to /tmp. If /tmp and source directory are at different disk volumes, it fails because "git clone --local" uses hard links which only works on same volume. This patch replaces "--local" with "--shared". Error log: fatal: failed to create link '/tmp/arrow-archery-lwm7k6wm/origin_master/arrow/.git/objects/2d/80a4d2da431dbfe3c736b6349eb4a0bcb6ece5': Invalid cross-device link subprocess.CalledProcessError: Command '['git', 'clone', '--local', PosixPath('/home/cyb/arrow'), '/tmp/arrow-archery-lwm7k6wm/origin_master/arrow']' returned non-zero exit status 128.
thanks! |
`archery benchmark diff` runs "git clone --local" to clone source code to /tmp. If /tmp and source directory are at different disk volumes, it fails because "git clone --local" uses hard links which only works on same volume. This patch replaces "--local" with "--shared". Error log: fatal: failed to create link '/tmp/arrow-archery-lwm7k6wm/origin_master/arrow/.git/objects/2d/80a4d2da431dbfe3c736b6349eb4a0bcb6ece5': Invalid cross-device link subprocess.CalledProcessError: Command '['git', 'clone', '--local', PosixPath('/home/cyb/arrow'), '/tmp/arrow-archery-lwm7k6wm/origin_master/arrow']' returned non-zero exit status 128. Closes apache#7541 from cyb70289/archery Authored-by: Yibo Cai <yibo.cai@arm.com> Signed-off-by: Wes McKinney <wesm@apache.org>
archery benchmark diff
runs "git clone --local" to clone source codeto /tmp. If /tmp and source directory are at different disk volumes, it
fails because "git clone --local" uses hard links which only works on
same volume. This patch replaces "--local" with "--shared".
Error log:
fatal: failed to create link '/tmp/arrow-archery-lwm7k6wm/origin_master/arrow/.git/objects/2d/80a4d2da431dbfe3c736b6349eb4a0bcb6ece5': Invalid cross-device link
subprocess.CalledProcessError: Command '['git', 'clone', '--local', PosixPath('/home/cyb/arrow'), '/tmp/arrow-archery-lwm7k6wm/origin_master/arrow']' returned non-zero exit status 128.