[Mono-list] xbuild and relative paths

Cyd Haselton chaselton at gmail.com
Tue Oct 25 15:28:23 UTC 2016


On Oct 25, 2016 10:18 AM, "Timotheus Pokorra" <
timotheus.pokorra at solidcharity.com> wrote:
>
> > I'm guessing that you have the permissions needed to access the /root
dir in
> > this absolute path:
> >
/root/dotnet/cli/src/Microsoft.DotNet.Cli.Utils/Microsoft.DotNet.Cli.Utils.xproj.
> I have now tried to build it as an unprileged user, I get the same erros.
>

Can you try specifying relative paths to see if that works?

> > I do NOT have access to the /data dir in the absolute path that I'm
building
> > in…just the subdir.
> I don't have a /data directory, and cannot find it in the dotnet/cli
> working directory.
>

You wouldn't. /data is, effectively, the /root dir on my Android device.

> >> I wonder if it helps to do this with a vagrant script or Docker file?
> >> Then we have the same thing?
> >>
> > My build device doesn;t have a Docker setup and I;ve never used it; it
would
> > take a while for me to get up to speed.
>
> I wonder if you should first try this on a "normal" Linux machine.
> That will already be quite an effort, as you can see in my error messages.
> Once that works, you try it on your device.
>

That would be difficult; I don't have the time or resources to spin up a
new Linux machine for this build.  But, since you're seeing the same issues
with the build as an unprivileged user, I think working with what I have
will be fine.

> Timotheus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dot.net/pipermail/mono-list/attachments/20161025/79716068/attachment.html>


More information about the Mono-list mailing list