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

Error building the docker image from the Dockerfile #165

Closed
jonbra opened this issue May 30, 2023 · 3 comments
Closed

Error building the docker image from the Dockerfile #165

jonbra opened this issue May 30, 2023 · 3 comments
Assignees

Comments

@jonbra
Copy link

jonbra commented May 30, 2023

Describe the bug
I ran docker build on the Dockerfile but got an error compiling iVar

Desktop (please complete the following information):

  • Ubuntu 22.04

Additional context
Part of my output:

#0 10.58 trim_primer_quality.cpp:595:14: error: 'header' was not declared in this scope
#0 10.58    sam_hdr_t *header = sam_hdr_read(in);
#0 10.58               ^~~~~~
#0 10.58 trim_primer_quality.cpp:595:14: note: suggested alternative: 'gz_header'
#0 10.58    sam_hdr_t *header = sam_hdr_read(in);
#0 10.58               ^~~~~~
#0 10.58               gz_header
#0 10.62 Makefile:367: recipe for target 'trim_primer_quality.o' failed
#0 10.62 make[2]: Leaving directory '/root/ivar/src'
#0 10.62 make[2]: *** [trim_primer_quality.o] Error 1
#0 10.63 Makefile:360: recipe for target 'all-recursive' failed
#0 10.63 make[1]: Leaving directory '/root/ivar'
#0 10.63 make[1]: *** [all-recursive] Error 1
#0 10.63 Makefile:301: recipe for target 'all' failed
#0 10.63 make: *** [all] Error 2
------
Dockerfile:28
--------------------
  27 |     # iVar
  28 | >>> RUN cd root/ &&\
  29 | >>>     git clone https://github.com/andersen-lab/ivar.git &&\
  30 | >>>     cd ivar/ &&\
  31 | >>>     ./autogen.sh &&\
  32 | >>>     ./configure &&\
  33 | >>>     make &&\
  34 | >>>     make install
  35 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c cd root/ &&    git clone https://github.com/andersen-lab/ivar.git &&    cd ivar/ &&    ./autogen.sh &&    ./configure &&    make &&    make install" did not complete successfully: exit code: 2
@cmaceves cmaceves self-assigned this May 30, 2023
@cmaceves
Copy link
Collaborator

thank you for brining this up - I was able to replicate the error and we'll look into it!

@cmaceves
Copy link
Collaborator

hi! @jonbra would you mind pulling down this branch https://github.com/andersen-lab/ivar/tree/issue_165 and confirming that the image will build?

@jonbra
Copy link
Author

jonbra commented Jun 1, 2023

Yep, it builds nicely! :)

@cmaceves cmaceves closed this as completed Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants