Re: [PATCH] config.guess: combine two heuristics to detect musl libc

2020-11-07 Thread Cheng XU
, > the compiler may not be available in a fresh Alpine container. > > The ldd based check is essentially the same as the check that was > introduced by commit 3d00f60242f1726fc6eaa38e09435a969ee7ebe5, it is > performed iff the compiler based check could not give a definitive > answe

Re: config.guess returns incorrect platform for alpine

2020-11-04 Thread Cheng XU
04, 2020 at 04:36:10PM -0800, Cheng XU wrote: > > I think my patch fulfills all your requirements. It has no side effect on > > non-musl platform. > > > > Best Regards, > > > > Cheng > > Looks like it performs the compiler based check, then overrides its re

Re: config.guess returns incorrect platform for alpine

2020-11-04 Thread Cheng XU
I think my patch fulfills all your requirements. It has no side effect on non-musl platform. Best Regards, Cheng On Nov 4, 2020, 4:08 PM -0800, Dmitry V. Levin , wrote: > On Wed, Nov 04, 2020 at 02:57:08PM -0800, Cheng XU wrote: > > Please find the patch in the attachment. Thanks. >

Re: config.guess returns incorrect platform for alpine

2020-11-04 Thread Cheng XU
Please find the patch in the attachment. Thanks. Best Regards, Cheng On Nov 4, 2020, 2:39 PM -0800, Ben Elliston , wrote: > On Wed, Nov 04, 2020 at 02:31:05PM -0800, Cheng XU wrote: > > > Thanks for the info. However, it seems that the referenced issue is > > only valid for

Re: config.guess returns incorrect platform for alpine

2020-11-04 Thread Cheng XU
packages /data # ./config-2020-10-22.guess x86_64-pc-linux-gnu Best Regards, Cheng On Nov 3, 2020, 8:34 PM -0800, Ben Elliston , wrote: > On Tue, Nov 03, 2020 at 06:14:43AM -0800, Cheng XU wrote: > > > Due to a recent change > > (https://github.com/TeX-Liv

config.guess returns incorrect platform for alpine

2020-11-03 Thread Cheng XU
Hi, This issue is found in the TeXLive installer, which uses config.guess to determine the os type. The maintainer asks me to report the issue here. More info can be found at  https://tug.org/pipermail/tex-live/2020-November/046308.html Due to a recent change (https://github.com/TeX-Live/insta