[Pkg-virtualbox-devel] Bug#494157: virtualbox-ose: FTBFS is set to LC_ALL=fr_FR.UTF-8
Gonéri Le Bouder
goneri at rulezlan.org
Thu Aug 7 14:10:36 UTC 2008
Package: virtualbox-ose
Version: 1.6.2-dfsg-3
Severity: normal
Tag: patch
Hi,
In your debian/rules you use lynx like that:
export LANG=C; lynx -force_html -dump debian/README.Debian.html
if LC_ALL is set to fr_FR.UTF-8, lynx will localize the
README.Debian.html generated file.
My LC_ALL is set to fr_FR.UTF-8.
$ export LANG=C; lynx -force_html -dump debian/README.Debian.html|grep rences
Références
(the é acents)
Forcing LC_ALL to C is enough to fix the problem.
$ LC_ALL=C lynx -force_html -dump debian/README.Debian.html|grep rences
References
If the README.Debian.html is localized, the build fails like that:
xsltproc --nonet --stringparam section.autolabel 1 \
-o debian/README.Debian.html \
/usr/share/xml/docbook/stylesheet/nwalsh/html/docbook.xsl \
debian/virtualbox-ose.README.Debian.xml
chmod 755 debian/lynx-dump-postprocess
export LANG=C; lynx -force_html -dump debian/README.Debian.html | ./debian/lynx-dump-postprocess > debian/virtualbox-ose.README.Debian.tmp
Died at ./debian/lynx-dump-postprocess line 19.
make: *** [debian/virtualbox-ose.README.Debian] Erreur 255
Référence breaks ./debian/lynx-dump-postprocess regex line 17. The script expect
'Reference'.
Index: debian/rules
===================================================================
--- debian/rules.orig
+++ debian/rules
@@ -34,7 +34,7 @@
# ... and text/plain
debian/virtualbox-ose.README.Debian: debian/README.Debian.html
chmod 755 debian/lynx-dump-postprocess
- export LANG=C; lynx -force_html -dump $< | ./debian/lynx-dump-postprocess > $@.tmp
+ export LC_ALL=C; lynx -force_html -dump $< | ./debian/lynx-dump-postprocess > $@.tmp
mv $@.tmp $@
env.sh: patch-stamp
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-1-686 (SMP w/1 CPU core)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to fr_FR.UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages virtualbox-ose depends on:
ii adduser 3.109 add and remove users and groups
ii debconf [debconf-2.0] 1.5.23 Debian configuration management sy
ii libc6 2.7-13 GNU C Library: Shared libraries
ii libgcc1 1:4.3.1-8 GCC support library
ii libgl1-mesa-glx [libgl1] 7.0.3-5 A free implementation of the OpenG
ii libglib2.0-0 2.16.5-1 The GLib library of C routines
ii libidl0 0.8.10-0.1 library for parsing CORBA IDL file
ii libqt3-mt 3:3.3.8b-5 Qt GUI Library (Threaded runtime v
ii libsdl1.2debian 1.2.13-2 Simple DirectMedia Layer
ii libstdc++6 4.3.1-8 The GNU Standard C++ Library v3
ii libx11-6 2:1.1.4-2 X11 client-side library
ii libxcursor1 1:1.1.9-1 X cursor management library
ii libxml2 2.6.32.dfsg-2 GNOME XML library
ii libxslt1.1 1.1.24-2 XSLT processing library - runtime
ii libxt6 1:1.0.5-3 X11 toolkit intrinsics library
Versions of packages virtualbox-ose recommends:
ii virtualbox-ose-mod 1.6.2-dfsg-3+2.6.25-1 VirtualBox modules for Linux (kern
Versions of packages virtualbox-ose suggests:
ii bridge-utils 1.4-4 Utilities for configuring the Linu
ii virtualbox-ose-source 1.6.2-dfsg-3 x86 virtualization solution - kern
-- debconf information:
* virtualbox-ose/upstream_version_change: true
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20080807/101c95f5/attachment.pgp
More information about the Pkg-virtualbox-devel
mailing list