[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#528317: luatex: Luatex 0.4.0 FTBFS with undefined reference to `mainbody'



Package: luatex
Version: 0.40.0-1
Severity: serious
Tags: patch
Justification: no longer builds from source
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu jaunty ubuntu-patch

When building the package, it's FTBFS with an undefined reference to mainbody.
According to http://tug.org/pipermail/luatex/2009-March/000556.html, we have to
add export CONFIG_SHELL=/bin/bash to fix this FTBFS (and it works).

*** /tmp/tmpwqqvL9
In Ubuntu, we've applied the attached patch to achieve the following:

  * debian/rules: fix FTBFS

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: 5.0
  APT prefers jaunty-updates
  APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500, 'jaunty')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.28-11-generic (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
diff -u luatex-0.40.0/debian/rules luatex-0.40.0/debian/rules
--- luatex-0.40.0/debian/rules
+++ luatex-0.40.0/debian/rules
@@ -18,7 +18,7 @@
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
-	bash ./build.sh --nostrip
+	export CONFIG_SHELL=/bin/bash && bash ./build.sh --nostrip
 	touch $@
 
 patch-stamp:

Reply to: