From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 25 18:55:39 2014 Received: (at submit) by debbugs.gnu.org; 25 Nov 2014 23:55:39 +0000 Received: from localhost ([127.0.0.1]:45358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtPxJ-00058w-CB for submit@debbugs.gnu.org; Tue, 25 Nov 2014 18:55:39 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44985) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtP1N-0003WN-AN for submit@debbugs.gnu.org; Tue, 25 Nov 2014 17:55:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtP1D-00026l-Db for submit@debbugs.gnu.org; Tue, 25 Nov 2014 17:55:44 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.3 required=5.0 tests=BAYES_50,HTML_MESSAGE, RECEIVED_FROM_WINDOWS_HOST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtP1D-00026c-3Z for submit@debbugs.gnu.org; Tue, 25 Nov 2014 17:55:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46663) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtP14-0003e5-FA for bug-coreutils@gnu.org; Tue, 25 Nov 2014 17:55:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XtP0w-00022D-9X for bug-coreutils@gnu.org; Tue, 25 Nov 2014 17:55:26 -0500 Received: from mail-bn1bn0103.outbound.protection.outlook.com ([157.56.110.103]:47568 helo=na01-bn1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XtP0w-000227-1z for bug-coreutils@gnu.org; Tue, 25 Nov 2014 17:55:18 -0500 Received: from BY1PR0801MB1016.namprd08.prod.outlook.com (25.160.203.24) by BY1PR0801MB1013.namprd08.prod.outlook.com (25.160.203.21) with Microsoft SMTP Server (TLS) id 15.1.26.15; Tue, 25 Nov 2014 21:21:13 +0000 Received: from BN1PR08CA0023.namprd08.prod.outlook.com (10.242.217.151) by BY1PR0801MB1016.namprd08.prod.outlook.com (25.160.203.24) with Microsoft SMTP Server (TLS) id 15.1.26.15; Tue, 25 Nov 2014 21:21:09 +0000 Received: from BY2FFO11FD012.protection.gbl (2a01:111:f400:7c0c::163) by BN1PR08CA0023.outlook.office365.com (2a01:111:e400:16::23) with Microsoft SMTP Server (TLS) id 15.1.26.15 via Frontend Transport; Tue, 25 Nov 2014 21:21:08 +0000 Received: from mail1.gsk.com (70.37.183.30) by BY2FFO11FD012.mail.protection.outlook.com (10.1.14.130) with Microsoft SMTP Server (TLS) id 15.1.6.13 via Frontend Transport; Tue, 25 Nov 2014 21:21:07 +0000 Received: from 019-SN1MPN1-007.019D.MGD.MSFT.NET ([169.254.7.128]) by 019-SN1MMR1-001.019D.MGD.MSFT.NET ([130.23.123.9]) with mapi id 14.03.0195.002; Tue, 25 Nov 2014 21:21:05 +0000 From: Ted Carr To: "bug-coreutils@gnu.org" Subject: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 Thread-Topic: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 Thread-Index: AdAI9OvuJFgIxleNSl6IAjiY2xEIAAAAJbUA Date: Tue, 25 Nov 2014 21:21:04 +0000 Message-ID: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.148.130.22] Content-Type: multipart/alternative; boundary="_000_7A29F1C59431FE4891661FE239C79D6CA7819A019SN1MPN1007019D_" MIME-Version: 1.0 X-OrganizationHeadersPreserved: 019-SN1MMR1-001.019D.MGD.MSFT.NET X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:70.37.183.30; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(438002)(199003)(479174003)(189002)(53754006)(71186001)(450100001)(62966003)(4396001)(97736003)(64706001)(77156002)(77096003)(20776003)(18717965001)(2656002)(55846006)(19625215002)(84676001)(87936001)(19300405004)(33656002)(512954002)(84326002)(6806004)(92726001)(16236675004)(92566001)(110136001)(86362001)(54356999)(15975445006)(50986999)(44976005)(68736004)(19580395003)(31966008)(107886001)(2351001)(21056001)(229853001)(107046002)(104016003)(106466001)(120916001)(22746005)(99396003)(22756005)(15202345003)(46102003)(95666004); DIR:OUT; SFP:1102; SCL:1; SRVR:BY1PR0801MB1016; H:mail1.gsk.com; FPR:; SPF:Pass; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-CrossPremisesHeadersPromoted: BY2FFO11FD012.protection.gbl X-CrossPremisesHeadersFiltered: BY2FFO11FD012.protection.gbl X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0801MB1016; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0801MB1016; X-Forefront-PRVS: 040655413E Received-SPF: Pass (protection.outlook.com: domain of gsk.com designates 70.37.183.30 as permitted sender) receiver=protection.outlook.com; client-ip=70.37.183.30; helo=mail1.gsk.com; Authentication-Results: spf=pass (sender IP is 70.37.183.30) smtp.mailfrom=edward.w.carr@gsk.com; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BY1PR0801MB1016; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BY1PR0801MB1013; X-OriginatorOrg: gsk.com X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 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.1 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 Nov 2014 18:55:34 -0500 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.1 (----) --_000_7A29F1C59431FE4891661FE239C79D6CA7819A019SN1MPN1007019D_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello All, Apologies for accidentally sending this to the "general questions list", me= ant to send it here. I have a need to compile Coreutils for Solaris 8... I am using Sun Studio = 11 (cc: Sun C 5.8 Patch 121015-07 2009/04/22) to try and compile the source= and I am getting the following error: bash-2.03$ make GEN man/dynamic-deps.mk GEN lib/c++defs.h GEN lib/warn-on-use.h GEN lib/arg-nonnull.h GEN lib/arpa/inet.h GEN lib/configmake.h GEN lib/ctype.h GEN lib/dirent.h GEN lib/fcntl.h GEN lib/fnmatch.h GEN lib/getopt.h GEN lib/iconv.h GEN lib/inttypes.h GEN lib/langinfo.h GEN lib/locale.h GEN lib/math.h GEN lib/netdb.h GEN lib/pthread.h GEN lib/unused-parameter.h GEN lib/selinux/selinux.h GEN lib/selinux/context.h GEN lib/signal.h GEN lib/stdalign.h GEN lib/stdbool.h GEN lib/stdint.h GEN lib/stdio.h GEN lib/stdlib.h GEN lib/string.h GEN lib/sys/ioctl.h GEN lib/sys/resource.h GEN lib/sys/select.h GEN lib/sys/socket.h GEN lib/sys/stat.h GEN lib/sys/time.h GEN lib/sys/types.h GEN lib/sys/uio.h GEN lib/sys/utsname.h GEN lib/sys/wait.h GEN lib/termios.h GEN lib/time.h GEN lib/unistd.h GEN lib/unistr.h GEN lib/unitypes.h GEN lib/uniwidth.h GEN lib/wchar.h GEN lib/wctype.h GEN src/coreutils.h bash: -c: line 1: syntax error near unexpected token `;' *** Error code 2 make: Fatal error: Command failed for target `src/coreutils.h' bash-2.03$ Any help would be much appreciated. Cheers, Ted --_000_7A29F1C59431FE4891661FE239C79D6CA7819A019SN1MPN1007019D_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

 

Hello All,

 

Apologies for accidentally sending this to the “= ;general questions list”, meant to send it here.

 

I have a need to compile Coreutils for Solaris 8̷= 0;  I am using Sun Studio 11 (cc: Sun C 5.8 Patch 121015-07 2009/04/22= ) to try and compile the source and I am getting the following error:<= /o:p>

 

bash-2.03$ make

  GEN      man/dynamic-d= eps.mk

  GEN      lib/c+= 3;defs.h

  GEN      lib/warn-on-u= se.h

  GEN      lib/arg-nonnu= ll.h

  GEN      lib/arpa/inet= .h

  GEN      lib/configmak= e.h

  GEN      lib/ctype.h

  GEN      lib/dirent.h<= o:p>

  GEN      lib/fcntl.h

  GEN      lib/fnmatch.h=

  GEN      lib/getopt.h<= o:p>

  GEN      lib/iconv.h

  GEN      lib/inttypes.= h

  GEN      lib/langinfo.= h

  GEN      lib/locale.h<= o:p>

  GEN      lib/math.h

  GEN      lib/netdb.h

  GEN      lib/pthread.h=

  GEN      lib/unused-pa= rameter.h

  GEN      lib/selinux/s= elinux.h

  GEN      lib/selinux/c= ontext.h

  GEN      lib/signal.h<= o:p>

  GEN      lib/stdalign.= h

  GEN      lib/stdbool.h=

  GEN      lib/stdint.h<= o:p>

  GEN      lib/stdio.h

  GEN      lib/stdlib.h<= o:p>

  GEN      lib/string.h<= o:p>

  GEN      lib/sys/ioctl= .h

  GEN      lib/sys/resou= rce.h

  GEN      lib/sys/selec= t.h

  GEN      lib/sys/socke= t.h

  GEN      lib/sys/stat.= h

  GEN      lib/sys/time.= h

  GEN      lib/sys/types= .h

  GEN      lib/sys/uio.h=

  GEN      lib/sys/utsna= me.h

  GEN      lib/sys/wait.= h

  GEN      lib/termios.h=

  GEN      lib/time.h

  GEN      lib/unistd.h<= o:p>

  GEN      lib/unistr.h<= o:p>

  GEN      lib/unitypes.= h

  GEN      lib/uniwidth.= h

  GEN      lib/wchar.h

  GEN      lib/wctype.h<= o:p>

  GEN      src/coreutils= .h

bash: -c: line 1: syntax error near unexpected token `= ;'

*** Error code 2

make: Fatal error: Command failed for target `src/core= utils.h'

bash-2.03$

 

Any help would be much appreciated.=

 

Cheers,

Ted

 

--_000_7A29F1C59431FE4891661FE239C79D6CA7819A019SN1MPN1007019D_-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 26 00:19:46 2014 Received: (at 19184) by debbugs.gnu.org; 26 Nov 2014 05:19:46 +0000 Received: from localhost ([127.0.0.1]:45531 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtV0z-0006c5-Ot for submit@debbugs.gnu.org; Wed, 26 Nov 2014 00:19:46 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:53667) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtV0w-0006bt-Gx for 19184@debbugs.gnu.org; Wed, 26 Nov 2014 00:19:43 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 4EBF3A6009D; Tue, 25 Nov 2014 21:19:41 -0800 (PST) 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 c4h7LFLJWtxW; Tue, 25 Nov 2014 21:19:37 -0800 (PST) Received: from [192.168.1.9] (pool-71-177-17-123.lsanca.dsl-w.verizon.net [71.177.17.123]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 2FAEEA60044; Tue, 25 Nov 2014 21:19:37 -0800 (PST) Message-ID: <547562E8.9000708@cs.ucla.edu> Date: Tue, 25 Nov 2014 21:19:36 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Ted Carr , 19184@debbugs.gnu.org Subject: Re: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> In-Reply-To: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> Content-Type: multipart/mixed; boundary="------------070004090404000203050207" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 19184 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: -2.3 (--) This is a multi-part message in MIME format. --------------070004090404000203050207 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Thanks, this appears to be due to an old Bash bug. Could you please try the attached patch? Assuming you don't have the autotools installed, please patch your top-level Makefile (which you've already built) instead of patching src/local.mk. I've installed this, since it seems pretty obviously needed regardless of whether it fixes your bug. --------------070004090404000203050207 Content-Type: text/x-diff; name="0001-build-port-new-rule-for-coreutils.h-to-old-Bash.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename*0="0001-build-port-new-rule-for-coreutils.h-to-old-Bash.patch" >From cea7b8645f482bf280dc5290950011db938cf206 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 25 Nov 2014 21:16:20 -0800 Subject: [PATCH] build: port new rule for coreutils.h to old Bash Reported by Ted Carr in: http://bugs.gnu.org/19184 * src/local.mk (src/coreutils.h): Don't assume single_binary_progs is nonempty. --- src/local.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/local.mk b/src/local.mk index 6e80d31..ae1ba0c 100644 --- a/src/local.mk +++ b/src/local.mk @@ -577,7 +577,8 @@ src/version.h: Makefile DISTCLEANFILES += src/coreutils.h src/coreutils.h: Makefile $(AM_V_GEN)rm -f $@ - $(AM_V_at)for prog in $(single_binary_progs); do \ + $(AM_V_at)for prog in x $(single_binary_progs); do \ + test $$prog = x && continue; \ prog=`basename $$prog`; \ main=`echo $$prog | tr '[' '_'`; \ echo "SINGLE_BINARY_PROGRAM(\"$$prog\", $$main)"; \ -- 1.9.3 --------------070004090404000203050207-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 26 09:19:20 2014 Received: (at 19184) by debbugs.gnu.org; 26 Nov 2014 14:19:20 +0000 Received: from localhost ([127.0.0.1]:45716 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtdRA-0005xr-FD for submit@debbugs.gnu.org; Wed, 26 Nov 2014 09:19:20 -0500 Received: from mail-bl2on0106.outbound.protection.outlook.com ([65.55.169.106]:18219 helo=na01-bl2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtdR7-0005xi-JV for 19184@debbugs.gnu.org; Wed, 26 Nov 2014 09:19:18 -0500 Received: from BN1PR08CA0016.namprd08.prod.outlook.com (10.242.217.144) by BN3PR0801MB1011.namprd08.prod.outlook.com (25.161.217.28) with Microsoft SMTP Server (TLS) id 15.1.26.15; Wed, 26 Nov 2014 14:19:15 +0000 Received: from BL2FFO11FD030.protection.gbl (2a01:111:f400:7c09::191) by BN1PR08CA0016.outlook.office365.com (2a01:111:e400:16::16) with Microsoft SMTP Server (TLS) id 15.1.26.15 via Frontend Transport; Wed, 26 Nov 2014 14:19:15 +0000 Received: from mail1.gsk.com (70.37.183.30) by BL2FFO11FD030.mail.protection.outlook.com (10.173.161.40) with Microsoft SMTP Server (TLS) id 15.1.6.13 via Frontend Transport; Wed, 26 Nov 2014 14:19:14 +0000 Received: from 019-SN1MPN1-007.019D.MGD.MSFT.NET ([169.254.7.128]) by 019-SN1MMR2-011.019D.MGD.MSFT.NET ([130.23.123.21]) with mapi id 14.03.0195.002; Wed, 26 Nov 2014 14:19:04 +0000 From: Ted Carr To: Paul Eggert , "19184@debbugs.gnu.org" <19184@debbugs.gnu.org> Subject: RE: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 Thread-Topic: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 Thread-Index: AdAI9OvuJFgIxleNSl6IAjiY2xEIAAAAJbUAABDDuAAAEtPSgA== Date: Wed, 26 Nov 2014 14:19:04 +0000 Message-ID: <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547562E8.9000708@cs.ucla.edu> In-Reply-To: <547562E8.9000708@cs.ucla.edu> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.66.24.90] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OrganizationHeadersPreserved: 019-SN1MMR2-011.019D.MGD.MSFT.NET X-EOPAttributedMessage: 0 X-Forefront-Antispam-Report: CIP:70.37.183.30; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(438002)(199003)(189002)(54356999)(77156002)(50466002)(68736004)(21056001)(2501002)(22746005)(106466001)(31966008)(33656002)(107886001)(104016003)(95666004)(99396003)(77096003)(62966003)(107046002)(558084003)(55846006)(120916001)(87936001)(2171001)(92726001)(92566001)(44976005)(84676001)(22756005)(6806004)(23676002)(46102003)(50986999)(47776003)(2656002)(4396001)(20776003)(76176999)(64706001)(97736003)(86362001); DIR:OUT; SFP:1102; SCL:1; SRVR:BN3PR0801MB1011; H:mail1.gsk.com; FPR:; SPF:Pass; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-CrossPremisesHeadersPromoted: BL2FFO11FD030.protection.gbl X-CrossPremisesHeadersFiltered: BL2FFO11FD030.protection.gbl X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:BN3PR0801MB1011; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BN3PR0801MB1011; X-Forefront-PRVS: 04073E895A Received-SPF: Pass (protection.outlook.com: domain of gsk.com designates 70.37.183.30 as permitted sender) receiver=protection.outlook.com; client-ip=70.37.183.30; helo=mail1.gsk.com; Authentication-Results: spf=pass (sender IP is 70.37.183.30) smtp.mailfrom=edward.w.carr@gsk.com; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:BN3PR0801MB1011; X-OriginatorOrg: gsk.com X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19184 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.0 (/) UGF1bCwNCg0KVGhhdCBkaWQgdGhlIHRyaWNrISAgSSByZWFsbHkgYXBwcmVjaWF0ZSB0aGUgaGVs cC4gIEV2ZXJ5dGhpbmcgc2VlbXMgdG8gY29tcGlsZSBmaW5lLCBidXQgSSBnZXQgc29tZSBlcnJv cnMgd2hlbiBydW5uaW5nICdtYWtlIGNoZWNrJy4gIFlvdSBoYXZlIGFueSB0aW1lIHRvIGhlbHAg d2l0aCB0aG9zZSBvciBzaG91bGQgSSBqdXN0IHNlbmQgaW4gYW5vdGhlciBlbWFpbD8NCg0KQ2hl ZXJzLA0KDQpUZWQgDQoNCg== From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 26 14:22:01 2014 Received: (at 19184-done) by debbugs.gnu.org; 26 Nov 2014 19:22:01 +0000 Received: from localhost ([127.0.0.1]:46580 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtiA4-00084P-PX for submit@debbugs.gnu.org; Wed, 26 Nov 2014 14:22:01 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:35503) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtiA2-00084H-Mw for 19184-done@debbugs.gnu.org; Wed, 26 Nov 2014 14:21:59 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id 4C05CA600D4; Wed, 26 Nov 2014 11:21:58 -0800 (PST) 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 8zTR1PsBQ+iY; Wed, 26 Nov 2014 11:21:56 -0800 (PST) Received: from penguin.cs.ucla.edu (Penguin.CS.UCLA.EDU [131.179.64.200]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 07720A60016; Wed, 26 Nov 2014 11:21:56 -0800 (PST) Message-ID: <54762853.5070806@cs.ucla.edu> Date: Wed, 26 Nov 2014 11:21:55 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Ted Carr , 19184-done@debbugs.gnu.org Subject: Re: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547562E8.9000708@cs.ucla.edu> <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> In-Reply-To: <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 19184-done 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: -2.3 (--) On 11/26/2014 06:19 AM, Ted Carr wrote: > I get some errors when running 'make check'. You have any time to help with those or should I just send in another email? Can't hurt to email them to bug-coreutils@gnu.org. Can't promise anything: Solaris 8 isn't supported any more by Oracle, so it's mostly off our radar. Anyway, I'm marking this bug as done. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 26 15:37:49 2014 Received: (at 19184) by debbugs.gnu.org; 26 Nov 2014 20:37:49 +0000 Received: from localhost ([127.0.0.1]:46631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtjLQ-0001cv-HL for submit@debbugs.gnu.org; Wed, 26 Nov 2014 15:37:49 -0500 Received: from mail6.vodafone.ie ([213.233.128.184]:59446) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtjLN-0001bs-Rs for 19184@debbugs.gnu.org; Wed, 26 Nov 2014 15:37:47 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjwFALo5dlRtTPSE/2dsb2JhbABbDoJ4UleCNVC6f4oShlUCgRAWAQEBAQF9hAIBAQEEI2YLDQQDAQIBCRYLAgIJAwIBAgE9CAcMBgIBAYhAAbw0hgKQPAEBAQcBAQEBAQEBG5AZEQE/GIJ4gVUFhk2OP4FVa4JUhlWGQY5nggIggRpARzCBD4E7AQEB Received: from unknown (HELO localhost.localdomain) ([109.76.244.132]) by mail3.vodafone.ie with ESMTP; 26 Nov 2014 20:37:16 +0000 Message-ID: <547639FC.3020201@draigBrady.com> Date: Wed, 26 Nov 2014 20:37:16 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: 19184@debbugs.gnu.org, eggert@cs.ucla.edu, edward.w.carr@gsk.com Subject: Re: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547562E8.9000708@cs.ucla.edu> <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> <54762853.5070806@cs.ucla.edu> In-Reply-To: <54762853.5070806@cs.ucla.edu> Content-Type: multipart/mixed; boundary="------------080906090609090508050802" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19184 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.0 (/) This is a multi-part message in MIME format. --------------080906090609090508050802 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 26/11/14 19:21, Paul Eggert wrote: > On 11/26/2014 06:19 AM, Ted Carr wrote: >> I get some errors when running 'make check'. You have any time to help with those or should I just send in another email? > Can't hurt to email them to bug-coreutils@gnu.org. Can't promise anything: Solaris 8 isn't supported any more by Oracle, so it's mostly off our radar. Anyway, I'm marking this bug as done. Ted emailed me privately by mistake. There 2 issues. The first was a weird one with the shell's printf which the attached patch will hopefully avoid. The other issue is incorrect prompts output by rm due to its use of %zu Ted could you give the output of: grep gl_cv_func_printf_sizes_c99 config.log Now coreutils doesn't make use of the fprintf-posix module to act on the above test. Jim attempted it for a day in 2007 but reverted due to "too many test failures". We could easily avoid the use of %zu I suppose in coreutils, as there are only a few uses really. thanks, Pádraig. --------------080906090609090508050802 Content-Type: text/x-patch; name="solaris-8-printf.patch" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="solaris-8-printf.patch" =46rom a78d85386bf4a55d7ccbd7c03c0075615b3f61d2 Mon Sep 17 00:00:00 2001 From: =3D?UTF-8?q?P=3DC3=3DA1draig=3D20Brady?=3D Date: Wed, 26 Nov 2014 20:15:15 +0000 Subject: [PATCH] tests: fix portability issue in dd/ascii test Solaris 8 was seen to issue this error: "printf: `&': illegal format character" * test/dd/ascii.sh: Use the coreutils printf in this test rather than the system one, to avoid portability issues. --- tests/dd/ascii.sh | 71 ++++++++++++++++++++++++++++---------------------= ------ 1 file changed, 36 insertions(+), 35 deletions(-) diff --git a/tests/dd/ascii.sh b/tests/dd/ascii.sh index 7dc39cc..98a57a1 100755 --- a/tests/dd/ascii.sh +++ b/tests/dd/ascii.sh @@ -21,45 +21,46 @@ print_ver_ dd =20 { # Two lines, EBCDIC " A A" and " A ", followed by all the bytes in or= der. - printf '\100\301\100\301\100\301\100\100' && - printf $(printf '\\%03o' $(seq 0 255)); + env printf '\100\301\100\301\100\301\100\100' && + env printf $(env printf '\\%03o' $(seq 0 255)); } >in || framework_failure_ =20 { # The converted lines, with trailing spaces removed. - printf ' A A\n A\n' && - printf '\000\001\002\003\n\234\011\206\177\n' && - printf '\227\215\216\013\n\014\015\016\017\n' && - printf '\020\021\022\023\n\235\205\010\207\n' && - printf '\030\031\222\217\n\034\035\036\037\n' && - printf '\200\201\202\203\n\204\012\027\033\n' && - printf '\210\211\212\213\n\214\005\006\007\n' && - printf '\220\221\026\223\n\224\225\226\004\n' && - printf '\230\231\232\233\n\024\025\236\032\n' && - printf '\040\240\241\242\n\243\244\245\246\n' && - printf '\247\250\325\056\n\074\050\053\174\n' && - printf '\046\251\252\253\n\254\255\256\257\n' && - printf '\260\261\041\044\n\052\051\073\176\n' && - printf '\055\057\262\263\n\264\265\266\267\n' && - printf '\270\271\313\054\n\045\137\076\077\n' && - printf '\272\273\274\275\n\276\277\300\301\n' && - printf '\302\140\072\043\n\100\047\075\042\n' && - printf '\303\141\142\143\n\144\145\146\147\n' && - printf '\150\151\304\305\n\306\307\310\311\n' && - printf '\312\152\153\154\n\155\156\157\160\n' && - printf '\161\162\136\314\n\315\316\317\320\n' && - printf '\321\345\163\164\n\165\166\167\170\n' && - printf '\171\172\322\323\n\324\133\326\327\n' && - printf '\330\331\332\333\n\334\335\336\337\n' && - printf '\340\341\342\343\n\344\135\346\347\n' && - printf '\173\101\102\103\n\104\105\106\107\n' && - printf '\110\111\350\351\n\352\353\354\355\n' && - printf '\175\112\113\114\n\115\116\117\120\n' && - printf '\121\122\356\357\n\360\361\362\363\n' && - printf '\134\237\123\124\n\125\126\127\130\n' && - printf '\131\132\364\365\n\366\367\370\371\n' && - printf '\060\061\062\063\n\064\065\066\067\n' && - printf '\070\071\372\373\n\374\375\376\377\n'; +env printf \ +' A A\n A\n'\ +'\000\001\002\003\n\234\011\206\177\n'\ +'\227\215\216\013\n\014\015\016\017\n'\ +'\020\021\022\023\n\235\205\010\207\n'\ +'\030\031\222\217\n\034\035\036\037\n'\ +'\200\201\202\203\n\204\012\027\033\n'\ +'\210\211\212\213\n\214\005\006\007\n'\ +'\220\221\026\223\n\224\225\226\004\n'\ +'\230\231\232\233\n\024\025\236\032\n'\ +'\040\240\241\242\n\243\244\245\246\n'\ +'\247\250\325\056\n\074\050\053\174\n'\ +'\046\251\252\253\n\254\255\256\257\n'\ +'\260\261\041\044\n\052\051\073\176\n'\ +'\055\057\262\263\n\264\265\266\267\n'\ +'\270\271\313\054\n\045\137\076\077\n'\ +'\272\273\274\275\n\276\277\300\301\n'\ +'\302\140\072\043\n\100\047\075\042\n'\ +'\303\141\142\143\n\144\145\146\147\n'\ +'\150\151\304\305\n\306\307\310\311\n'\ +'\312\152\153\154\n\155\156\157\160\n'\ +'\161\162\136\314\n\315\316\317\320\n'\ +'\321\345\163\164\n\165\166\167\170\n'\ +'\171\172\322\323\n\324\133\326\327\n'\ +'\330\331\332\333\n\334\335\336\337\n'\ +'\340\341\342\343\n\344\135\346\347\n'\ +'\173\101\102\103\n\104\105\106\107\n'\ +'\110\111\350\351\n\352\353\354\355\n'\ +'\175\112\113\114\n\115\116\117\120\n'\ +'\121\122\356\357\n\360\361\362\363\n'\ +'\134\237\123\124\n\125\126\127\130\n'\ +'\131\132\364\365\n\366\367\370\371\n'\ +'\060\061\062\063\n\064\065\066\067\n'\ +'\070\071\372\373\n\374\375\376\377\n'; } >exp || framework_failure_ =20 dd if=3Din of=3Dout conv=3Dascii cbs=3D4 || fail=3D1 --=20 2.1.0 --------------080906090609090508050802-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 26 20:10:50 2014 Received: (at 19184) by debbugs.gnu.org; 27 Nov 2014 01:10:50 +0000 Received: from localhost ([127.0.0.1]:46742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xtnbe-0002ys-9s for submit@debbugs.gnu.org; Wed, 26 Nov 2014 20:10:50 -0500 Received: from mail5.vodafone.ie ([213.233.128.176]:22954) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xtnbb-0002yh-Mc for 19184@debbugs.gnu.org; Wed, 26 Nov 2014 20:10:48 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjwFAHx5dlRtTPSE/2dsb2JhbABbDoJ4UlIFgjVQxRaGUQKBDRYBAQEBAX2EAgEBAQQjZgsNBAMBAgEJIQICDwI+CAcMBgIBARaIKgEDu2uGApA7AQEBAQYBAQEBAQEBARqOX4ILGIJ4gVUFkDmEU4FVa4kphkGHbIZ7gzxARzCCSgEBAQ Received: from unknown (HELO localhost.localdomain) ([109.76.244.132]) by mail3.vodafone.ie with ESMTP; 27 Nov 2014 01:10:45 +0000 Message-ID: <54767A15.80603@draigBrady.com> Date: Thu, 27 Nov 2014 01:10:45 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: 19184@debbugs.gnu.org, eggert@cs.ucla.edu, edward.w.carr@gsk.com Subject: Re: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547562E8.9000708@cs.ucla.edu> <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> <54762853.5070806@cs.ucla.edu> <547639FC.3020201@draigBrady.com> In-Reply-To: <547639FC.3020201@draigBrady.com> Content-Type: multipart/mixed; boundary="------------000305000501010704070000" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19184 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.0 (/) This is a multi-part message in MIME format. --------------000305000501010704070000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit On 26/11/14 20:37, Pádraig Brady wrote: > The other issue is incorrect prompts output by rm due to its use of %zu > Ted could you give the output of: > > grep gl_cv_func_printf_sizes_c99 config.log > > Now coreutils doesn't make use of the fprintf-posix module > to act on the above test. > Jim attempted it for a day in 2007 but reverted due to "too many test failures". > We could easily avoid the use of %zu I suppose in coreutils, > as there are only a few uses really. I did that in the attached. thanks, Pádraig --------------000305000501010704070000 Content-Type: text/x-patch; name="solaris-8-fprintf.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="solaris-8-fprintf.patch" >From 78202c7118378cf1886f46887412dbf49ce3a1cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A1draig=20Brady?= Date: Thu, 27 Nov 2014 00:51:00 +0000 Subject: [PATCH] rm: fix prompted number of arguments to remove on some platforms "zu" was output on solaris 8 for example rather than the number, since coreutils-8.22. * cfg.mk: Disallow %zu with fprintf() since we make minimal use of this function and so don't employ the gnulib replacement. * src/rm.c (main): Use %PRIuMAX rather than %zu for portability. * NEWS: Mention the bug fix. Reported in http://bugs.gnu.org/19184 --- NEWS | 3 +++ cfg.mk | 9 +++++++++ src/rm.c | 10 +++++----- 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/NEWS b/NEWS index 27847d4..3a62656 100644 --- a/NEWS +++ b/NEWS @@ -25,6 +25,9 @@ GNU coreutils NEWS -*- outline -*- character at the 4GiB position. [the bug dates back to the initial implementation] + rm indicates the correct number of arguments in its confirmation prompt, + on all platforms. [bug introduced in coreutils-8.22] + ** New features chroot accepts the new --skip-chdir option to not change the working directory diff --git a/cfg.mk b/cfg.mk index 7347322..c6fc0e7 100644 --- a/cfg.mk +++ b/cfg.mk @@ -223,6 +223,15 @@ sc_prohibit-j-printf-format: && { echo '$(ME): Use PRI*MAX instead of %j' 1>&2; exit 1; } \ || : +# coreutils doesn't use any fprintf gnulib replacement since we +# make minimal use of fprintf, to output prompt strings mainly. +# Here we disallow %zu with fprintf() as that's not portable to +# Solaris 8 for example. +sc_prohibit-z-fprintf-format: + @cd $(srcdir)/src && GIT_PAGER= git grep -A4 ' fprintf (' | grep %zu \ + && { echo '$(ME): Use PRI*MAX instead of %z' 1>&2; exit 1; } \ + || : + # Ensure the alternative __attribute (keyword) form isn't used as # that form is not elided where required. Also ensure that we don't # directly use attributes already defined by gnulib. diff --git a/src/rm.c b/src/rm.c index f7adf5b..4c8ee6e 100644 --- a/src/rm.c +++ b/src/rm.c @@ -332,18 +332,18 @@ main (int argc, char **argv) quote ("/")); } - size_t n_files = argc - optind; + uintmax_t n_files = argc - optind; char **file = argv + optind; if (prompt_once && (x.recursive || 3 < n_files)) { fprintf (stderr, (x.recursive - ? ngettext ("%s: remove %zu argument recursively? ", - "%s: remove %zu arguments recursively? ", + ? ngettext ("%s: remove %"PRIuMAX" argument recursively? ", + "%s: remove %"PRIuMAX" arguments recursively? ", select_plural (n_files)) - : ngettext ("%s: remove %zu argument? ", - "%s: remove %zu arguments? ", + : ngettext ("%s: remove %"PRIuMAX" argument? ", + "%s: remove %"PRIuMAX" arguments? ", select_plural (n_files))), program_name, n_files); if (!yesno ()) -- 2.1.0 --------------000305000501010704070000-- From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 26 21:35:27 2014 Received: (at 19184) by debbugs.gnu.org; 27 Nov 2014 02:35:27 +0000 Received: from localhost ([127.0.0.1]:46764 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtovX-00059g-5F for submit@debbugs.gnu.org; Wed, 26 Nov 2014 21:35:27 -0500 Received: from smtp.cs.ucla.edu ([131.179.128.62]:55570) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XtovU-00059X-Md for 19184@debbugs.gnu.org; Wed, 26 Nov 2014 21:35:25 -0500 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.cs.ucla.edu (Postfix) with ESMTP id E5017A60028; Wed, 26 Nov 2014 18:35:23 -0800 (PST) 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 xqDeXWOu7x6Z; Wed, 26 Nov 2014 18:35:15 -0800 (PST) Received: from [192.168.1.9] (pool-71-177-17-123.lsanca.dsl-w.verizon.net [71.177.17.123]) by smtp.cs.ucla.edu (Postfix) with ESMTPSA id 43DA4A60017; Wed, 26 Nov 2014 18:35:15 -0800 (PST) Message-ID: <54768DE3.3060709@cs.ucla.edu> Date: Wed, 26 Nov 2014 18:35:15 -0800 From: Paul Eggert Organization: UCLA Computer Science Department User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= , 19184@debbugs.gnu.org, edward.w.carr@gsk.com Subject: Re: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547562E8.9000708@cs.ucla.edu> <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> <54762853.5070806@cs.ucla.edu> <547639FC.3020201@draigBrady.com> <54767A15.80603@draigBrady.com> In-Reply-To: <54767A15.80603@draigBrady.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 19184 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: -2.3 (--) Pádraig Brady wrote: > I did that in the attached. I also see uses of %z in dd.c, od.c, and split.c From debbugs-submit-bounces@debbugs.gnu.org Thu Nov 27 09:34:58 2014 Received: (at 19184) by debbugs.gnu.org; 27 Nov 2014 14:34:59 +0000 Received: from localhost ([127.0.0.1]:47084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu09p-000112-Nb for submit@debbugs.gnu.org; Thu, 27 Nov 2014 09:34:58 -0500 Received: from mail2.vodafone.ie ([213.233.128.44]:30823) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Xu09j-00010o-PC for 19184@debbugs.gnu.org; Thu, 27 Nov 2014 09:34:53 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvgSACQ2d1RtTWTW/2dsb2JhbABbDoJ4gkuBE4dJwQODEQKBCRYBAQEBAX2EAwEBBCMPAVYLDQsCAgUWCwICCQMCAQIBRQYBDAgBAYhAAbwdhgKQKAELIIEuj1SCeIFVBac2jmeDPEA/gnoBAQE Received: from unknown (HELO localhost.localdomain) ([109.77.100.214]) by mail2.vodafone.ie with ESMTP; 27 Nov 2014 14:34:50 +0000 Message-ID: <54773689.1010106@draigBrady.com> Date: Thu, 27 Nov 2014 14:34:49 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Paul Eggert , 19184@debbugs.gnu.org, edward.w.carr@gsk.com Subject: Re: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547562E8.9000708@cs.ucla.edu> <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> <54762853.5070806@cs.ucla.edu> <547639FC.3020201@draigBrady.com> <54767A15.80603@draigBrady.com> <54768DE3.3060709@cs.ucla.edu> In-Reply-To: <54768DE3.3060709@cs.ucla.edu> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19184 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.0 (/) On 27/11/14 02:35, Paul Eggert wrote: > Pádraig Brady wrote: >> I did that in the attached. > > I also see uses of %z in dd.c, od.c, and split.c No other uses with fprintf() though. The od one goes through printf, but that's only debugging. The error() ones are fine as they go through any printf() replacement. Hmm, you're right, that dependency is not explicit, so it's a bit brittle to leave those. I wonder should the gnulib errno module depend on the [v]fprintf-posix modules? Anyway it's better to be consistent and remove the remaining few uses of %zu for now, so I've just pushed a patch to do that. thanks, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 01 08:58:41 2014 Received: (at 19184) by debbugs.gnu.org; 1 Dec 2014 13:58:42 +0000 Received: from localhost ([127.0.0.1]:50517 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvRUv-00068Q-Cm for submit@debbugs.gnu.org; Mon, 01 Dec 2014 08:58:41 -0500 Received: from mail-by2on0121.outbound.protection.outlook.com ([207.46.100.121]:16000 helo=na01-by2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvRUr-00068F-S0 for 19184@debbugs.gnu.org; Mon, 01 Dec 2014 08:58:38 -0500 Received: from BL2PR08CA0021.namprd08.prod.outlook.com (10.255.170.139) by CY1PR0801MB1020.namprd08.prod.outlook.com (25.161.162.148) with Microsoft SMTP Server (TLS) id 15.1.26.15; Mon, 1 Dec 2014 13:58:36 +0000 Received: from BN1BFFO11FD028.protection.gbl (2a01:111:f400:7c10::1:179) by BL2PR08CA0021.outlook.office365.com (2a01:111:e400:c4b::11) with Microsoft SMTP Server (TLS) id 15.1.26.15 via Frontend Transport; Mon, 1 Dec 2014 13:58:35 +0000 Received: from mail1.gsk.com (70.37.183.30) by BN1BFFO11FD028.mail.protection.outlook.com (10.58.144.91) with Microsoft SMTP Server (TLS) id 15.1.6.13 via Frontend Transport; Mon, 1 Dec 2014 13:58:34 +0000 Received: from 019-SN1MPN1-007.019D.MGD.MSFT.NET ([169.254.7.128]) by 019-SN1MMR1-007.019D.MGD.MSFT.NET ([2002:8217:7b27::8217:7b27]) with mapi id 14.03.0195.002; Mon, 1 Dec 2014 13:58:29 +0000 From: Ted Carr To: =?utf-8?B?UMOhZHJhaWcgQnJhZHk=?= , "19184@debbugs.gnu.org" <19184@debbugs.gnu.org>, "eggert@cs.ucla.edu" Subject: RE: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 Thread-Topic: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 Thread-Index: AdAI9OvuJFgIxleNSl6IAjiY2xEIAAAAJbUAABDDuAAAEtPSgAAKlxSAAAKhrgAACY0igADj8leQ Date: Mon, 1 Dec 2014 13:58:28 +0000 Message-ID: <7A29F1C59431FE4891661FE239C79D6CA80F83@019-SN1MPN1-007.019D.MGD.MSFT.NET> References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547562E8.9000708@cs.ucla.edu> <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> <54762853.5070806@cs.ucla.edu> <547639FC.3020201@draigBrady.com> <54767A15.80603@draigBrady.com> In-Reply-To: <54767A15.80603@draigBrady.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.148.130.22] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OrganizationHeadersPreserved: 019-SN1MMR1-007.019D.MGD.MSFT.NET X-EOPAttributedMessage: 0 Received-SPF: Pass (protection.outlook.com: domain of gsk.com designates 70.37.183.30 as permitted sender) receiver=protection.outlook.com; client-ip=70.37.183.30; helo=mail1.gsk.com; Authentication-Results: spf=pass (sender IP is 70.37.183.30) smtp.mailfrom=edward.w.carr@gsk.com; X-Forefront-Antispam-Report: CIP:70.37.183.30; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(438002)(199003)(53754006)(189002)(6806004)(21056001)(84676001)(97736003)(55846006)(23676002)(50986999)(95666004)(54356999)(76176999)(2201001)(92566001)(92726001)(22746005)(4396001)(22756005)(64706001)(47776003)(20776003)(86362001)(46102003)(44976005)(19580395003)(93886004)(68736004)(31966008)(2171001)(87936001)(2656002)(77156002)(106466001)(104016003)(558084003)(107046002)(107886001)(50466002)(120916001)(77096004)(33656002)(99396003)(781001); DIR:OUT; SFP:1102; SCL:1; SRVR:CY1PR0801MB1020; H:mail1.gsk.com; FPR:; SPF:Pass; MLV:sfv; PTR:InfoDomainNonexistent; A:1; MX:1; LANG:en; X-CrossPremisesHeadersPromoted: BN1BFFO11FD028.protection.gbl X-CrossPremisesHeadersFiltered: BN1BFFO11FD028.protection.gbl X-Microsoft-Antispam: UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:CY1PR0801MB1020; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:CY1PR0801MB1020; X-Forefront-PRVS: 0412A98A59 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:CY1PR0801MB1020; X-OriginatorOrg: gsk.com X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19184 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.0 (/) SGkgQWxsLA0KDQpTb3JyeSBmb3IgdGhlIGRlbGF5Li4uDQoNClJlcXVlc3RlZCBvdXRwdXQ6DQoN CmJhc2gtMi4wMyQgZ3JlcCBnbF9jdl9mdW5jX3ByaW50Zl9zaXplc19jOTkgY29uZmlnLmxvZw0K Z2xfY3ZfZnVuY19wcmludGZfc2l6ZXNfYzk5PW5vDQoNCkNoZWVycywNClRlZA0KDQoNCg0K From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 01 09:05:11 2014 Received: (at 19184) by debbugs.gnu.org; 1 Dec 2014 14:05:11 +0000 Received: from localhost ([127.0.0.1]:50543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvRbD-0006Jk-2T for submit@debbugs.gnu.org; Mon, 01 Dec 2014 09:05:11 -0500 Received: from mail6.vodafone.ie ([213.233.128.184]:29549) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvRbB-0006JZ-0q for 19184@debbugs.gnu.org; Mon, 01 Dec 2014 09:05:09 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Al0KAB51fFRtTvvh/2dsb2JhbABbgwZRWAGBIYETUMNghksBAgKBFBYBAQEBAX2EAwEBBCMPAVYLDQEKAgIFFgsCAgkDAgECAUUGAQwIAQGIQAEIvT2FfpAMLIEuj1SCdYFTAQSVUogjhkqJSYQCg3s/MQGCRQEBAQ Received: from unknown (HELO localhost.localdomain) ([109.78.251.225]) by mail3.vodafone.ie with ESMTP; 01 Dec 2014 14:05:07 +0000 Message-ID: <547C7592.2070906@draigBrady.com> Date: Mon, 01 Dec 2014 14:05:06 +0000 From: =?UTF-8?B?UMOhZHJhaWcgQnJhZHk=?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Ted Carr , "19184@debbugs.gnu.org" <19184@debbugs.gnu.org> Subject: Re: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547562E8.9000708@cs.ucla.edu> <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> <54762853.5070806@cs.ucla.edu> <547639FC.3020201@draigBrady.com> <54767A15.80603@draigBrady.com> <7A29F1C59431FE4891661FE239C79D6CA80F83@019-SN1MPN1-007.019D.MGD.MSFT.NET> In-Reply-To: <7A29F1C59431FE4891661FE239C79D6CA80F83@019-SN1MPN1-007.019D.MGD.MSFT.NET> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19184 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.0 (/) On 01/12/14 13:58, Ted Carr wrote: > Hi All, > > Sorry for the delay... > > Requested output: > > bash-2.03$ grep gl_cv_func_printf_sizes_c99 config.log > gl_cv_func_printf_sizes_c99=no Thanks for the confirmation. Your issue should be address in the upcoming 8.24 release that contains these changes: http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=a78d8538 http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=7d1fe886 http://git.sv.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=458c5cbc cheers, Pádraig. From debbugs-submit-bounces@debbugs.gnu.org Mon Dec 01 09:46:03 2014 Received: (at 19184) by debbugs.gnu.org; 1 Dec 2014 14:46:04 +0000 Received: from localhost ([127.0.0.1]:50549 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvSEl-0007GL-BA for submit@debbugs.gnu.org; Mon, 01 Dec 2014 09:46:03 -0500 Received: from mail-bl2on0108.outbound.protection.outlook.com ([65.55.169.108]:48384 helo=na01-bl2-obe.outbound.protection.outlook.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XvSEh-0007Fs-JQ for 19184@debbugs.gnu.org; Mon, 01 Dec 2014 09:46:00 -0500 Received: from DM2PR0801MB1024.namprd08.prod.outlook.com (25.160.133.24) by DM2PR0801MB0864.namprd08.prod.outlook.com (25.160.131.149) with Microsoft SMTP Server (TLS) id 15.1.26.15; Mon, 1 Dec 2014 14:45:57 +0000 Received: from BLUPR08CA0067.namprd08.prod.outlook.com (10.141.200.47) by DM2PR0801MB1024.namprd08.prod.outlook.com (25.160.133.24) with Microsoft SMTP Server (TLS) id 15.1.26.15; Mon, 1 Dec 2014 14:45:47 +0000 Received: from BN1AFFO11FD008.protection.gbl (2a01:111:f400:7c10::166) by BLUPR08CA0067.outlook.office365.com (2a01:111:e400:88d::47) with Microsoft SMTP Server (TLS) id 15.1.26.15 via Frontend Transport; Mon, 1 Dec 2014 14:45:47 +0000 Received: from mail1.gsk.com (70.37.183.30) by BN1AFFO11FD008.mail.protection.outlook.com (10.58.52.68) with Microsoft SMTP Server (TLS) id 15.1.6.13 via Frontend Transport; Mon, 1 Dec 2014 14:45:46 +0000 Received: from 019-SN1MPN1-007.019D.MGD.MSFT.NET ([169.254.7.128]) by 019-SN1MMR1-007.019D.MGD.MSFT.NET ([2002:8217:7b27::8217:7b27]) with mapi id 14.03.0195.002; Mon, 1 Dec 2014 14:45:36 +0000 From: Ted Carr To: =?utf-8?B?UMOhZHJhaWcgQnJhZHk=?= , "19184@debbugs.gnu.org" <19184@debbugs.gnu.org> Subject: RE: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 Thread-Topic: bug#19184: coreutils-8.23 Compile Error on Solaris 8 - Sun Studio 11 Thread-Index: AdAI9OvuJFgIxleNSl6IAjiY2xEIAAAAJbUAABDDuAAAEtPSgAAKlxSAAAKhrgAACY0igADj8leQAABDTQAAAWPl0A== Date: Mon, 1 Dec 2014 14:45:36 +0000 Message-ID: <7A29F1C59431FE4891661FE239C79D6CA81046@019-SN1MPN1-007.019D.MGD.MSFT.NET> References: <7A29F1C59431FE4891661FE239C79D6CA7819A@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547562E8.9000708@cs.ucla.edu> <7A29F1C59431FE4891661FE239C79D6CA7852E@019-SN1MPN1-007.019D.MGD.MSFT.NET> <54762853.5070806@cs.ucla.edu> <547639FC.3020201@draigBrady.com> <54767A15.80603@draigBrady.com> <7A29F1C59431FE4891661FE239C79D6CA80F83@019-SN1MPN1-007.019D.MGD.MSFT.NET> <547C7592.2070906@draigBrady.com> In-Reply-To: <547C7592.2070906@draigBrady.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.148.130.22] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OrganizationHeadersPreserved: 019-SN1MMR1-007.019D.MGD.MSFT.NET X-EOPAttributedMessage: 0 Received-SPF: Pass (protection.outlook.com: domain of gsk.com designates 70.37.183.30 as permitted sender) receiver=protection.outlook.com; client-ip=70.37.183.30; helo=mail1.gsk.com; Authentication-Results: spf=pass (sender IP is 70.37.183.30) smtp.mailfrom=edward.w.carr@gsk.com; X-Forefront-Antispam-Report: CIP:70.37.183.30; CTRY:US; IPV:NLI; EFV:NLI; SFV:NSPM; SFS:(10019020)(6009001)(438002)(189002)(199003)(23676002)(4396001)(46102003)(106466001)(6806004)(44976005)(99396003)(47776003)(20776003)(68736004)(120916001)(93886004)(22746005)(62966003)(22756005)(107886001)(77156002)(95666004)(107046002)(2656002)(87936001)(21056001)(2501002)(33656002)(31966008)(97736003)(50466002)(54356999)(92566001)(76176999)(64706001)(55846006)(92726001)(86362001)(50986999)(558084003)(84676001)(104016003)(77096004)(781001); DIR:OUT; SFP:1102; SCL:1; SRVR:DM2PR0801MB1024; H:mail1.gsk.com; FPR:; SPF:Pass; MLV:sfv; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-CrossPremisesHeadersPromoted: BN1AFFO11FD008.protection.gbl X-CrossPremisesHeadersFiltered: BN1AFFO11FD008.protection.gbl X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0801MB1024; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:DM2PR0801MB1024; X-Forefront-PRVS: 0412A98A59 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:; SRVR:DM2PR0801MB1024; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:DM2PR0801MB0864; X-OriginatorOrg: gsk.com X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 19184 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.0 (/) VGhhbmsgWW91IEFsbC4gIFRoZSBwYXRjaGVzIHlvdSBoYXZlIHN1cHBsaWVkIGhhdmUgZml4ZWQg bXkgaXNzdWVzISAgDQoNCkNoZWVycywNClRlZA0K From unknown Fri Sep 05 08:43:27 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 30 Dec 2014 12:24:04 +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