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 339252 - Multi-line ALL_LINGUAS breaks build
Multi-line ALL_LINGUAS breaks build
Status: RESOLVED DUPLICATE of bug 338605
Product: file-roller
Classification: Applications
Component: general
2.14.x
Other All
: Normal blocker
: ---
Assigned To: Paolo Bacchilega
file-roller-maint
Depends on:
Blocks:
 
 
Reported: 2006-04-21 05:39 UTC by Hans Petter Jansson
Modified: 2006-04-21 13:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.15/2.16


Attachments
Patch that fixes the problem. (899 bytes, patch)
2006-04-21 05:42 UTC, Hans Petter Jansson
needs-work Details | Review

Description Hans Petter Jansson 2006-04-21 05:39:27 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:
Comment 1 Hans Petter Jansson 2006-04-21 05:42:10 UTC
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.
Comment 2 Olav Vitters 2006-04-21 09:03:46 UTC
Please follow updated guideline at
http://live.gnome.org/GnomeGoals/PoLinguas

(same for all the other bugs)
Comment 3 Paolo Bacchilega 2006-04-21 13:26:28 UTC

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