You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@yetus.apache.org by "Nick Dimiduk (Jira)" <ji...@apache.org> on 2022/04/28 10:47:00 UTC

[jira] [Resolved] (YETUS-1164) start-build-env.sh doesn't work on a Mac

     [ https://issues.apache.org/jira/browse/YETUS-1164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Dimiduk resolved YETUS-1164.
---------------------------------
    Resolution: Not A Problem

I suppose we might add some test to {{start-build-env.sh}} that can assert on the presence of this required capability.

> start-build-env.sh doesn't work on a Mac
> ----------------------------------------
>
>                 Key: YETUS-1164
>                 URL: https://issues.apache.org/jira/browse/YETUS-1164
>             Project: Yetus
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 0.14.0
>            Reporter: Nick Dimiduk
>            Priority: Major
>
> Following the https://github.com/apache/yetus#building-quickstart , I found
> {noformat}
> $ mvn clean install
> [ERROR] Could not create local repository at /home/ndimiduk/.m2/repository -> [Help 1]
> {noformat}
> I believe the issue here is that Docker is not "native" on the Mac (and probably other platforms also... Windows maybe?), because there is a virtual machine between the user's home directory and the docker container. Things fall apart with {{start-build-env.sh}} because it mounts various directories in the user's home directory into the container as volumes. These paths exist on the host OS, but not on the guest OS VM where the docker service runs.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)