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

Freebayes 1.3.8 does not build #803

Open
feghalya opened this issue Jun 13, 2024 · 2 comments
Open

Freebayes 1.3.8 does not build #803

feghalya opened this issue Jun 13, 2024 · 2 comments
Labels

Comments

@feghalya
Copy link

feghalya commented Jun 13, 2024

Building Freebayes v1.3.8 from source seems impossible as it is.

Using meson build -Dprefer_system_deps=false fails because it expects a vcflib submodule, and meson build -Dprefer_system_deps=true fails as well because the fastahack and smithwaterman libraries are hard-coded to use submodules.

The only way meson build worked was cloning vcflib in contrib/ and running meson build -Dprefer_system_deps=false, but then meson test -C build/ would fail because it could not find IntervalTree.h. To solve this, I had to change IntervalTree.h back to ../intervaltree/IntervalTree.h in src/BedReader.h and src/BedReader.cpp.

@feghalya feghalya added the bug label Jun 13, 2024
@twrightsman
Copy link

This also currently affects the Debian packaging (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1067271). See a failed build log here.

@h836472
Copy link

h836472 commented Dec 16, 2024

Managed to build Freebayes from source with these steps (git repository accessed: 16th December 2024)
1., git clone https://github.com/freebayes/freebayes.git
2., cd freebayes
3., manually edit .gitmodules, correct broken URL for "multichoose" [email protected]:vcflib/multichoose.git to https://github.com/vcflib/multichoose.git
4., git submodule sync
5., git submodule update --init --recursive
6., git submodule add https://github.com/ekg/split.git contrib/split
#all submodule download issue solved there including the addition of forgotten "split" module
7., meson build --buildtype=release
8., cd build
#upon the first ninja attempt, several header files from contrib folder tree were not found. Decided to simply copy them to src
9., cp ../contrib/fastahack/split.h ../src/
10., cp ../contrib/smithwaterman/convert.h ../src/
11., cp ../contrib/split/join.h ../src/
12., cp ../contrib/fastahack/Fasta.h ../src/
13., cp ../contrib/fastahack/Region.h ../src/
14., cp ../contrib/multichoose/multichoose.h ../src/
15., cp ../contrib/multichoose/multipermute.h ../src/
16., ninja

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

No branches or pull requests

3 participants