GNOME Bugzilla – Bug 339256
Multi-line ALL_LINGUAS breaks build
Last modified: 2006-05-02 13:16:06 UTC
When trying to build gnome-media from CVS HEAD using jhbuild, configure failed. The symptom is the following: configure: creating ./config.status config.status: creating Makefile sed: file ./confstatVc2230/subs-2.sed line 33: unterminated `s' command sed: couldn't write 50 items to stdout: Broken pipe (Actual output taken from another package that failed similarly). The problem appears to be that the contents of po/LINGUAS are assigned to the substitution variable ALL_LINGUAS in configure.in. config.status then generates a sed script containing the substitutions, and sed breaks because there's a multiline string in there that's not marked as such. In my view this is an autoconf bug, but it's easily preventable, so why not save everyone the pain? hpj [~] /opt/gnome/bin/autoconf --version autoconf (GNU Autoconf) 2.59 hpj [~] /opt/gnome/bin/automake --version automake (GNU automake) 1.9.6 hpj [~] /opt/gnome/bin/libtoolize --version libtoolize (GNU libtool) 1.5.22 hpj [~] /opt/gnome/bin/intltoolize --version intltoolize (GNU intltool) 0.34.90
Created attachment 64005 [details] [review] Patch that fixes the problem. The patch uses tr to replace linefeeds with spaces (after comments are removed). It formats the linguas on a single line.
*** This bug has been marked as a duplicate of 339159 ***