<div dir="ltr"><div>Thanks for the response. I was running it as root in an unprivileged container. I tried changing the ownership of a single file to the uid:gid in the error and got a similar error. It wasn't actually the build it was on the gclient sync.<br></div><div><br></div><div>I added the "o" flag to the extract line here: <a href="https://github.com/v8/v8/blob/5749d710bc73ef40f9b9e8b94ec290e0412d3f57/third_party/binutils/download.py#L91">https://github.com/v8/v8/blob/5749d710bc73ef40f9b9e8b94ec290e0412d3f57/third_party/binutils/download.py#L91</a></div><div><br></div><div>and that worked, but then ran into another snag, similar to this one: <a href="https://bbs.archlinux.org/viewtopic.php?id=209871">https://bbs.archlinux.org/viewtopic.php?id=209871</a></div><div><br></div><div>I ended up bailing on the build from source and installing libv8 from this repo: <a href="https://launchpad.net/~pinepain/+archive/ubuntu/libv8-5.2">https://launchpad.net/~pinepain/+archive/ubuntu/libv8-5.2</a></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, May 27, 2016 at 1:28 PM, Florent Peterschmitt <span dir="ltr"><<a href="mailto:florent@peterschmitt.fr" target="_blank">florent@peterschmitt.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">27 mai 2016 20:33 "Caleb Everett" <<a href="mailto:caleb@calebeverett.io">caleb@calebeverett.io</a>> a écrit:<br>
> Hi, can anyone point me in the right direction to be able to build v8 in a container?<br>
><br>
> I'm getting the following errors when I try to run gclient sync:<br>
><br>
> tar: ./lib/ldscripts/elf_k1om.xr: Cannot change ownership to uid 179961, gid 5000: Invalid argument<br>
><br>
> tar: ./lib/ldscripts/elf_i386.xw: Cannot change ownership to uid 179961, gid 5000: Invalid argument<br>
><br>
> tar: ./lib/ldscripts/elf_i386.xd: Cannot change ownership to uid 179961, gid 5000: Invalid argument<br>
><br>
> tar: ./lib/ldscripts/elf_l1om.xn: Cannot change ownership to uid 179961, gid 5000: Invalid argument<br>
><br>
> tar: ./lib/ldscripts/elf_i386.xr: Cannot change ownership to uid 179961, gid 5000: Invalid argument<br>
> tar: ./lib/ldscripts/elf_i386.xs: Cannot change ownership to uid 179961, gid 5000: Invalid argument<br>
> tar: ./lib/ldscripts/elf_k1om.xsw: Cannot change ownership to uid 179961, gid 5000: Invalid<br>
> argument<br>
> tar: ./lib/ldscripts/elf_l1om.x: Cannot change ownership to uid 179961, gid 5000: Invalid argument<br>
> tar: ./lib/ldscripts/elf_x86_64.xu: Cannot change ownership to uid 179961, gid 5000: Invalid<br>
> argument<br>
><br>
> I was thinking that I probably needed to find where the files were extracted in the script and tell<br>
> them not to use the existing ownership, but wondered whether there was a way to get around this<br>
> with lxc.<br>
><br>
> Thank you,<br>
<br>
</div></div>Is this behavior different on you host?<br>
<br>
This ownership change shouldn't prevent you from building anything. Do you run this in another user than root?<br>
<span class="HOEnZb"><font color="#888888"><br>
Florent Peterschmitt<br>
_______________________________________________<br>
lxc-users mailing list<br>
<a href="mailto:lxc-users@lists.linuxcontainers.org">lxc-users@lists.linuxcontainers.org</a><br>
<a href="http://lists.linuxcontainers.org/listinfo/lxc-users" rel="noreferrer" target="_blank">http://lists.linuxcontainers.org/listinfo/lxc-users</a></font></span></blockquote></div><br></div>