alpine 3.15.4 with edge repo and build bwa image
Using alpine 3.15.4 and bwa I get the below: If I go to any early alpine I can build the image but will get other issues that the newer addressed. Is this not the best approach? Thank you :).
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./libbwa.a(rope.o):/home/ec2
-user/bwa-0.7.17/rle.h:33: multiple definition of `rle_auxtab'; ./libbwa.a(bwtindex.o):/home/ec2-user/bwa-0.7.17/rle.h
:33: first defined here
/usr/lib/gcc/x86_64-alpine-linux-musl/10.3.1/../../../../x86_64-alpine-linux-musl/bin/ld: ./libbwa.a(rle.o):/home/ec2-
user/bwa-0.7.17/rle.h:33: multiple definition of `rle_auxtab'; ./libbwa.a(bwtindex.o):/home/ec2-user/bwa-0.7.17/rle.h:
33: first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:30: bwa] Error 1
Tried adding the the edge repo and two packages:
apk add libdeflate --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community \
apk add isa-l-dev --repository=http://dl-cdn.alpinelinux.org/alpine/edge/community (I get ERROR: unable to select packages:
isa-l-dev (no such package):