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

Hi. I failed to build GATK4. #8346

Closed
jdjdj0202 opened this issue May 29, 2023 · 1 comment
Closed

Hi. I failed to build GATK4. #8346

jdjdj0202 opened this issue May 29, 2023 · 1 comment

Comments

@jdjdj0202
Copy link

jdjdj0202 commented May 29, 2023

Hi. I failed to build GATK4.

I am a very beginner of bioinformatics and data science.
I am using google VM ubuntu.
I downloaded gatk-4.4.0.0.

Step by step, I tried to build GATK4. (https://github.com/broadinstitute/gatk/blob/master/README.md#building)

I made a gitclone using
wget https://github.com/broadinstitute/gatk

and entered gatk folder.
there was a gradlew.
and I entered
./gradlew bundle
or
./gradlew

but it failed to build GATK4 with following errors.

====================================
OpenJDK 64-Bit Server VM warning: Insufficient space for shared memory file:
30934
Try using the -Djava.io.tmpdir= option to select an alternate temp location.

FAILURE: Build failed with an exception.

  • What went wrong:
    Gradle could not start your build.

Cannot create service of type DependencyLockingHandler using method DefaultDependencyManagementServices$DependencyResolutionScopeServices.createDependencyLockingHandler() as there is a problem with parameter #2 of type ConfigurationContainerInternal.
Cannot create service of type ConfigurationContainerInternal using method DefaultDependencyManagementServices$DependencyResolutionScopeServices.createConfigurationContainer() as there is a problem with parameter #13 of type DefaultConfigurationFactory.
> Cannot create service of type DefaultConfigurationFactory using DefaultConfigurationFactory constructor as there is a problem with parameter #2 of type ConfigurationResolver.
> Cannot create service of type ConfigurationResolver using method DefaultDependencyManagementServices$DependencyResolutionScopeServices.createDependencyResolver() as there is a problem with parameter #1 of type ArtifactDependencyResolver.
> Cannot create service of type ArtifactDependencyResolver using method DependencyManagementBuildScopeServices.createArtifactDependencyResolver() as there is a problem with parameter #4 of type List.
> Could not create service of type VersionControlRepositoryConnectionFactory using VersionControlBuildSessionServices.createVersionControlSystemFactory().
> Failed to create parent directory '/home/jdjdj0202/gatk/.gradle' when creating directory '/home/jdjdj0202/gatk/.gradle/vcs-1'

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 754ms

FAILURE: Build failed with an exception.

  • What went wrong:
    Could not update /home/jdjdj0202/gatk/.gradle/7.5.1/fileChanges/last-build.bin

/home/jdjdj0202/gatk/.gradle/7.5.1/fileChanges/last-build.bin (No such file or directory)

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 761ms

How can I build GATK4?

Thanks a lot.

@jdjdj0202
Copy link
Author

I solved the problem by adding more storage. Thanks.

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