X-Loop: help-debbugs@HIDDEN Subject: bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER Resent-From: Thomas Klausner <wiz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Sat, 16 Jul 2016 09:14:01 +0000 Resent-Message-ID: <handler.24002.B.146866040620225 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 24002 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: 24002 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-guile@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.146866040620225 (code B ref -1); Sat, 16 Jul 2016 09:14:01 +0000 Received: (at submit) by debbugs.gnu.org; 16 Jul 2016 09:13:26 +0000 Received: from localhost ([127.0.0.1]:53486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1bOLf3-0005G9-N0 for submit <at> debbugs.gnu.org; Sat, 16 Jul 2016 05:13:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <wiz@HIDDEN>) id 1bOLf1-0005Fv-0e for submit <at> debbugs.gnu.org; Sat, 16 Jul 2016 05:13:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <wiz@HIDDEN>) id 1bOLev-0008Md-1I for submit <at> debbugs.gnu.org; Sat, 16 Jul 2016 05:13:17 -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.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57797) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <wiz@HIDDEN>) id 1bOLeu-0008MN-UG for submit <at> debbugs.gnu.org; Sat, 16 Jul 2016 05:13:16 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <wiz@HIDDEN>) id 1bOLes-00048T-UO for bug-guile@HIDDEN; Sat, 16 Jul 2016 05:13:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <wiz@HIDDEN>) id 1bOLen-0008Kb-Tk for bug-guile@HIDDEN; Sat, 16 Jul 2016 05:13:13 -0400 Received: from danbala.ifoer.tuwien.ac.at ([128.130.168.64]:50667) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <wiz@HIDDEN>) id 1bOLen-0008KK-Mu for bug-guile@HIDDEN; Sat, 16 Jul 2016 05:13:09 -0400 Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116) id 14990A5A4; Sat, 16 Jul 2016 11:13:04 +0200 (CEST) Date: Sat, 16 Jul 2016 11:13:04 +0200 From: Thomas Klausner <wiz@HIDDEN> Message-ID: <20160716091303.GP23723@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) Hi! On NetBSD, the build of guile-2.0.12 breaks early because FLEXIBLE_ARRAY_MEMBER is not defined: In file included from strftime.c:33:0: time-internal.h:48:14: error: 'FLEXIBLE_ARRAY_MEMBER' undeclared here (not in a function) char abbrs[FLEXIBLE_ARRAY_MEMBER]; ^ config.h has: /* #undef FLEXIBLE_ARRAY_MEMBER */ I think the problem is that m4/gnulib-comp.m4 has: if test "$HAVE_TIMEZONE_T" = 0; then func_gl_gnulib_m4code_flexmember fi but on NetBSD, HAVE_TIMEZONE_T is 1 and so func_gl_gnulib_m4code_flexmember is not called and FLEXIBLE_ARRAY_MEMBER is not defined. FLEXIBLE_ARRAY_MEMBER is used in time-internal.h which is included by: lib/time_rz.c lib/timegm.c lib/strftime.c lib/mktime.c so there might be more cases where this will break. Cheers, Thomas
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Thomas Klausner <wiz@HIDDEN> Subject: bug#24002: Acknowledgement (configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER) Message-ID: <handler.24002.B.146866040620225.ack <at> debbugs.gnu.org> References: <20160716091303.GP23723@HIDDEN> X-Gnu-PR-Message: ack 24002 X-Gnu-PR-Package: guile Reply-To: 24002 <at> debbugs.gnu.org Date: Sat, 16 Jul 2016 09:14:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-guile@HIDDEN If you wish to submit further information on this problem, please send it to 24002 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 24002: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D24002 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER Resent-From: Andy Wingo <wingo@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Wed, 01 Mar 2017 08:28:02 +0000 Resent-Message-ID: <handler.24002.B24002.148835682225713 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24002 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Thomas Klausner <wiz@HIDDEN> Cc: 24002 <at> debbugs.gnu.org Received: via spool by 24002-submit <at> debbugs.gnu.org id=B24002.148835682225713 (code B ref 24002); Wed, 01 Mar 2017 08:28:02 +0000 Received: (at 24002) by debbugs.gnu.org; 1 Mar 2017 08:27:02 +0000 Received: from localhost ([127.0.0.1]:60918 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1cizbC-0006gf-Jj for submit <at> debbugs.gnu.org; Wed, 01 Mar 2017 03:27:02 -0500 Received: from pb-sasl1.pobox.com ([64.147.108.66]:53991 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <wingo@HIDDEN>) id 1cizbB-0006gE-4f for 24002 <at> debbugs.gnu.org; Wed, 01 Mar 2017 03:27:01 -0500 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 845C248CB9; Wed, 1 Mar 2017 03:27:00 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=pf1KfTMpChb8Azw3u4NbH5T7DYI=; b=kcyFuD B/JGPsKK37x6dI7XnwhBw+hHbZLq5t8WD8VIKmUQAm+kjDb8z0AwYDZUPNEntwml 4KJkdV2xVw55YifOaPuHZZV4taB1NkUrT4JuTyEVHfTFr64NRhfEA6ZhnohOHGct BjkQ5+MXtYrHbP+g+268IiBZT9gLuFe/6nrqE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=Y07CVpeKloE5r5r7ZyIF20EQtvEe26rn 7DgxcGUdoYdSpIizptDxDgX6cNSTwg52HTzgvfbV4LQaF61f7WX1jj6wq3hfh6Zg hDmLUFy0LpJMtDbNe6gcmjLfkqoc+dmONwLf9ptCD3pgT4NnxPc5nCqt34RRp2YE RpsbnGFMmR0= Received: from pb-sasl1.nyi.icgroup.com (unknown [127.0.0.1]) by pb-sasl1.pobox.com (Postfix) with ESMTP id 4514248CB7; Wed, 1 Mar 2017 03:27:00 -0500 (EST) Received: from clucks (unknown [109.190.228.233]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pb-sasl1.pobox.com (Postfix) with ESMTPSA id 69EF748CB6; Wed, 1 Mar 2017 03:26:59 -0500 (EST) From: Andy Wingo <wingo@HIDDEN> References: <20160716091303.GP23723@HIDDEN> Date: Wed, 01 Mar 2017 09:26:52 +0100 In-Reply-To: <20160716091303.GP23723@HIDDEN> (Thomas Klausner's message of "Sat, 16 Jul 2016 11:13:04 +0200") Message-ID: <87o9xljtbn.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Pobox-Relay-ID: D6D4363E-FE58-11E6-9CF2-B667064AB293-02397024!pb-sasl1.pobox.com X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) Hi Thomas, On Sat 16 Jul 2016 11:13, Thomas Klausner <wiz@HIDDEN> writes: > On NetBSD, the build of guile-2.0.12 breaks early because > FLEXIBLE_ARRAY_MEMBER is not defined: > > In file included from strftime.c:33:0: > time-internal.h:48:14: error: 'FLEXIBLE_ARRAY_MEMBER' undeclared here (not in a function) > char abbrs[FLEXIBLE_ARRAY_MEMBER]; I just pulled in an updated Gnulib which I hope fixes this problem. If you build from Git then you should be able to verify the fix, or wait until we have another release. Thanks for the report, Andy
X-Loop: help-debbugs@HIDDEN Subject: bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER Resent-From: Thomas Klausner <wiz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-guile@HIDDEN Resent-Date: Wed, 15 Mar 2017 14:06:01 +0000 Resent-Message-ID: <handler.24002.B24002.148958674118408 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 24002 X-GNU-PR-Package: guile X-GNU-PR-Keywords: To: Andy Wingo <wingo@HIDDEN> Cc: 24002 <at> debbugs.gnu.org Received: via spool by 24002-submit <at> debbugs.gnu.org id=B24002.148958674118408 (code B ref 24002); Wed, 15 Mar 2017 14:06:01 +0000 Received: (at 24002) by debbugs.gnu.org; 15 Mar 2017 14:05:41 +0000 Received: from localhost ([127.0.0.1]:57284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1co9Yb-0004mo-6o for submit <at> debbugs.gnu.org; Wed, 15 Mar 2017 10:05:41 -0400 Received: from danbala.ifoer.tuwien.ac.at ([128.130.168.114]:50366) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <wiz@HIDDEN>) id 1co9YY-0004me-Us for 24002 <at> debbugs.gnu.org; Wed, 15 Mar 2017 10:05:39 -0400 Received: by danbala.ifoer.tuwien.ac.at (Postfix, from userid 116) id 8A5C0A50D; Wed, 15 Mar 2017 15:05:37 +0100 (CET) Date: Wed, 15 Mar 2017 15:05:37 +0100 From: Thomas Klausner <wiz@HIDDEN> Message-ID: <20170315140537.5x7ds7g5em5php3b@danbala> References: <20160716091303.GP23723@HIDDEN> <sfid-H20170301-092709-+030.40-1@HIDDEN> <87o9xljtbn.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87o9xljtbn.fsf@HIDDEN> X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.0 (/) On Wed, Mar 01, 2017 at 09:26:52AM +0100, Andy Wingo wrote: > Hi Thomas, > > On Sat 16 Jul 2016 11:13, Thomas Klausner <wiz@HIDDEN> writes: > > > On NetBSD, the build of guile-2.0.12 breaks early because > > FLEXIBLE_ARRAY_MEMBER is not defined: > > > > In file included from strftime.c:33:0: > > time-internal.h:48:14: error: 'FLEXIBLE_ARRAY_MEMBER' undeclared here (not in a function) > > char abbrs[FLEXIBLE_ARRAY_MEMBER]; > > I just pulled in an updated Gnulib which I hope fixes this problem. If > you build from Git then you should be able to verify the fix, or wait > until we have another release. I just tried the 2.1.8 release (from March 10, so after your mail), and the problem still exists. Cheers, Thomas
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.