You receive this bug because this package does not respect my system's AR ( x86_64-pc-linux-gnu-ar - /usr/bin/x86_64-pc-linux-gnu-ar ) and calls directly ar - /usr/bin/ar
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export AR
3)inherit toolchain-funcs and use emake AR="$(tc-getAR)"
ar cru libac3.a bitstream.o decode.o imdct.o coeff.o exponent.o stats.o bit_allocate.o parse.o crc.o debug.o rematrix.o downmix.o dither.o sanity_check.o
This is solved because alsa-tools-1.0.27 doesn't have this ac3lib anymore, it's one of the differences to 1.0.26
Upstream dropped it for some other reason