Control: clone -1 -2 Control: reassign -2 gettext Control: retitle -2 broken gettext check in gettext.m4 Control: tags -2 + upstream Control: affects -2 + src:attr
On Tue, May 26, 2015 at 02:46:06PM +0200, Szabolcs Nagy wrote: > When building bison on a musl libc based system, creating > the package fails because it incorrectly assumes that the > libc has no gettext support. > > The bison configure.ac uses > > AM_GNU_GETTEXT([external], [need-ngettext]) > > which ends up checking for glibc internal symbols > _nl_msg_cat_cntr and _nl_domain_bindings instead of just > checking for the API in use (gettext and ngettext). > > This issue is reported upstream at > http://lists.gnu.org/archive/html/bug-gettext/2015-04/msg00002.html > > More discussions at the musl-libc mailing list: > http://www.openwall.com/lists/musl/2015/04/16/3 This actually holds for the copy of gettext.m4 as shipped by gettext it self. > To fix it, remove _nl_* checks from m4/gettext.m4. Yes please. Alternatively, if AM_GNU_GETTEXT is really meant to exclude non-GNU implementations, please add some AM_ANY_GETTEXT macro such that we can easily switch all Debian consumers to a portable version. Helmut