config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: config.guess returns incorrect platform for alpine


From: Ben Elliston
Subject: Re: config.guess returns incorrect platform for alpine
Date: Wed, 4 Nov 2020 15:33:58 +1100
User-agent: Mutt/1.10.1 (2018-07-13)

On Tue, Nov 03, 2020 at 06:14:43AM -0800, Cheng XU wrote:

> Due to a recent change
> (https://github.com/TeX-Live/installer/commit/ff98be775bf48aa576cbc25aa337dd5626af6550),
> the config.guess will incorrectly report `x86_64-pc-linux-gnu`
> instead of `x86_64-pc-linux-musl` for alpine docker image.

> To fix the problem, may I suggest to keep the original detection
> script using ldd. The reason is that the compiler is not installed
> in a fresh alpine docker image. Whereas, the ldd is available by
> default. Therefore, I think using ldd to detect musl libc is much
> reliable.

Please see the thread starting at:
https://lists.gnu.org/archive/html/config-patches/2020-09/msg00002.html

for why your solution is not workable. You will need to add a compiler
installation to your docker image, sorry.

Ben

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]