GNOME Bugzilla – Bug 339252
Multi-line ALL_LINGUAS breaks build
Last modified: 2006-04-21 13:26:28 UTC
Please describe the problem: When trying to build file-roller 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 Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information:
Created attachment 64002 [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.
Please follow updated guideline at http://live.gnome.org/GnomeGoals/PoLinguas (same for all the other bugs)
*** This bug has been marked as a duplicate of 338605 ***