unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* A bug, I think, in the process of compiling Guile 3.0.2 on NetBSD 9
@ 2020-05-26  3:02 Jay Sulzberger
  2020-05-26  6:47 ` Jay Sulzberger
  0 siblings, 1 reply; 2+ messages in thread
From: Jay Sulzberger @ 2020-05-26  3:02 UTC (permalink / raw)
  To: Guile User

There is an old bug report at

https://lists.gnu.org/archive/html/bug-guile/2016-07/msg00038.html

I believe I ran into this same bug on my way to compiling Guile-3.0.2 on NetBSD 9.

After my signature is the report, as rendered by lynx.

Heaven forwarding I will submit a proper bug report within a few
weeks, after I learn more about the build process of Guile-3.0.2.  But
I ask here: Has this bug been fixed in either Guile-3.0.2 and/or
NetBSD 9?

Thank you for reading this!

And thank you for Guile!

I remain, as ever, your old beGuiled user^W^WLisper,
Jay Sulzberger


---------- Forwarded message ----------
  Subject: bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER
  X-URL: https://lists.gnu.org/archive/html/bug-guile/2016-07/msg00038.html

     bug-guile

     [Top][All Lists]

                               ______________________________ Search Advanced
       ______________________________________________________________________________________________

     [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

  bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER
       ______________________________________________________________________________________________

        From: Thomas Klausner
     Subject: bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER
        Date: Sat, 16 Jul 2016 11:13:04 +0200
       ______________________________________________________________________________________________

  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




       ______________________________________________________________________________________________

                                             reply via email to
                                               Thomas Klausner
       ______________________________________________________________________________________________

     [Prev in Thread] Current Thread [Next in Thread]

       * bug#24002: configure: missing call to AC_C_FLEXIBLE_ARRAY_MEMBER, Thomas Klausner <=
       ______________________________________________________________________________________________

       * Prev by Date: bug#20339: sxml simple: sxml->xml mishandles namespaces?
       * Next by Date: bug#24003: guile-2.0.12: test failure on NetBSD: test-loose-ends
       * Previous by thread: bug#23974: Outdated instructions regarding bdw-gc in guile 2.0.11
       * Next by thread: bug#24003: guile-2.0.12: test failure on NetBSD: test-loose-ends
       * Index(es):
            + Date
            + Thread

---------- End Forwarded message ----------




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-26  6:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-26  3:02 A bug, I think, in the process of compiling Guile 3.0.2 on NetBSD 9 Jay Sulzberger
2020-05-26  6:47 ` Jay Sulzberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).