Package: mednafen
Version: 0.4.4-1
Severity: serious
Justification: Policy 6.5(4)
On amd64, and presumably also any 64-bit release architectures that
don't run into #349633, mednafen fails to observe that libc contains a
working version of GNU gettext, so it builds its own, and proceeds to
ship a copy of /usr/share/locale/locale.alias, creating an effective
conflict with the locales package.
config.log reveals the problem:
} configure:29304: checking for GNU gettext in libc
} configure:29328: x86_64-linux-gnu-g++ -o conftest -Wall -O2 -Wl,-z,defs
conftest.cc >&5
} conftest.cc: In function 'int main()':
} conftest.cc:109: error: cast from 'char*' to 'int' loses precision
} configure:29334: $? = 1
} configure: failed program was:
} | /* confdefs.h. */
[...]
} | /* 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;
} | }
This seems to be because aclocal.m4 contains an old definition of
AM_GNU_GETTEXT, from gettext.m4 serial 28 (gettext-0.13), with a last
copyright date of 2003; the current version in /usr/share/aclocal,
gettext.m4 serial 37 (gettext-0.14.4), had further updates through
2005 and in particular dereferences the pointer gettext returns rather
than casting it to int.
As expected, copying the new version of gettext.m4 into the m4
directory and rerunning autogen.sh (which you can do before uploading
rather than from debian/rules to avoid excess build dependencies,
though you should then pass configure the --disable-maintainer-mode
flag to avoid problems from time skew) addresses the problem.
Curiously, 0.4.1-1 properly detected gettext in libc.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'sarge-unsupported')
Architecture: amd64 (x86_64)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages mednafen depends on:
ii libaudiofile0 0.2.6-6 Open-source version of SGI's audio
ii libc6 2.3.5-12 GNU C Library: Shared libraries an
ii libcdio6 0.76-1 library to read and control CD-ROM
ii libesd-alsa0 [libesd0] 0.2.36-3 Enlightened Sound Daemon (ALSA) -
ii libgcc1 1:4.0.2-7 GCC support library
ii libjack0.100.0-0 0.100.0-4 JACK Audio Connection Kit (librari
ii libogg0 1.1.3-2 Ogg Bitstream Library
ii libsamplerate0 0.1.2-2 audio rate conversion library
ii libsdl-net1.2 1.2.5-6 network library for Simple DirectM
ii libsdl1.2debian 1.2.9-0.1 Simple DirectMedia Layer
ii libsndfile1 1.0.12-3 Library for reading/writing audio
ii libstdc++6 4.0.2-7 The GNU Standard C++ Library v3
ii libvorbis0a 1.1.0-1 The Vorbis General Audio Compressi
ii libvorbisfile3 1.1.0-1 The Vorbis General Audio Compressi
ii libx11-6 6.9.0.dfsg.1-4 X Window System protocol client li
ii xlibmesa-gl [libgl1] 6.8.2.dfsg.1-11 Mesa 3D graphics library [X.Org]
ii zlib1g 1:1.2.3-9 compression library - runtime
mednafen recommends no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]