Bug#495462: llvm-dev: amd64 binary package contains (apparently broken) ocaml bindings

Romain Francoise rfrancoise at debian.org
Sun Aug 17 15:40:15 UTC 2008


Package: llvm-dev
Version: 2.2-8
Severity: important

The amd64 version of llvm-dev present in the archive has an extra
directory /usr/lib/llvm/lib/ocaml which is not present in the i386
package.  This directory contains (among other things) a bunch of
broken symlinks to /home/madcoder/dev/llvm:

$ find -L /usr/lib/llvm/lib/ocaml -type l -exec readlink {} \;
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMAnalysis.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/LLVMExecutionEngine.o
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMCore.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMSelectionDAG.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMTransformUtils.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMCodeGen.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/LLVMInterpreter.o
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/LLVMX86.o
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMSystem.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMSupport.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMipa.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMBitReader.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/LLVMJIT.o
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMBitWriter.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMTarget.a
/home/madcoder/dev/llvm/debian/tmp/usr/lib/llvm/lib/libLLVMScalarOpts.a
$

The packages were apparently built on an unclean system and
automatically enabled the ocaml bindings because the ocaml
development environment was installed.

I'm setting the severity to `important' since this can have other
side effects, feel free to downgrade if you feel this is not
justified.

Thanks,
-- 
Romain Francoise <rfrancoise at debian.org>
http://people.debian.org/~rfrancoise/





More information about the Pkg-llvm-team mailing list