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

Build for 2.1.0 fails, but bumping GKL fixes it #921

Open
brendes opened this issue Jul 12, 2023 · 0 comments
Open

Build for 2.1.0 fails, but bumping GKL fixes it #921

brendes opened this issue Jul 12, 2023 · 0 comments

Comments

@brendes
Copy link

brendes commented Jul 12, 2023

Machines tested: macOS Ventura M1/arm64 and Ubuntu 22.04 amd64 Docker image (with the Mac as the host)

Steps to reproduce:

git checkout 2.1.0 && sbt assembly 

Error(s) produced (cropped for content):

544.5 [error] 2 errors were encountered during merge
544.9 [error] java.lang.RuntimeException: deduplicate: different file contents found in the following:
544.9 [error] /root/.ivy2/cache/org.apache.logging.log4j/log4j-api/jars/log4j-api-3.0.0-alpha1.jar:log4j2.propertyMapping.json
544.9 [error] /root/.ivy2/cache/org.apache.logging.log4j/log4j-core/jars/log4j-core-3.0.0-alpha1.jar:log4j2.propertyMapping.json
544.9 [error] deduplicate: different file contents found in the following:
544.9 [error] /root/.ivy2/cache/com.fasterxml.woodstox/woodstox-core/bundles/woodstox-core-6.5.0.jar:module-info.class
544.9 [error] /root/.ivy2/cache/javax.xml.bind/jaxb-api/jars/jaxb-api-2.3.1.jar:module-info.class
544.9 [error] /root/.ivy2/cache/org.apache.logging.log4j/log4j-api/jars/log4j-api-3.0.0-alpha1.jar:module-info.class
544.9 [error] /root/.ivy2/cache/org.apache.logging.log4j/log4j-core/jars/log4j-core-3.0.0-alpha1.jar:module-info.class
544.9 [error] /root/.ivy2/cache/org.apache.logging.log4j/log4j-plugins/jars/log4j-plugins-3.0.0-alpha1.jar:module-info.class
544.9 [error] /root/.ivy2/cache/org.codehaus.woodstox/stax2-api/bundles/stax2-api-4.2.1.jar:module-info.class

Bumping the GKL version to 0.8.10 or 0.8.11 in build.sbt produces a successful build. I do see that the GKL version has been bumped here, but wanted to document this here and see if it can be reproduced by anyone else.

What is strange on my end is that as recently as a month ago I had no issues doing this on an Intel Mac, both building locally and inside a Docker Ubuntu container. That doesn't make much sense, but it's the only variable I can think of.

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

1 participant