Closed 4x0v7 closed 6 years ago
I should mention, base image alpine:3.7
installing packages
apk --no-cache add \
alpine-sdk \
asciidoc \
autoconf \
automake \
bash \
gawk \
gcc \
git \
libtool \
libusb-dev \
make \
musl
so the interesting thing that breaks here is at https://github.com/Yubico/yubikey-personalization/blob/master/tests/test_args_to_config.c#L133 and the reason for this seems to be that you're building with musl libc. The ifdef there is to make sure we set up the getopt stuff correctly for a bsd libc, we should probably try to test for that rather than including all libc that don't behave like this.
Thanks @klali! I realise now my mistake was trying to build with alpine, which as you say is musl libc. I'll close this issue, thank you very much for the information!
Hi there! I'm creating a Dockerfile and running into an issue when running
make check
The error is:
Ref: https://github.com/Yubico/yubikey-personalization/blob/907444ccc194082c6df0ed2b6385502af59bcae2/tests/test_args_to_config.c#L136
Prior to this,
autoreconf --install
and./configure
are running OK.Any help would be appreciated!