bug-gettext
[Top][All Lists]
Advanced

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

[bug #63371] build fails on MinGW due to missing gnulib close module


From: Alyssa Ross
Subject: [bug #63371] build fails on MinGW due to missing gnulib close module
Date: Wed, 21 Jun 2023 10:34:03 -0400 (EDT)

Follow-up Comment #4, bug #63371 (project gettext):

I have the same problem when attempting to cross compile from
x86_64-unknown-linux-gnu to x86_64-w64-mingw32.  I have bisected the
regression, and found that it was introduced by one of these commits:

        commit acb7f1cc9b4df499b23576c488f66540330ca836
        Author: Bruno Haible <bruno@clisp.org>
        Date:   Sun Jun 20 14:19:39 2021 +0200
        
            Update after gnulib changed.
        
            Previously, different gnulib-tool invocations within the scope of 
the
same
            configure.ac interfered with each other (through the GNULIB_* 
indicator
macros,
            used in the generated .h files), and libgrep relied on it. Now, each
gnulib-tool
            invocation needs its own copy of the generated .h files, in 
particular
locale.h.
            Needed for the localeconv() override on native Windows.
        
            * autogen.sh: When invoking gnulib-tool for libgrep, don't avoid 
'locale'
and
            the other header file modules.
            * gettext-tools/configure.ac: Set GL_GRGL_GNULIB_SETLOCALE_NULL to 
1.
        
        commit f8c28f094dd7f85f1dc0631435f6b76c19b50242
        Author: Bruno Haible <bruno@clisp.org>
        Date:   Sun Jun 20 03:47:14 2021 +0200
        
            Update after gnulib changed.
        
            * gettext-runtime/libasprintf/autosprintf.cc: Include <config.h>. 
This
is
            needed because of these new gnulib module dependencies:
              vasnprintf -> free-posix -> stdlib -> unistd,
            and the generated unistd.h gets included indirectly by <string> on
OpenBSD 6.7
            and gives a #error "Please include config.h first."
        
        commit dbcae010af498da55cb1fdac2c22d91206da34c0
        Author: Bruno Haible <bruno@clisp.org>
        Date:   Sun Jun 20 03:44:25 2021 +0200
        
            Update to the newest gnulib.
        
            * gnulib-local/lib/localename.c.diff: Remove file.
            * gnulib-local/lib/localename-table.h.diff: Remove file.
            * gnulib-local/lib/tsearch.c.diff: Remove file.
            * gnulib-local/modules/tsearch.diff: Remove file.
            * gnulib-local/Makefile.am (EXTRA_DIST): Remove them.
            * libtextstyle/configure.ac: Update for changed naming convention of
module
            indicator variables.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63371>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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