Package: haxe
Version: 1:2.3-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu karmic ubuntu-patch
*** /tmp/tmpV9Nlz2
In Ubuntu karmic build-env haxe FTBFS (buildlog here [1]), we've applied the
attached patch to fix this.
* debian/install_native.ml:
- Update zlib search path to fix FTBFS.
[1]
http://launchpadlibrarian.net/27368932/buildlog_ubuntu-karmic-i386.haxe_1%3A2.3-1_FAILEDTOBUILD.txt.gz
-- System Information:
Debian Release: 5.0
APT prefers jaunty-updates
APT policy: (500, 'jaunty-updates'), (500, 'jaunty-security'), (500,
'jaunty-backports'), (500, 'jaunty')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-020630rc5-generic (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -u haxe-2.3/debian/install_native.ml haxe-2.3/debian/install_native.ml
--- haxe-2.3/debian/install_native.ml
+++ haxe-2.3/debian/install_native.ml
@@ -38,7 +38,7 @@
let zlib =
try
- List.find Sys.file_exists ["/usr/lib64/libz.so.1";"/usr/lib/libz.so.1"]
+ List.find Sys.file_exists ["/usr/lib64/libz.so.1";"/usr/lib/libz.so.1";"/usr/lib/libz.so"]
with
Not_found ->
failwith "LibZ was not found on your system, please install it or modify the search directories in the install script"