bugGNU gettext - Bugs: bug #45846, gettext-0.19.5 build failed under...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #45846: gettext-0.19.5 build failed under x86_64-w64-mingw32 toolchain

Submitter:  None
Submitted:  Sun 30 Aug 2015 12:01:18 PM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fix Released
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Thu 09 May 2019 07:20:30 PM UTC, comment #3: 

The fix is contained in the gettext-0.20 release.

Bruno Haible <haible>
Group administrator
Fri 05 Oct 2018 12:25:06 AM UTC, comment #2: 

Building from gettext git on mingw, I don't see such redefinition errors. I believe the issue has been fixed through these gnulib commits:
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=5b60c835c42c2444a62076d430a038f836f1aa42
https://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=0f5a9a947267987458a82e7fc64140313c023640

Bruno Haible <haible>
Group administrator
Sun 30 Aug 2015 11:11:58 PM UTC, comment #1: 


> Question: does it tries to implement inexisting functions? or add something to existing functions?


Yes, that is how gnulib (which is copied into the gettext source tree) works to replace broken or incomplete implementation of those functions:
http://www.gnu.org/software/gnulib/manual/html_node/Various-Kinds-of-Modules.html#Support-for-ISO-C-or-POSIX-functions_002e

By the way, it would be helpful to debug, if you attach the complete build log.

Daiki Ueno <ueno>
Group administrator
Sun 30 Aug 2015 12:01:18 PM UTC, original submission:  

Compilation fails because the code attempts to redefine existing fnuctions in stdio.h. Commenting out the redefinitions in the files below allows the library to compile.

In gettext-tools/gnulib-lib, commented the code in:
asprintf.c
snprintf.c
vasprintf.c
vsnprintf.c

In gettext-tools/libgettextpo, commented the code in:
asprintf.c
vasprintf.c

There is no comments in the mentioned files about the reason these functions are (re)implemented.
Question: does it tries to implement inexisting functions? or add something to existing functions?

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by haible (Updated the item)
  • -email is unavailable- added by ueno (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-01-04 haible StatusFixed Fix Released
    2018-10-05 haible StatusNone Fixed
        Assigned toNone haible
        Open/ClosedOpen Closed
    2016-11-27 haible CategoryNone Build

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code