Bug#781341: libllvm-ocaml-dev: Broken symlink: /usr/lib/ocaml/METAS/META.llvm -> META.llvm-3.x

Emmanuel Fleury fleury at labri.fr
Sat Mar 28 08:37:29 UTC 2015



On 03/27/2015 11:46 PM, Sylvestre Ledru wrote:
> On 27/03/2015 23:28, Emmanuel Fleury wrote:
>> On 03/27/2015 07:48 PM, Sylvestre Ledru wrote:
>>> OK, don't hesitate to provide a patch, this should be easy.
>> Well, I am new to opam (the OCaml package manager), so I didn't know
>> exactly what to do. But, here is the file to write at
>> /usr/lib/ocaml/METAS/META.llvm (attached to this email).
>>
>> I tried it and seems to work fine (at least for me).
>>
> It is not a patch but I will see what I can do (or someone else if I
> haven't done anything)

I spent a bit more time on it, here is a patch that, I believe, solve
the problem.

diff -ruN llvm-defaults-0.26.orig/debian/rules
llvm-defaults-0.26/debian/rules
--- llvm-defaults-0.26.orig/debian/rules	2015-03-28 00:05:18.400955136 +0100
+++ llvm-defaults-0.26/debian/rules	2015-03-28 09:34:38.435145704 +0100
@@ -185,7 +185,7 @@
 	dh_installdirs -plibllvm-ocaml-dev \
 		/usr/lib/ocaml/METAS
 	dh_link -plibllvm-ocaml-dev \
-		/usr/lib/ocaml/METAS/META.llvm-$(CURRENT_VERSION)
/usr/lib/ocaml/METAS/META.llvm \
+		/usr/lib/ocaml/llvm-$(CURRENT_VERSION)/META.llvm
/usr/lib/ocaml/METAS/META.llvm \
 		/usr/lib/ocaml/llvm-$(CURRENT_VERSION) /usr/lib/ocaml/llvm

 	: # clang



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-llvm-team/attachments/20150328/cfd7d01e/attachment-0001.sig>


More information about the Pkg-llvm-team mailing list