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

Submitted by:  None
Submitted on:  Sun 30 Aug 2015 12:01:18 PM UTC  
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Bruno Haible <haible>
Open/Closed:  Closed

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>
Project AdministratorIn charge of this item.
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>
Project 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

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    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.3