Your message dated Mon, 07 Jan 2008 11:25:52 +0930
with message-id <[EMAIL PROTECTED]>
and subject line gettext: 451921: gettext.m4 is fixed, but archive.tar.gz is not
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: gettext
Version: 0.16.1-2
Severity: important

Hi,

while searching why USE_NLS was always set to “no”, I found out that
there was an error when trying to compile and link against gettext on
64-bit architectures:
| /* confdefs.h.  */
| #define PACKAGE_NAME "Synfig Studio"
| #define PACKAGE_TARNAME "synfigstudio"
| #define PACKAGE_VERSION "0.61.07"
| #define PACKAGE_STRING "Synfig Studio 0.61.07"
| #define PACKAGE_BUGREPORT 
"http://sourceforge.net/tracker/?group_id=144022&atid=757416";
| #define PACKAGE "synfigstudio"
| #define VERSION "0.61.07"
| #define _GNU_SOURCE 1
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| /* end confdefs.h.  */
| #include <libintl.h>
| extern int _nl_msg_cat_cntr;
| extern int *_nl_domain_bindings;
|       int
| main ()
| {
|       bindtextdomain ("", "");
|       return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_domain_bindings
|               ;
|       return 0;
| }

which results in “error: cast from 'char*' to 'int' loses precision”
when trying:
  g++ -o conftest  -DNDEBUG -Wno-deprecated -O2 -W -Wall -Wno-unused-parameter 
conftest.cpp

Given the content of gettext.m4 under /usr/share/aclocal, it looks like
the (int) cast is added by some m4 magic by autotools (since gettext.m4
is rather about doing “return gettext…” w/o cast) but I'm quite sure
that gettext.m4 could be modified to be more portable.

Of course, feel free to reassign this bugreport to autotools packages if
you think they're doing the wrong thing, and shouldn't add the “(int)”
cast, or should try to use a “(long)” one.

Cheers,

-- 
Cyril Brulebois

Attachment: pgpLtcXWnhcVk.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
On Mon, 2008-01-07 at 10:11 +0930, Paul Wise wrote:

> About the recent Debian bug about non-portable code in gettext.m4, the
> problem is still in 0.17, please see this message for more details:
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=451921#19

Turns out this was because AM_GNU_GETTEXT_VERSION(1.2.3.4) causes
autopoint to use macros from gettext = 1.2.3.4 rather than >= 1.2.3.4.

Feels like an icky situation, but closing the bug, sorry for noise.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---

Reply via email to