[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell sy
From: |
Osipov, Michael (LDA IT PLM) |
Subject: |
Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax |
Date: |
Tue, 17 Aug 2021 16:03:17 +0200 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 |
Am 2021-08-17 um 15:53 schrieb Greg Wooledge:
> On Tue, Aug 17, 2021 at 01:02:06PM +0200, Osipov, Michael (LDA IT
PLM) wrote:
>> this is basically the same issue as I reported in readline:
>>
https://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.gnu.org%2Farchive%2Fhtml%2Fbug-readline%2F2021-08%2Fmsg00000.html&data=04%7C01%7C9d76b566-97f1-4355-9dbf-6dcc0e8868d3%40ad011.siemens.com%7Cdd721486d960498e334208d961866c31%7C38ae3bcd95794fd4addab42e1495d55a%7C1%7C0%7C637648052231708973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000&sdata=WbUfO3CqZD3MIiGEk9aZXGanP6ehE2qLM6buLxQ5l98%3D&reserved=0
>
> As Chet said in that message, you have misinterpreted the POSIX
> documentation.
>
>> The bad hunk seems not to be POSIX shell compliant. Both vars are
set for me
>> on HP-UX because the expansion is incomplete. According to [1] it
has to be
>> $(GCC:+..} and not $(GCC+..}. I have changed ./configure locally and it
>> works with /bin/sh.
>
> What version of HP-UX? What is the actual error you're getting?
Latest and greatest: 11.31 v3
> I only have access to certain older versions of HP-UX, but I don't
> see what you're claiming.
>
> # exec /bin/sh
> # uname -a
> HP-UX minea B.11.11 U 9000/785 4239047153 unlimited-user license
> # GCC=gcc
> # echo "[${GCC+-foo}]"
> [-foo]
> # unset GCC
> # echo "[${GCC+-foo}]"
> []
> #
This is *not* the same as in the configure script. It does not unset the
variable, but sets to empty.