From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 13 10:20:31 2014 Received: (at submit) by debbugs.gnu.org; 13 Jun 2014 14:20:31 +0000 Received: from localhost ([127.0.0.1]:46760 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvSLB-0003DV-N0 for submit@debbugs.gnu.org; Fri, 13 Jun 2014 10:20:30 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52247) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvSL4-0003DB-CZ for submit@debbugs.gnu.org; Fri, 13 Jun 2014 10:20:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvSKy-0007kC-D0 for submit@debbugs.gnu.org; Fri, 13 Jun 2014 10:20:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=AC_DIV_BONANZA,BAYES_50, FREEMAIL_FROM,HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39622) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvSKy-0007k8-A9 for submit@debbugs.gnu.org; Fri, 13 Jun 2014 10:20:12 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53966) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvSKx-0002vK-5x for bug-coreutils@gnu.org; Fri, 13 Jun 2014 10:20:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WvSKv-0007jP-GD for bug-coreutils@gnu.org; Fri, 13 Jun 2014 10:20:11 -0400 Received: from mail-lb0-x22f.google.com ([2a00:1450:4010:c04::22f]:56972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WvSKv-0007gw-86 for bug-coreutils@gnu.org; Fri, 13 Jun 2014 10:20:09 -0400 Received: by mail-lb0-f175.google.com with SMTP id z11so1599873lbi.34 for ; Fri, 13 Jun 2014 07:20:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=GfvDTNAbiZDOM1beRmQB5zcx3xtkaIAV2X0BuaQ4dT4=; b=KUdOaRFT1n1U9v79FDDPZPD3gPH/4Y0I7vgTDgmIJ7DcZ5U2ML8VliDejbyLf8MPWM XBMjJeRrWxxN9D3o+UjenRkNBQ+ePmQ0RfgdxkBk7Av44fOTu4LuVwKgmn9zzf8FcOZS L/O/ERIAGrTSEOK+1y7C6nzQkfnE2rKacROODw2R578eupwOg83Fj+DN42KhfSWGua6R Zqenf7sU1m8kvz/EOOS64I4MhF8dizlm3/Ck3w+8XG4IEjlw7t4/W7Ec51iPGKsqWotc Owk2Q+yaaHO0DNvW4M79T6ElwB0+HJklXxNBYxyOV/nrKaBpnvWmrdK5tM8l7KPVGVXO AtyA== MIME-Version: 1.0 X-Received: by 10.112.72.3 with SMTP id z3mr1815528lbu.30.1402669205938; Fri, 13 Jun 2014 07:20:05 -0700 (PDT) Received: by 10.112.99.134 with HTTP; Fri, 13 Jun 2014 07:20:05 -0700 (PDT) Date: Fri, 13 Jun 2014 16:20:05 +0200 Message-ID: Subject: AIX and lbracket ([) program - will not install on AIX using installp From: Michael Felt To: bug-coreutils@gnu.org Content-Type: multipart/alternative; boundary=001a11c34140c1e80504fbb85f9a X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a11c34140c1e80504fbb85f9a Content-Type: text/plain; charset=UTF-8 I know now why I am still using version 8-15 1. I never tried 8.16 2. since version 8.17 (or 16 which I never tried) lbracket gets linked as the program [ Now, except that I would have a terrible time entering that as a command, as is it a special character for ksh, and I would think bash the additional problem with [ as a commandname, or even as a character in a command name - AIX does not permit files in an installp package are refused when they include certain special characters (: and the square brackets I am sure of, there are probably more). So, while it is a valid filename - I, personally, see it as an extremely non-portable command name. If someone, after installation, would want to create a hardlink to that name - great. But to have a name like that, I must be too old fashioned - where is the win? typing /usr/bin/\[ gets me what? regards, Michael p.s. hints on how to massage Makefile is fine. Not trying to save the world here :) --001a11c34140c1e80504fbb85f9a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I know n= ow why I am still using version 8-15
1. I never tried 8.16
2. since version 8.17 (or 16 which I never tried) lbracket gets linked as= the program [

Now, except that I would have a terrible time entering that as a = command, as is it a special character for ksh, and I would think bash the a= dditional problem with
[ as a commandname, or even as a character = in a command name - AIX does not permit files in an installp package are re= fused when they include certain special characters (: and the square bracke= ts I am sure of, there are probably more).

So, while it is a valid filename - I, personally, see it as an ex= tremely non-portable command name.

If someone, after installat= ion, would want to create a hardlink to that name - great. But to have a na= me like that, I must be too old fashioned - where is the win? typing
/usr/bin/\[ gets me what?

regards,
Michael
<= br>
p.s. hints on how to massage Makefile is fine. Not trying to save = the world here :)
--001a11c34140c1e80504fbb85f9a-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 13 11:09:47 2014 Received: (at 17774) by debbugs.gnu.org; 13 Jun 2014 15:09:47 +0000 Received: from localhost ([127.0.0.1]:46790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvT6s-0004oz-SJ for submit@debbugs.gnu.org; Fri, 13 Jun 2014 11:09:46 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:60028) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvT6n-0004oS-Jn for 17774@debbugs.gnu.org; Fri, 13 Jun 2014 11:09:41 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 93D3F39E8013; Fri, 13 Jun 2014 08:09:31 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZSvc4A5QXGLt; Fri, 13 Jun 2014 08:09:27 -0700 (PDT) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 184B939E8012; Fri, 13 Jun 2014 08:09:27 -0700 (PDT) Message-ID: <539B1426.8040607@cs.ucla.edu> Date: Fri, 13 Jun 2014 08:09:26 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Michael Felt , 17774@debbugs.gnu.org Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp References: In-Reply-To: Content-Type: multipart/mixed; boundary="------------010502020300020309060005" X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 17774 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) This is a multi-part message in MIME format. --------------010502020300020309060005 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Michael Felt wrote: > But to have a name like that, I must be too old fashioned - > where is the win? It's so that execlp ("FOO") acts like the shell command FOO, or, more precisely, so that the attached C program works like '[ -d / ]' at the shell level. POSIX requires that all standard utilities (except for a very short list) must work the same way from a C program as from the shell. See the last sentence of: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap01.html#tag_17_06 '[' is not on the list of exceptions, so coreutils arranges for it to be an executable, as POSIX requires. > AIX does not > permit files in an installp package are refused when they include certain > special characters It may be simpler to just omit '[' from your installp package (I assume that's some downstream thing). I doubt whether anybody but POSIX nerds will care. AIX itself doesn't seem to be POSIX-conforming here, as the attached C program fails on AIX. (If *you* are a POSIX nerd please feel free to file a bug report with IBM....) --------------010502020300020309060005 Content-Type: text/x-csrc; name="t.c" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="t.c" #include #include int main (void) { execlp ("[", "[", "-d", "/", "]", (char *) 0); perror ("execlp"); return 1; } --------------010502020300020309060005-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 14 11:54:46 2014 Received: (at 17774) by debbugs.gnu.org; 14 Jun 2014 15:54:46 +0000 Received: from localhost ([127.0.0.1]:47883 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvqI1-0004AX-4H for submit@debbugs.gnu.org; Sat, 14 Jun 2014 11:54:45 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:42966) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvqHy-0004AI-OZ for 17774@debbugs.gnu.org; Sat, 14 Jun 2014 11:54:43 -0400 Received: by mail-lb0-f171.google.com with SMTP id s7so1955270lbd.16 for <17774@debbugs.gnu.org>; Sat, 14 Jun 2014 08:54:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=m/QkNlwGqgyjUCNg2Zo2c4vDTumVpWHvd8u4ViuDmtI=; b=DOVmk3MJTj0xcAfvyJ/oCzbxeERoPed25Ikr1f9w7FeImQ8sjpnrPvRp1OFFuzJfEt F5p+V5FQJW+bWZuAaQALA15zrFsyfsr1F45r1E1PsOM43qEInGF8sUVzcaVGEo6NrRYn G1I4UUlMhzU62e3RkNmR4jJHYkTSvTuUjhVhTkwMqRguNcuq/m+hKTzi90AvB4prDd4x bPBto7sJ6P99RgAMmmE+GEYF1Q+Uz+p166y5AIwZezlQ/PVMGZCdn+Vh5Vo2JdkG7BJ0 EZhn+BtAyNC4gzzhHJfzPSkao9jQnYAhtXTUOpeA7WCInGAb1C5ETJOaMs5g7qyBp6Ta vI7g== MIME-Version: 1.0 X-Received: by 10.112.72.41 with SMTP id a9mr1063996lbv.71.1402761276229; Sat, 14 Jun 2014 08:54:36 -0700 (PDT) Received: by 10.112.99.134 with HTTP; Sat, 14 Jun 2014 08:54:36 -0700 (PDT) In-Reply-To: <539B1426.8040607@cs.ucla.edu> References: <539B1426.8040607@cs.ucla.edu> Date: Sat, 14 Jun 2014 17:54:36 +0200 Message-ID: Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp From: Michael Felt To: Paul Eggert Content-Type: multipart/alternative; boundary=001a11c34198930cc604fbcdcfee X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17774 Cc: 17774@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11c34198930cc604fbcdcfee Content-Type: text/plain; charset=UTF-8 Yes, I suppose I could just delete it. However, my comment is "also" that at 8.15 it packaged fine. Starting with 8.17 (or maybe 8.16, I can download and try). FYI - I can execute the program [ (as ./? --version as the shell does not like [ entered directly, and I am not counting the backslashes correctly). So, maybe your sample program would execute. I will try it in a day or so, just checking mail for now. On Fri, Jun 13, 2014 at 5:09 PM, Paul Eggert wrote: > Michael Felt wrote: > >> But to have a name like that, I must be too old fashioned - >> where is the win? >> > > It's so that execlp ("FOO") acts like the shell command FOO, or, more > precisely, so that the attached C program works like '[ -d / ]' at the > shell level. POSIX requires that all standard utilities (except for a very > short list) must work the same way from a C program as from the shell. See > the last sentence of: > > http://pubs.opengroup.org/onlinepubs/9699919799/ > utilities/V3_chap01.html#tag_17_06 > > '[' is not on the list of exceptions, so coreutils arranges for it to be > an executable, as POSIX requires. > > > AIX does not >> permit files in an installp package are refused when they include certain >> special characters >> > > It may be simpler to just omit '[' from your installp package (I assume > that's some downstream thing). I doubt whether anybody but POSIX nerds > will care. AIX itself doesn't seem to be POSIX-conforming here, as the > attached C program fails on AIX. (If *you* are a POSIX nerd please feel > free to file a bug report with IBM....) > --001a11c34198930cc604fbcdcfee Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, I suppose I could just delete it. However, my co= mment is "also" that at 8.15 it packaged fine. Starting with 8.17= (or maybe 8.16, I can download and try).

FYI - I can execute = the program [ (as ./? --version as the shell does not like [ entered direct= ly, and I am not counting the backslashes correctly). So, maybe your sample= program would execute. I will try it in a day or so, just checking mail fo= r now.


On Fri,= Jun 13, 2014 at 5:09 PM, Paul Eggert <eggert@cs.ucla.edu> = wrote:
Michael Felt wrote:
But to have a name like that, I must be too old fashioned -
where is the win?

It's so that execlp ("FOO") acts like the shell command FOO, = or, more precisely, so that the attached C program works like '[ -d / ]= ' at the shell level. =C2=A0POSIX requires that all standard utilities = (except for a very short list) must work the same way from a C program as f= rom the shell. =C2=A0See the last sentence of:

http://pubs.opengroup.org/onli= nepubs/9699919799/utilities/V3_chap01.html#tag_17_06

'[' is not on the list of exceptions, so coreutils arranges for it = to be an executable, as POSIX requires.


AIX does not
permit files in an installp package are refused when they include certain special characters

It may be simpler to just omit '[' from your installp package (I as= sume that's some downstream thing). =C2=A0I doubt whether anybody but P= OSIX nerds will care. =C2=A0AIX itself doesn't seem to be POSIX-conform= ing here, as the attached C program fails on AIX. =C2=A0(If *you* are a POS= IX nerd please feel free to file a bug report with IBM....)

--001a11c34198930cc604fbcdcfee-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 14 12:08:46 2014 Received: (at 17774) by debbugs.gnu.org; 14 Jun 2014 16:08:46 +0000 Received: from localhost ([127.0.0.1]:47895 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvqVZ-0004Zy-KV for submit@debbugs.gnu.org; Sat, 14 Jun 2014 12:08:46 -0400 Received: from mail-la0-f46.google.com ([209.85.215.46]:52487) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WvqVW-0004Za-RZ for 17774@debbugs.gnu.org; Sat, 14 Jun 2014 12:08:43 -0400 Received: by mail-la0-f46.google.com with SMTP id gl10so2103148lab.19 for <17774@debbugs.gnu.org>; Sat, 14 Jun 2014 09:08:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=73GBBNz+js3lqOpytfgfFE47GRILw8bwPY+5FryF+sk=; b=qmDu/H/q0/B+cN1Rg2Iulwcqy7WXDYYdjrMBvY0wwHy8NEcL1Hi6kbPg+EEFHSZBLs UjxpVdN4EvKKHE+lc90nQzNi9xomjfQLlt/l4LcobmZBZAus6IujODcr0E51rrecfi68 1dvOoHwTphOfkmIFBB/uu/cqvbsJJCTGKURN7gZ1G7ddyrnDmeXDnl4VuY4E71ZWxwm/ DeN2EUl5N2TmTJuBVWlSFWRihmYgM+TrdjjTQEEDTm8A+k9nPGj863Fg8pSHusuxJo2x H1sk0X6xxfguCq/b8hnKjosHKRVOZPtcDu8x27zyVSLpjvhrKIIoSpZbTALFTqyAnShB kFdw== MIME-Version: 1.0 X-Received: by 10.152.42.170 with SMTP id p10mr333371lal.67.1402762116984; Sat, 14 Jun 2014 09:08:36 -0700 (PDT) Received: by 10.112.99.134 with HTTP; Sat, 14 Jun 2014 09:08:36 -0700 (PDT) In-Reply-To: <539B1426.8040607@cs.ucla.edu> References: <539B1426.8040607@cs.ucla.edu> Date: Sat, 14 Jun 2014 18:08:36 +0200 Message-ID: Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp From: Michael Felt To: Paul Eggert Content-Type: multipart/alternative; boundary=001a11c34c78aff42304fbce0136 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17774 Cc: 17774@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11c34c78aff42304fbce0136 Content-Type: text/plain; charset=UTF-8 I believe IBMis usually quite commited to being inline with published and accepted standards. However, this is a standard with 2008 in it's name, and AIX 5.3 is from 2004, and the TL/SP level I am compiling on, for backwards compatibility is dated 2007 - so hard to complain that it is not up to a 2008 standard - although I expect the program you sent will compile and execute. It is the installp installer that has issues because it uses the [] characters for special purposes. Maybe I can find a way/modification to the mkinstallp program so that installp will accept the input. And yes, deleting/not including it is probably the simplest solution. On Fri, Jun 13, 2014 at 5:09 PM, Paul Eggert wrote: > Michael Felt wrote: > >> But to have a name like that, I must be too old fashioned - >> where is the win? >> > > It's so that execlp ("FOO") acts like the shell command FOO, or, more > precisely, so that the attached C program works like '[ -d / ]' at the > shell level. POSIX requires that all standard utilities (except for a very > short list) must work the same way from a C program as from the shell. See > the last sentence of: > > http://pubs.opengroup.org/onlinepubs/9699919799/ > utilities/V3_chap01.html#tag_17_06 > > '[' is not on the list of exceptions, so coreutils arranges for it to be > an executable, as POSIX requires. > > > AIX does not >> permit files in an installp package are refused when they include certain >> special characters >> > > It may be simpler to just omit '[' from your installp package (I assume > that's some downstream thing). I doubt whether anybody but POSIX nerds > will care. AIX itself doesn't seem to be POSIX-conforming here, as the > attached C program fails on AIX. (If *you* are a POSIX nerd please feel > free to file a bug report with IBM....) > --001a11c34c78aff42304fbce0136 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I believe IBMis usually quite commited to b= eing inline with published and accepted standards. However, this is a stand= ard with 2008 in it's name, and AIX 5.3 is from 2004, and the TL/SP lev= el I am compiling on, for backwards compatibility is dated 2007 - so hard t= o complain that it is not up to a 2008 standard - although I expect the pro= gram you sent will compile and execute.

It is the installp installer that has issues because it uses the = [] characters for special purposes.

Maybe I can find a way/mod= ification to the mkinstallp program so that installp will accept the input.=

And yes, deleting/not including it is probably the simplest solut= ion.


On Fri, Jun 13, 2014 at 5:09 PM, Paul Eggert <eggert@cs.ucla.edu>= wrote:
Michael Felt wrote:
But to have a name like that, I must be too old fashioned -
where is the win?

It's so that execlp ("FOO") acts like the shell command FOO, = or, more precisely, so that the attached C program works like '[ -d / ]= ' at the shell level. =C2=A0POSIX requires that all standard utilities = (except for a very short list) must work the same way from a C program as f= rom the shell. =C2=A0See the last sentence of:

http://pubs.opengroup.org/onli= nepubs/9699919799/utilities/V3_chap01.html#tag_17_06

'[' is not on the list of exceptions, so coreutils arranges for it = to be an executable, as POSIX requires.


AIX does not
permit files in an installp package are refused when they include certain special characters

It may be simpler to just omit '[' from your installp package (I as= sume that's some downstream thing). =C2=A0I doubt whether anybody but P= OSIX nerds will care. =C2=A0AIX itself doesn't seem to be POSIX-conform= ing here, as the attached C program fails on AIX. =C2=A0(If *you* are a POS= IX nerd please feel free to file a bug report with IBM....)

--001a11c34c78aff42304fbce0136-- From debbugs-submit-bounces@debbugs.gnu.org Sat Jun 14 13:28:38 2014 Received: (at 17774) by debbugs.gnu.org; 14 Jun 2014 17:28:38 +0000 Received: from localhost ([127.0.0.1]:47936 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wvrks-00078W-7b for submit@debbugs.gnu.org; Sat, 14 Jun 2014 13:28:38 -0400 Received: from smtp.cs.ucla.edu ([131.179.128.62]:54585) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wvrkp-00078H-NY for 17774@debbugs.gnu.org; Sat, 14 Jun 2014 13:28:36 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id EA75939E8019; Sat, 14 Jun 2014 10:28:28 -0700 (PDT) X-Virus-Scanned: amavisd-new at smtp.cs.ucla.edu Received: from smtp.cs.ucla.edu ([127.0.0.1]) by localhost (smtp.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eMeh-bPDameC; Sat, 14 Jun 2014 10:28:20 -0700 (PDT) Received: from [192.168.1.9] (pool-108-0-233-62.lsanca.fios.verizon.net [108.0.233.62]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 0F0FD39E8013; Sat, 14 Jun 2014 10:28:20 -0700 (PDT) Message-ID: <539C8633.4060106@cs.ucla.edu> Date: Sat, 14 Jun 2014 10:28:19 -0700 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: Michael Felt Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp References: <539B1426.8040607@cs.ucla.edu> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -3.0 (---) X-Debbugs-Envelope-To: 17774 Cc: 17774@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.0 (---) Michael Felt wrote: > this is a standard with 2008 in it's name, and > AIX 5.3 is from 2004 AIX 5.3 is no longer supported, so I wouldn't bother filing a bug for it. I was thinking about AIX 7.1, which has the same problem; if you want to be a POSIX nerd you can file a bug report against it. That part of POSIX has been standardized since POSIX.2 (IEEE Std 1003.2-1992), and the wording hasn't changed since then if I recall correctly, so AIX has had this conformance bug for decades and nobody has cared.... From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 15 06:52:28 2014 Received: (at 17774) by debbugs.gnu.org; 15 Jun 2014 10:52:28 +0000 Received: from localhost ([127.0.0.1]:48143 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ww831-0001eP-7s for submit@debbugs.gnu.org; Sun, 15 Jun 2014 06:52:27 -0400 Received: from mail-la0-f42.google.com ([209.85.215.42]:41840) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ww82x-0001e9-2U for 17774@debbugs.gnu.org; Sun, 15 Jun 2014 06:52:24 -0400 Received: by mail-la0-f42.google.com with SMTP id el20so2371846lab.29 for <17774@debbugs.gnu.org>; Sun, 15 Jun 2014 03:52:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=45XqpcZ6FgzccTGpGP7pW4gCyOaKQFhk7SixixQ9SzI=; b=QXemhoHXvjAsVJlkSdROY2PBTI1gUL4gCgaiM4UuH2BI5Y/dGNPGGO5F/Qnim7U5hT 0EaKGR92yZagzIuv5ZUN4Nzpb2EJ+1HfAPLd1hs8ivUfGUDesvnSzZgHDG1tZX70xWAg Y073OlUSOVAJ1aCX5QmBUoMQUsLkSiFXA1jQXJa2/3eZ8z2YN/BWdpYrNzAxuvuUcgKH Yd2fIqeEtDNIGwnaEbIOg8Uy8kI5SpUspudVzHgsAAzEKAdzBwd5gIF4CZas+sHLwTHt 6dU6ajy2eDVrAox8lEKLmf7UG1WurLtTikcun7d+/2kkJWXHQjaIrD3p2TNTBUEzb/xQ LogQ== MIME-Version: 1.0 X-Received: by 10.112.219.73 with SMTP id pm9mr1144206lbc.48.1402829536843; Sun, 15 Jun 2014 03:52:16 -0700 (PDT) Received: by 10.112.99.134 with HTTP; Sun, 15 Jun 2014 03:52:16 -0700 (PDT) Received: by 10.112.99.134 with HTTP; Sun, 15 Jun 2014 03:52:16 -0700 (PDT) In-Reply-To: <539C8633.4060106@cs.ucla.edu> References: <539B1426.8040607@cs.ucla.edu> <539C8633.4060106@cs.ucla.edu> Date: Sun, 15 Jun 2014 12:52:16 +0200 Message-ID: Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp From: Michael Felt To: Paul Eggert Content-Type: multipart/alternative; boundary=001a11c3cca2395f5104fbddb42b X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17774 Cc: 17774@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11c3cca2395f5104fbddb42b Content-Type: text/plain; charset=UTF-8 then if nobody has cared up til now I doubt I will have much chance of making a difference on that. thx for the correction. I will mention it, but will not be holding my breath. Michael On Jun 14, 2014 7:28 PM, "Paul Eggert" wrote: > Michael Felt wrote: > >> this is a standard with 2008 in it's name, and >> AIX 5.3 is from 2004 >> > > AIX 5.3 is no longer supported, so I wouldn't bother filing a bug for it. > I was thinking about AIX 7.1, which has the same problem; if you want to > be a POSIX nerd you can file a bug report against it. > > That part of POSIX has been standardized since POSIX.2 (IEEE Std > 1003.2-1992), and the wording hasn't changed since then if I recall > correctly, so AIX has had this conformance bug for decades and nobody has > cared.... > --001a11c3cca2395f5104fbddb42b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

then if nobody has cared up til now I doubt I will have much= chance of making a difference on that.

thx for the correction. I will mention it, but will not be h= olding my breath.

Michael

On Jun 14, 2014 7:28 PM, "Paul Eggert"= <eggert@cs.ucla.edu> wrote= :
Michael Felt wrote:
this is a standard with 2008 in it's name, and
AIX 5.3 is from 2004

AIX 5.3 is no longer supported, so I wouldn't bother filing a bug for i= t. =C2=A0I was thinking about AIX 7.1, which has the same problem; if you w= ant to be a POSIX nerd you can file a bug report against it.

That part of POSIX has been standardized since POSIX.2 (IEEE Std 1003.2-199= 2), and the wording hasn't changed since then if I recall correctly, so= AIX has had this conformance bug for decades and nobody has cared....
--001a11c3cca2395f5104fbddb42b-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 17 16:50:38 2014 Received: (at 17774) by debbugs.gnu.org; 17 Jun 2014 20:50:39 +0000 Received: from localhost ([127.0.0.1]:50941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wx0Kz-0000jB-Ei for submit@debbugs.gnu.org; Tue, 17 Jun 2014 16:50:38 -0400 Received: from mail-la0-f44.google.com ([209.85.215.44]:51059) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wx0Kv-0000it-7W for 17774@debbugs.gnu.org; Tue, 17 Jun 2014 16:50:34 -0400 Received: by mail-la0-f44.google.com with SMTP id ty20so2299905lab.3 for <17774@debbugs.gnu.org>; Tue, 17 Jun 2014 13:50:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=ZNunWR3lPs+xPLAbR3z1UEgIx5iV3E7A7H5SXEJDJhc=; b=TjoYJR3vfMx2y8ijiv7IAqX7wKy1HRwhkb5JjhPIjTWPUS8smp+BYSYLxNIRwroIkv DKUHPMGpoij7/LtgfpVRTGtAkS04Czmfeh/UPv5uR6K0kAume8IfFcfuzeJfSgmMgsMF T2El1N3+pP4vsEkGNRta73VTfzFkcLFFWKXyMFFZyvK4LdtaELsVqvIc+/Pn84SEyxXs T/qogOG7cu/xwl7NKfgu1nyfYMDe7mFZVj4hGOFTCaDdL91QyxsiG4OCCNwoYR9FwIVO rTwdHFMk7vYr2ML8/rLJfN4q53jDc8zIed7+miiI6uEoqOuzXu/aWMZYT6sKyk4WhiCl 5h8g== MIME-Version: 1.0 X-Received: by 10.112.181.71 with SMTP id du7mr9941730lbc.25.1403038226873; Tue, 17 Jun 2014 13:50:26 -0700 (PDT) Received: by 10.112.138.194 with HTTP; Tue, 17 Jun 2014 13:50:26 -0700 (PDT) In-Reply-To: References: <539B1426.8040607@cs.ucla.edu> Date: Tue, 17 Jun 2014 22:50:26 +0200 Message-ID: Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp From: Michael Felt To: Paul Eggert Content-Type: multipart/alternative; boundary=001a11c3715c1e824104fc0e4b87 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17774 Cc: 17774@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a11c3715c1e824104fc0e4b87 Content-Type: text/plain; charset=UTF-8 FYI: the program runs fine, and even from the command line (the extra ] at the end must satisify the ksh syntax checking). Note: the 8.15 one is "suppossed" to fail, because I packaged that on AIX 6.1 - and then it does not work on AIX 5.3. root@x093:[/data/prj/gnu/coreutils]find . -name ? -ls 85925819 4 drwxrwxr-x 7 michael 1954 4096 Dec 16 2013 . 85988590 126 -rwxr-xr-x 1 root system 128624 Jun 13 13:52 ./coreutils-8.20/src/[ 85986625 130 -rwxrwxr-- 1 michael 1954 132118 Nov 3 2012 ./coreutils-8.17/src/[ 85932793 111 -rwxrwxr-- 1 michael 1954 113168 Nov 3 2012 ./coreutils-8.15/src/[ 143394625 4 drwxr-xr-x 2 root system 4096 Jun 13 14:08 ./coreutils-8.15/build/aix/x 120261651 127 -rwxr-xr-x 1 root system 129823 Jun 13 13:15 ./coreutils-8.22/src/[ root@x093:[/data/prj/gnu/coreutils]./coreutils-8.15/src/[ -d / ] Segmentation fault(coredump) root@x093:[/data/prj/gnu/coreutils]./coreutils-8.17/src/[ -d / ] root@x093:[/data/prj/gnu/coreutils]echo $? 0 root@x093:[/data/prj/gnu/coreutils]./coreutils-8.20/src/[ -d / ] root@x093:[/data/prj/gnu/coreutils]echo $? 0 On an AIX 6.1 system they all work. root@x094:[/data/prj/gnu/coreutils]find . -name ? . ./coreutils-8.20/src/[ ./coreutils-8.17/src/[ ./coreutils-8.15/src/[ ./coreutils-8.15/build/aix/x ./coreutils-8.22/src/[ root@x094:[/data/prj/gnu/coreutils]./coreutils-8.22/src/[ -d / ] root@x094:[/data/prj/gnu/coreutils]./coreutils-8.22/src/[ -d / ]; echo $? 0 root@x094:[/data/prj/gnu/coreutils]./coreutils-8.20/src/[ -d / ]; echo $? 0 root@x094:[/data/prj/gnu/coreutils]./coreutils-8.17/src/[ -d / ]; echo $? 0 root@x094:[/data/prj/gnu/coreutils]./coreutils-8.15/src/[ -d / ]; echo $? 0 So, I am thinking, when I did 8.15 way back when, I must have customized it to not include "lbracket" in the package - as, obviously, it was built. p.s. - I did not try your t.c program, but I expect it to work fine. On Sat, Jun 14, 2014 at 6:08 PM, Michael Felt wrote: > I believe IBMis usually quite commited to being inline with published and > accepted standards. However, this is a standard with 2008 in it's name, and > AIX 5.3 is from 2004, and the TL/SP level I am compiling on, for backwards > compatibility is dated 2007 - so hard to complain that it is not up to a > 2008 standard - although I expect the program you sent will compile and > execute. > > It is the installp installer that has issues because it uses the [] > characters for special purposes. > > Maybe I can find a way/modification to the mkinstallp program so that > installp will accept the input. > > And yes, deleting/not including it is probably the simplest solution. > > > On Fri, Jun 13, 2014 at 5:09 PM, Paul Eggert wrote: > >> Michael Felt wrote: >> >>> But to have a name like that, I must be too old fashioned - >>> where is the win? >>> >> >> It's so that execlp ("FOO") acts like the shell command FOO, or, more >> precisely, so that the attached C program works like '[ -d / ]' at the >> shell level. POSIX requires that all standard utilities (except for a very >> short list) must work the same way from a C program as from the shell. See >> the last sentence of: >> >> http://pubs.opengroup.org/onlinepubs/9699919799/ >> utilities/V3_chap01.html#tag_17_06 >> >> '[' is not on the list of exceptions, so coreutils arranges for it to be >> an executable, as POSIX requires. >> >> >> AIX does not >>> permit files in an installp package are refused when they include certain >>> special characters >>> >> >> It may be simpler to just omit '[' from your installp package (I assume >> that's some downstream thing). I doubt whether anybody but POSIX nerds >> will care. AIX itself doesn't seem to be POSIX-conforming here, as the >> attached C program fails on AIX. (If *you* are a POSIX nerd please feel >> free to file a bug report with IBM....) >> > > --001a11c3715c1e824104fc0e4b87 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
FYI: the program runs fine, and even f= rom the command line (the extra ] at the end must satisify the ksh syntax c= hecking).

Note: the 8.15 one is "suppossed" to fail,= because I packaged that on AIX 6.1 - and then it does not work on AIX 5.3.=

root@x093:[/data/prj/gnu/coreutils]find . -name ? -ls
85925819=C2=A0= =C2=A0=C2=A0 4 drwxrwxr-x=C2=A0 7 michael=C2=A0=C2=A0 1954=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 4096 Dec 16=C2=A0 2013 .
85988590=C2= =A0 126 -rwxr-xr-x=C2=A0 1 root=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 system=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 128624 Jun 13 13:52 ./coreutils-8.20/src/[
85986625=C2=A0 130 -rwxrwxr--=C2=A0 1 michael=C2=A0=C2=A0 1954=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 132118 Nov=C2=A0 3=C2=A0 2012 ./coreutils-8.17/src= /[
85932793=C2=A0 111 -rwxrwxr--=C2=A0 1 michael=C2=A0=C2=A0 1954=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 113168 Nov=C2=A0 3=C2=A0 2012 ./coreutils-8.= 15/src/[
143394625=C2=A0=C2=A0=C2=A0 4 drwxr-xr-x=C2=A0 2 root=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0 system=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 4096= Jun 13 14:08 ./coreutils-8.15/build/aix/x
120261651=C2=A0 127 -rwxr-xr-x=C2=A0 1 root=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 s= ystem=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 129823 Jun 13 13:15 ./coreutils-8.22/sr= c/[
root@x093:[/data/prj/gnu/coreutils]./coreutils-8.15/src/[ -d / ]
= Segmentation fault(coredump)
root@x093:[/data/prj/gnu/coreutils]./coreut= ils-8.17/src/[ -d / ]
root@x093:[/data/prj/gnu/coreutils]echo $?
0
root@x093:[/data/prj/gnu= /coreutils]./coreutils-8.20/src/[ -d / ]
root@x093:[/data/prj/gnu/coreut= ils]echo $?=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0
0
On an AIX 6.1 system they all work.

root@x094:[/data/prj/gnu/coreutils]find . -name ?
.
./coreutils-8= .20/src/[
./coreutils-8.17/src/[
./coreutils-8.15/src/[
./coreutil= s-8.15/build/aix/x
./coreutils-8.22/src/[
root@x094:[/data/prj/gnu/co= reutils]./coreutils-8.22/src/[ -d / ]
root@x094:[/data/prj/gnu/coreutils]./coreutils-8.22/src/[ -d / ]; echo $?0
root@x094:[/data/prj/gnu/coreutils]./coreutils-8.20/src/[ -d / ]; ec= ho $?
0
root@x094:[/data/prj/gnu/coreutils]./coreutils-8.17/src/[ -d = / ]; echo $?
0
root@x094:[/data/prj/gnu/coreutils]./coreutils-8.15/src/[ -d / ]; echo= $?
0

So, I am thinking, when I did 8.15 way back when, I m= ust have customized it to not include "lbracket" in the package -= as, obviously, it was built.

p.s. - I did not try your t.c program, but I expect it to work fi= ne.


= On Sat, Jun 14, 2014 at 6:08 PM, Michael Felt <mamfelt@gmail.com> wrote:
I believe IB= Mis usually quite commited to being inline with published and accepted stan= dards. However, this is a standard with 2008 in it's name, and AIX 5.3 = is from 2004, and the TL/SP level I am compiling on, for backwards compatib= ility is dated 2007 - so hard to complain that it is not up to a 2008 stand= ard - although I expect the program you sent will compile and execute.

It is the installp installer that has issues because it uses the = [] characters for special purposes.

Maybe I can find a way/mod= ification to the mkinstallp program so that installp will accept the input.=

And yes, deleting/not including it is probably the simplest solut= ion.


On Fri, Jun 13, 2014 at 5:09 PM, Paul Eggert <eggert@cs.= ucla.edu> wrote:
Michael Fe= lt wrote:
But to have a name like that, I must be too old fashioned -
where is the win?

It's so that execlp ("FOO") acts like the shell command FOO, = or, more precisely, so that the attached C program works like '[ -d / ]= ' at the shell level. =C2=A0POSIX requires that all standard utilities = (except for a very short list) must work the same way from a C program as f= rom the shell. =C2=A0See the last sentence of:

http://pubs.opengroup.org/onli= nepubs/9699919799/utilities/V3_chap01.html#tag_17_06

'[' is not on the list of exceptions, so coreutils arranges for it = to be an executable, as POSIX requires.


AIX does not
permit files in an installp package are refused when they include certain special characters

It may be simpler to just omit '[' from your installp package (I as= sume that's some downstream thing). =C2=A0I doubt whether anybody but P= OSIX nerds will care. =C2=A0AIX itself doesn't seem to be POSIX-conform= ing here, as the attached C program fails on AIX. =C2=A0(If *you* are a POS= IX nerd please feel free to file a bug report with IBM....)


--001a11c3715c1e824104fc0e4b87-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 17 17:26:44 2014 Received: (at 17774) by debbugs.gnu.org; 17 Jun 2014 21:26:44 +0000 Received: from localhost ([127.0.0.1]:50965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wx0tv-0001cn-Ni for submit@debbugs.gnu.org; Tue, 17 Jun 2014 17:26:44 -0400 Received: from mx1.redhat.com ([209.132.183.28]:18843) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wx0ts-0001cZ-I1 for 17774@debbugs.gnu.org; Tue, 17 Jun 2014 17:26:42 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5HLGEnr017666 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 17 Jun 2014 17:16:14 -0400 Received: from [10.3.113.140] (ovpn-113-140.phx2.redhat.com [10.3.113.140]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5HLGDKx014481; Tue, 17 Jun 2014 17:16:13 -0400 Message-ID: <53A0B01D.6070906@redhat.com> Date: Tue, 17 Jun 2014 15:16:13 -0600 From: Eric Blake Organization: Red Hat, Inc. User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: Michael Felt , Paul Eggert Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp References: <539B1426.8040607@cs.ucla.edu> In-Reply-To: X-Enigmail-Version: 1.6 OpenPGP: url=http://people.redhat.com/eblake/eblake.gpg Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="iK4Bn8HhiRF2tmaDqqJEV83Vauln1j9b2" X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 17774 Cc: 17774@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --iK4Bn8HhiRF2tmaDqqJEV83Vauln1j9b2 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 06/17/2014 02:50 PM, Michael Felt wrote: > FYI: the program runs fine, and even from the command line (the extra ]= at > the end must satisify the ksh syntax checking). Rather, the 'test' binary and the 'lbracket' binary differ in one crucial aspect: 'lbracket' requires its last argument in argv[] to be "]". It is not ksh, but lbracket itself that requires the matching ], and it is this fact that allows us to obey POSIX while still allowing '[ --help' to produce help text, even though 'test --help' cannot do so (that is, '[' has an escape hatch that 'test' does not). --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --iK4Bn8HhiRF2tmaDqqJEV83Vauln1j9b2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJToLAdAAoJEKeha0olJ0NqO/AH/iN4U496qsclnk9SZoixzjPR euQs0m/gb9XBHubmkLEXWkXg8nWep3o+vu4ISy5VDgkl/r7GSZsNWKONQbqdrR+i eykNHRWStYHUy3+GjnMusk5w48bqdEgboJ7U1ayX/GtvxI7oI9jS+p17/t0/BUdm hnGK711K0yXa+MuBJkHO31IKbjJEkwk4kQLnRf7eemFwu1lh17j78macUFriyEYQ MF4T7bOWGochBLG7o2vnY9Av3f73Jj1sgkmHyS77vziLYeiEsuS4t0xi72NL4OAq eCW6NSr8Y1iXlelPuHvn0L3VQxwYl50whtxu8GI/SkJPnnjmOklFY7GAOjB+XJU= =sG93 -----END PGP SIGNATURE----- --iK4Bn8HhiRF2tmaDqqJEV83Vauln1j9b2-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 18 02:23:59 2014 Received: (at 17774) by debbugs.gnu.org; 18 Jun 2014 06:24:00 +0000 Received: from localhost ([127.0.0.1]:51092 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wx9Hr-0006Ln-2b for submit@debbugs.gnu.org; Wed, 18 Jun 2014 02:23:59 -0400 Received: from mail-la0-f50.google.com ([209.85.215.50]:42988) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wx9Ho-0006LS-5S for 17774@debbugs.gnu.org; Wed, 18 Jun 2014 02:23:57 -0400 Received: by mail-la0-f50.google.com with SMTP id pv20so215699lab.9 for <17774@debbugs.gnu.org>; Tue, 17 Jun 2014 23:23:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=++tdknMvYrZET5uvvdANhQQGmEM058ndg02uhvQFapc=; b=Af1xlrW7zFx/6BaIt3QetcZYJhHV5lNI+izvqIKI7WxCtKyNzV+mqW0Nx0qxPHz1JC N5dDEyD3XPwYnMh040NDKD4suUMDJSqxHLdLsZX4DVAq+I7yK41n15pAAi67KX2GCUL9 CheNFCwu4Zy2BjUKd4R+mRm61YzQXraUsZaRF7EKvRUNWp+YuLACaaKtQvmwSzMG8s4w 0Ijqa+ExqtNVdc9nM9uolmjr+z5YCBjDwLB8s3VOuaQjRhSl7Be1K6dk81X9eWGQO+aG opjsq3Q9ZTFmuhd83JeoLGkAWJsFmSRzJLm0qqtE2X4T7jYo17QfQnQgSm4M8deOM4QI GzOA== MIME-Version: 1.0 X-Received: by 10.152.19.229 with SMTP id i5mr439655lae.60.1403072630009; Tue, 17 Jun 2014 23:23:50 -0700 (PDT) Received: by 10.112.138.194 with HTTP; Tue, 17 Jun 2014 23:23:49 -0700 (PDT) In-Reply-To: <53A0B01D.6070906@redhat.com> References: <539B1426.8040607@cs.ucla.edu> <53A0B01D.6070906@redhat.com> Date: Wed, 18 Jun 2014 08:23:49 +0200 Message-ID: Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp From: Michael Felt To: Eric Blake Content-Type: multipart/alternative; boundary=089e01493e34b4b47304fc164d44 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17774 Cc: 17774@debbugs.gnu.org, Paul Eggert X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e01493e34b4b47304fc164d44 Content-Type: text/plain; charset=UTF-8 Well, you guys are the experts. I was trying to be "smart" - thinking that lbracket 'required' the closing right bracket to keep the shell syntax checkers happy. Maybe I am expecting too much from my shells need to check syntax. FYI - It seems to be working as expected, rather designed - so I shall make some specialized 'buildaix' components to get around the filenameing problem. Will keep you posted. On Tue, Jun 17, 2014 at 11:16 PM, Eric Blake wrote: > On 06/17/2014 02:50 PM, Michael Felt wrote: > > FYI: the program runs fine, and even from the command line (the extra ] > at > > the end must satisify the ksh syntax checking). > > Rather, the 'test' binary and the 'lbracket' binary differ in one > crucial aspect: 'lbracket' requires its last argument in argv[] to be > "]". It is not ksh, but lbracket itself that requires the matching ], > and it is this fact that allows us to obey POSIX while still allowing '[ > --help' to produce help text, even though 'test --help' cannot do so > (that is, '[' has an escape hatch that 'test' does not). > > -- > Eric Blake eblake redhat com +1-919-301-3266 > Libvirt virtualization library http://libvirt.org > > --089e01493e34b4b47304fc164d44 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Well, you guys are the experts. I was trying to = be "smart" - thinking that lbracket 'required' the closin= g right bracket to keep the shell syntax checkers happy. Maybe I am expecti= ng too much from my shells need to check syntax.

FYI - It seems to be working as expected, rather designed - so I = shall make some specialized 'buildaix' components to get around the= filenameing problem.

Will keep you posted.


On Tue, Jun 17, 2014 at 11:16 PM, Eric B= lake <eblake@redhat.com> wrote:
On 06/17/2014 02:50 PM, Michael Felt wrote:
> FYI: the program runs fine, and even from the command line (the extra = ] at
> the end must satisify the ksh syntax checking).

Rather, the 'test' binary and the 'lbracket' binary d= iffer in one
crucial aspect: 'lbracket' requires its last argument in argv[] to = be
"]". =C2=A0It is not ksh, but lbracket itself that requires the m= atching ],
and it is this fact that allows us to obey POSIX while still allowing '= [
--help' to produce help text, even though 'test --help' cannot = do so
(that is, '[' has an escape hatch that 'test' does not).
--
Eric Blake =C2=A0 eblake redhat com =C2=A0 =C2=A0+1-919-301-3266
Libvirt virtualization library http://libvirt.org


--089e01493e34b4b47304fc164d44-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 18 14:30:17 2014 Received: (at 17774) by debbugs.gnu.org; 18 Jun 2014 18:30:17 +0000 Received: from localhost ([127.0.0.1]:52080 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxKci-0002Dj-AR for submit@debbugs.gnu.org; Wed, 18 Jun 2014 14:30:16 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:51388) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WxKcc-0002Ch-Ds for 17774@debbugs.gnu.org; Wed, 18 Jun 2014 14:30:12 -0400 Received: by mail-lb0-f180.google.com with SMTP id w7so774150lbi.39 for <17774@debbugs.gnu.org>; Wed, 18 Jun 2014 11:30:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=aPDdCuwtZkK/jybSFC9EXu+vEImGJTWM+YK3yLfEYfo=; b=qO25WRlKseij4w2zxT/vfrCgMLbqTz4srr+KwLrL7gnOxEFz7YIx351XVaA5I7aYty pJRsej6HXtyka8C9jyvnDxht9Ayfjot4O6E5GzZGYg0bsHf3LbyidGWmcAi/2xO5c9hp pyLjEgJ7xlsAqGSdTWApQgKIJ+Odu246xpv1ak57E/U185dUx3kqc2urgoV/Jj4LYkU8 e7IyfBAl/NAGluazxf8/uNhep+t72BRpxTy+aWgQ+Sfg9tfaS0wLDjsG100L4NxTDipQ 32+nH/Wy5eaVVvOaQBbAUVcufuCHLpWtW9WUDbCSrUVpsEFwa906/NH/l01VyzZsTSCF JZ5g== MIME-Version: 1.0 X-Received: by 10.112.138.134 with SMTP id qq6mr2222546lbb.70.1403116204209; Wed, 18 Jun 2014 11:30:04 -0700 (PDT) Received: by 10.112.138.194 with HTTP; Wed, 18 Jun 2014 11:30:04 -0700 (PDT) In-Reply-To: References: <539B1426.8040607@cs.ucla.edu> <53A0B01D.6070906@redhat.com> Date: Wed, 18 Jun 2014 20:30:04 +0200 Message-ID: Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp From: Michael Felt To: Eric Blake Content-Type: multipart/alternative; boundary=089e01183666ee3bfd04fc207290 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 17774 Cc: 17774@debbugs.gnu.org, Paul Eggert X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e01183666ee3bfd04fc207290 Content-Type: text/plain; charset=UTF-8 revisted my 8.15 package in detail. Seems that two years ago I had already done something special for coreutils - so my apology - not a bug, just something in the way. I will find a way to make it transparent for installp. My question: once done, would you be interested in what I have done to include either in an AIX INSTALL or README? On Wed, Jun 18, 2014 at 8:23 AM, Michael Felt wrote: > Well, you guys are the experts. I was trying to be "smart" - thinking that > lbracket 'required' the closing right bracket to keep the shell syntax > checkers happy. Maybe I am expecting too much from my shells need to check > syntax. > > FYI - It seems to be working as expected, rather designed - so I shall > make some specialized 'buildaix' components to get around the filenameing > problem. > > Will keep you posted. > > > On Tue, Jun 17, 2014 at 11:16 PM, Eric Blake wrote: > >> On 06/17/2014 02:50 PM, Michael Felt wrote: >> > FYI: the program runs fine, and even from the command line (the extra ] >> at >> > the end must satisify the ksh syntax checking). >> >> Rather, the 'test' binary and the 'lbracket' binary differ in one >> crucial aspect: 'lbracket' requires its last argument in argv[] to be >> "]". It is not ksh, but lbracket itself that requires the matching ], >> and it is this fact that allows us to obey POSIX while still allowing '[ >> --help' to produce help text, even though 'test --help' cannot do so >> (that is, '[' has an escape hatch that 'test' does not). >> >> -- >> Eric Blake eblake redhat com +1-919-301-3266 >> Libvirt virtualization library http://libvirt.org >> >> > --089e01183666ee3bfd04fc207290 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
revisted my 8.15 package in detail. Seems that two ye= ars ago I had already done something special for coreutils - so my apology = - not a bug, just something in the way. I will find a way to make it transp= arent for installp.

My question: once done, would you be interested in what I have do= ne to include either in an AIX INSTALL or README?


On Wed, Jun 18, 2014 at 8:23 = AM, Michael Felt <mamfelt@gmail.com> wrote:
Well, you guys ar= e the experts. I was trying to be "smart" - thinking that lbracke= t 'required' the closing right bracket to keep the shell syntax che= ckers happy. Maybe I am expecting too much from my shells need to check syn= tax.

FYI - It seems to be working as expected, rather designed - so I = shall make some specialized 'buildaix' components to get around the= filenameing problem.

Will keep you posted.


On Tue, Jun 17, 2014 at 11:16 PM, Eric B= lake <eblake@redhat.com> wrote:
On 06/17/2014 02:50 PM, Michael Felt wrote:
> FYI: the program runs fine, and even from the command line (the extra = ] at
> the end must satisify the ksh syntax checking).

Rather, the 'test' binary and the 'lbracket' binary d= iffer in one
crucial aspect: 'lbracket' requires its last argument in argv[] to = be
"]". =C2=A0It is not ksh, but lbracket itself that requires the m= atching ],
and it is this fact that allows us to obey POSIX while still allowing '= [
--help' to produce help text, even though 'test --help' cannot = do so
(that is, '[' has an escape hatch that 'test' does not).
--
Eric Blake =C2=A0 eblake redhat com =C2=A0 =C2=A0+1-919-301-3266
Libvirt virtualization library http://libvirt.org



--089e01183666ee3bfd04fc207290-- From debbugs-submit-bounces@debbugs.gnu.org Fri Oct 19 23:35:46 2018 Received: (at 17774) by debbugs.gnu.org; 20 Oct 2018 03:35:46 +0000 Received: from localhost ([127.0.0.1]:60125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDi3G-0006GL-Fq for submit@debbugs.gnu.org; Fri, 19 Oct 2018 23:35:46 -0400 Received: from mail-io1-f46.google.com ([209.85.166.46]:43574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gDi3D-0006G2-V2; Fri, 19 Oct 2018 23:35:44 -0400 Received: by mail-io1-f46.google.com with SMTP id y10-v6so24133272ioa.10; Fri, 19 Oct 2018 20:35:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=IWcSh4upzu9ON09mWB4aQckvAJRQMbv6dIjW9DVnDys=; b=pMciGHi3facRQFm8YGWojnPwzwd15tPBpGIv6S7qEypRcOer5dP8XcNPEITtUcJSe2 4ZtLwLC+j/mtbkt0HwKw055dLTQolyx/dvQAswXN8m74COvVjg3eO0j6B/7/UEcT+Ekp xOCI0h4SjsqGjQVq3Ru9dbNCB5r2bDDLE/Z2glAXBljxzAoCfRS+tulN587NA7mxe7og zyw5FxVzb+yaycGUjcHRHUrOi73NwZq+V12YvZBwCEUESdAdUU+MaG3xLZUMTbweB5xp zq7fOJMLhNZl3J1MlyUz6NxtP7EP72LpH+PwIRh0ph6vpr2Q6WZVfwiWGd3KkU793ZS0 VLsA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=IWcSh4upzu9ON09mWB4aQckvAJRQMbv6dIjW9DVnDys=; b=KfSHkQTPWrqsmqV+IIKP9C0OfSiacNjIJ5+rsvAHR7n2/ke3wQZ8WQ31yawLb6r9Rc QL/pS8sKVk/Y8siQvQJiVjDvakG3jY1F+1az61JgrJUKzHNl47gsogj5UuXWH9F83OiY 14DCYt9pryDRaGuxaWhBxnzzyvh0qMYKpb+sH2vXNXYLAi83v1t9u++NEdkN1ZdBF4cX 4OFNpsfMuRs3PgAWGGN9l0fDB+i/Vnq2VG6u3GLdLPRe/OU6QEFM+8+O6/cLYF4aK95C WgV65xhmAT0ec1VxqEwh1/2wU4XP/YIVUqcJnGRwWUGvf9lAmaoftAm6f4gQsV3E/L/1 nR7A== X-Gm-Message-State: AGRZ1gL4FrV7UKezqmyI+85r9MMvYG1ubjAJEf49srHAfo/l6OeGFJip HJGdjXSI6hwSZXH6Mj0KGkiye7QpLFA= X-Google-Smtp-Source: AJdET5fBlgJUhpgkvLF+q/EGqyhz5qFsHbGt63oRuSIBlVcVLJcI/X85KDpl01XhK0fepjaHJXEvKQ== X-Received: by 2002:a6b:6b11:: with SMTP id g17-v6mr4492312ioc.262.1540006537578; Fri, 19 Oct 2018 20:35:37 -0700 (PDT) Received: from tomato.housegordon.com (moose.housegordon.com. [184.68.105.38]) by smtp.googlemail.com with ESMTPSA id c26-v6sm2842873itd.18.2018.10.19.20.35.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Oct 2018 20:35:36 -0700 (PDT) Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp To: 17774@debbugs.gnu.org References: <539B1426.8040607@cs.ucla.edu> <53A0B01D.6070906@redhat.com> From: Assaf Gordon Message-ID: <8a2432ee-ce5b-7ea4-b04c-f97e4f948609@gmail.com> Date: Fri, 19 Oct 2018 21:35:30 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 17774 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 17774 notabug close 17774 stop (triaging old bugs) On 18/06/14 12:30 PM, Michael Felt wrote: > revisted my 8.15 package in detail. Seems that two years ago I had already > done something special for coreutils - so my apology - not a bug, just > something in the way. I will find a way to make it transparent for installp. > Confirmed not to be a bug - so closing. -assaf From unknown Sat Aug 16 14:27:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 17 Nov 2018 12:24:07 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 31 15:40:40 2021 Received: (at control) by debbugs.gnu.org; 31 Dec 2021 20:40:40 +0000 Received: from localhost ([127.0.0.1]:57512 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3Ohc-0005s7-Ao for submit@debbugs.gnu.org; Fri, 31 Dec 2021 15:40:40 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:41714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3Oha-0005rq-97 for control@debbugs.gnu.org; Fri, 31 Dec 2021 15:40:39 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 2019116014E for ; Fri, 31 Dec 2021 12:40:32 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id tKg3bIebSfQq for ; Fri, 31 Dec 2021 12:40:31 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 84F15160151 for ; Fri, 31 Dec 2021 12:40:31 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id CPlM710WhFEa for ; Fri, 31 Dec 2021 12:40:31 -0800 (PST) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 602D216014E for ; Fri, 31 Dec 2021 12:40:31 -0800 (PST) Message-ID: <09cbd153-8e72-e040-2a9f-085a59eee393@cs.ucla.edu> Date: Fri, 31 Dec 2021 12:40:31 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Content-Language: en-US To: control@debbugs.gnu.org From: Paul Eggert Subject: unarchive 17774 Organization: UCLA Computer Science Department Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) unarchive 17774 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 31 15:54:02 2021 Received: (at 17774) by debbugs.gnu.org; 31 Dec 2021 20:54:02 +0000 Received: from localhost ([127.0.0.1]:57526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3OuY-0008VR-1R for submit@debbugs.gnu.org; Fri, 31 Dec 2021 15:54:02 -0500 Received: from zimbra.cs.ucla.edu ([131.179.128.68]:43246) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n3OuW-0008V6-FI for 17774@debbugs.gnu.org; Fri, 31 Dec 2021 15:54:01 -0500 Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 28E2A160151; Fri, 31 Dec 2021 12:53:54 -0800 (PST) Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id VpEBUopwGGI3; Fri, 31 Dec 2021 12:53:53 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 66E6C16014E; Fri, 31 Dec 2021 12:53:53 -0800 (PST) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id UpCU1pSO3qzI; Fri, 31 Dec 2021 12:53:53 -0800 (PST) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id 3BCB7160151; Fri, 31 Dec 2021 12:53:53 -0800 (PST) Message-ID: <81fb40ca-629a-d30b-5d77-69e295f801d1@cs.ucla.edu> Date: Fri, 31 Dec 2021 12:53:52 -0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.3.1 Content-Language: en-US From: Paul Eggert To: Michael Felt References: <539B1426.8040607@cs.ucla.edu> <539C8633.4060106@cs.ucla.edu> Organization: UCLA Computer Science Department Subject: Re: bug#17774: AIX and lbracket ([) program - will not install on AIX using installp In-Reply-To: <539C8633.4060106@cs.ucla.edu> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 17774 Cc: 17774@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.4 (---) On 6/14/14 10:28, Paul Eggert wrote: > That part of POSIX has been standardized since POSIX.2 (IEEE Std > 1003.2-1992), and the wording hasn't changed since then if I recall > correctly, so AIX has had this conformance bug for decades and nobody > has cared.... I just ran into a related problem when building bleeding-edge coreutils on AIX 7.1, and so I thought I'd document it here. On AIX 7.1, 'make check' fails with: FAIL: tests/misc/help-version.sh because 'make' never built a '[' program. And AIX 'make' doesn't build a '[' program because it mishandles '[' in 'make' macros, which means that with Makefiles like this: EXEEXT = bin_PROGRAMS = ... src/[$(EXEEXT) ... PROGRAMS = $(bin_PROGRAMS) ... all-am: ... $(PROGRAMS) ... 'make all-am' does not "see" the 'src/[' and so doesn't build it. Because of this bug, 'make install' obviously will not work correctly, as there's no '[' command to install. A simple workaround is to use GNU Make, which doesn't have this bug. This bug in AIX 'make' is so obscure that I'm not going to bother documenting it in the Autoconf manual under its portability guidelines for 'make'. Anyway, nowadays "just use GNU Make" is a good recipe for just about every package other than GNU Make itself. From unknown Sat Aug 16 14:27:02 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 29 Jan 2022 12:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator