Package: haxe Version: 1:2.5-1 Severity: normal Tags: patch User: vor...@debian.org Usertags: multiarch
Hi Jens Peter, The haxe package fails to build against a multiarch-enabled zlib1g-dev, because it tries to look up the path to libz manually on the filesystem and fails if it doesn't find it. However, there should be no need for such a check since ocamlopt can just pass -lz to the compiler instead, and let the compiler search for the lib. The attached patch to do this has been uploaded to Ubuntu to fix the build failure there. Please consider applying it to the Debian package as well, since multiarch libraries are expected to land in Debian soon. Thanks, -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer http://www.debian.org/ slanga...@ubuntu.com vor...@debian.org
diff -Nru haxe-2.5/debian/install_native.ml haxe-2.5/debian/install_native.ml --- haxe-2.5/debian/install_native.ml 2010-01-31 14:12:40.000000000 -0800 +++ haxe-2.5/debian/install_native.ml 2011-04-15 01:22:55.000000000 -0700 @@ -36,12 +36,7 @@ let ocamloptflags = "-cclib -fno-stack-protector " -let zlib = - try - 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" +let zlib = "-lz" let msg m = prerr_endline m;