Skip to content
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

Running mvn install in MacOS causes error #1204

Open
theomails opened this issue Apr 13, 2019 · 9 comments
Open

Running mvn install in MacOS causes error #1204

theomails opened this issue Apr 13, 2019 · 9 comments

Comments

@theomails
Copy link
Contributor

Running mvn install in MacOS causes this error:

failed: group id '884470207' is too big ( > 2097151 ). Use STAR or POSIX extensions to overcome this limit

Refer similar issue in other projects:
mdht/mdht-models#88
elastic/elasticsearch#11824

@carlspring
Copy link
Member

@cbrianhill ,

I remember you investigated this in #1115, right?

@theomails , have a look at the issue and perhaps you and @cbrianhill could have another look at the issue?

@syakubov
Copy link
Contributor

Just to add to this, I just built it on mine and it worked fine. My ID's are rather low though, < 500. So I guess I could just confirm that it's not the case on all macs. Also, I did use mvn clean install, so maybe that was different.

@theomails
Copy link
Contributor Author

If you look at the first external issue that I referred to:
mdht/mdht-models#88

The solution is simply to change the tarLongFileMode from gnu to posix

If tar file mode posix supersedes gnu in every way, then we could simply upgrade.

If someone has a good idea about tar modes, they could confirm whether this would be a general fix!

@syakubov
Copy link
Contributor

So the issue is to see whether changing it to posix would cause any problems?

@carlspring
Copy link
Member

@theomails , @syakubov : Have you guys had a look at #1115?

@cbrianhill : Ping? :)

@cbrianhill
Copy link
Contributor

Hi @theomails, the issue with the posix tar file extensions is that some utilities don't support them. See the comment at #1115 (comment) for an example, the Midnight Commander (mc) Linux utility doesn't support them, and unfortunately ends up extracting files with truncated paths. It was a tough call, but we wanted the tar files to work with as many systems and utilities as possible, and set ourselves up so we could support using mc on the tar file.

For devs on Macs, the workaround is to create a local user with a lower UID and GID.

@carlspring
Copy link
Member

We're open to advice and if anyone is interested in further investigating this under Mac, please, let us know!

@adavid9
Copy link
Contributor

adavid9 commented Jul 12, 2019

@carlspring I am using Mac OS and without any issues I am able to compile the project and run mvn clean install it works fine also with mvn install it could be closed I think.

@steve-todorov
Copy link
Member

Thanks for reporting things are working @adavid9! It looks like this issue is appearing only for some MacOS users and not all of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants