After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 339256 - Multi-line ALL_LINGUAS breaks build
Multi-line ALL_LINGUAS breaks build
Status: RESOLVED DUPLICATE of bug 339159
Product: gnome-media
Classification: Deprecated
Component: general
2.14.x
Other Linux
: Normal minor
: ---
Assigned To: gnome media maintainers
gnome media maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-21 06:32 UTC by Hans Petter Jansson
Modified: 2006-05-02 13:16 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Patch that fixes the problem. (578 bytes, patch)
2006-04-21 06:34 UTC, Hans Petter Jansson
none Details | Review

Description Hans Petter Jansson 2006-04-21 06:32:50 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
Comment 1 Hans Petter Jansson 2006-04-21 06:34:30 UTC
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.
Comment 2 Ronald Bultje 2006-05-02 13:16:06 UTC

*** This bug has been marked as a duplicate of 339159 ***