Bug 15510

Summary: broken/dead symlinks, weird rpm dependency on ocaml, off-place ocaml content in package llvm
Product: Mageia Reporter: Xavier Matz <c934w-xavm493b>
Component: RPM PackagesAssignee: Thomas Backlund <tmb>
Status: NEW --- QA Contact:
Severity: normal    
Priority: Normal CC: marja11, micheelsen
Version: Cauldron   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: MGA5TOO
Source RPM: llvm-3.5.0-3.mga5.src.rpm CVE:
Status comment:

Description Xavier Matz 2015-03-17 19:55:26 CET
Description of problem:
oddly enough (imho), the llvm package contains quite some ocaml stuff and stuff oddy installed in /lib64/ocaml. 

Additionally, the package contains several dependencies on other ocaml stuff. Neither is necessary nor of any use for most llvm users, and a quick glance at the llvm packages of other distribs (fedora,opensuse) on rpmfind seems to suggest that they don't have that ocaml stuff and dependencies in their llvm package.

Even more oddly, among the things package llvm oddly installs in /lib64/ocaml, there are quite a number of broken/dead symlinks to files that are provided by (not installed) package lib64llvm-devel. 

Here's a list of symlinks that are broken in /lib64/ocaml when lib64llvm-devel is not installed:
/lib64/ocaml/libLLVMX86AsmPrinter.a
/lib64/ocaml/libLLVMInterpreter.a
/lib64/ocaml/libLLVMInstCombine.a
/lib64/ocaml/libLLVMBitReader.a
/lib64/ocaml/libLLVMR600Desc.a
/lib64/ocaml/libLLVMR600CodeGen.a
/lib64/ocaml/libLLVMR600Info.a
/lib64/ocaml/libLLVMVectorize.a
/lib64/ocaml/libLLVMSupport.a
/lib64/ocaml/libLLVMAsmPrinter.a
/lib64/ocaml/libLLVMipa.a
/lib64/ocaml/libLLVMMCParser.a
/lib64/ocaml/libLLVMJIT.a
/lib64/ocaml/libLLVMX86AsmParser.a
/lib64/ocaml/libLLVMCore.a
/lib64/ocaml/libLLVMObject.a
/lib64/ocaml/libLLVMIRReader.a
/lib64/ocaml/libLLVMTarget.a
/lib64/ocaml/libLLVMAnalysis.a
/lib64/ocaml/libLLVMR600AsmPrinter.a
/lib64/ocaml/libLLVMLinker.a
/lib64/ocaml/libLLVMExecutionEngine.a
/lib64/ocaml/libLLVMX86Info.a
/lib64/ocaml/libLLVMAsmParser.a
/lib64/ocaml/libLLVMScalarOpts.a
/lib64/ocaml/libLLVMX86Desc.a
/lib64/ocaml/libLLVMCodeGen.a
/lib64/ocaml/libLLVMX86CodeGen.a
/lib64/ocaml/libLLVMipo.a
/lib64/ocaml/libLLVMBitWriter.a
/lib64/ocaml/libLLVMTransformUtils.a
/lib64/ocaml/libLLVMX86Utils.a
/lib64/ocaml/libLLVMMC.a
/lib64/ocaml/libLLVMX86Disassembler.a
/lib64/ocaml/libLLVMSelectionDAG.a


Reproducible: 

Steps to Reproduce:
David Walser 2015-03-17 21:33:21 CET

Assignee: bugsquad => tmb

Samuel Verschelde 2015-05-31 23:21:35 CEST

Whiteboard: (none) => MGA5TOO

Comment 1 Marja Van Waes 2015-06-02 23:23:11 CEST
from #mageia-dev:


2015:06:02:23:18 < joeghi> sound there is a broken link in lib64llvm-devel-3.5.0-3.mga5, the softlink: libLLVM-3.5.0.so points to libLLVM-3.5.so which is not there.

CC: (none) => marja11

Comment 2 Hans Micheelsen 2024-04-10 10:53:46 CEST
Is this bug still valid? I have llvm installed but do not see any /lib64/ocaml folder.
There is no description how to reproduce the bug.

CC: (none) => micheelsen