Bug 787187

Summary: Confusing package structure and dependency chain
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: llvmAssignee: Adam Jackson <ajax>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: bos, dmalcolm, jv+fedora, michel
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-05 11:36:08 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Michael Schwendt 2012-02-03 12:48:53 UTC
As whether these issues are fixable, dunno. They are unusual. For example:

$ sudo yum install gedit-code-assistance
[...]
Installing:
 gedit-code-assistance    x86_64    0.1.2-1.fc16       updates            100 k
Installing for dependencies:
 clang                    x86_64    2.9-6.fc16         updates-testing    6.0 M
 llvm                     x86_64    2.9-6.fc16         updates-testing    491 k
Updating for dependencies:
 llvm-libs                x86_64    2.9-6.fc16         updates-testing    5.3 M
[...]

One doesn't get just the Clang shared lib, but with package "llvm", all LLVM tools are pulled in, too.

"llvm" is an explicit dependency in "clang" even. Why is that? The spec file ought to comment on Explicit Requires. The dependency on llvm-libs is automatic because of the shared lib (but actually llvm-libs also contains a ld.so.conf file, so that one should be an explicit dep).

* Package "clang" installs its own compiler plus headers, which belong into clang-devel instead:

# rpmls clang|grep include|wc -l
24

* The static libs for "clang" are found in llvm-devel.

* The manual for /usr/bin/tblgen (from "clang") is located in package "llvm".

Comment 1 Michel Lind 2012-02-03 14:22:44 UTC
Thanks. I need to figure out LLVM 3.0 <--> GCC 4.7 compilation problems first, at the moment, but as soon as that is fixed I'll try and reorganize the filesystem layout for F-17 and then backport those changes to F16.

Comment 2 Fedora Admin XMLRPC Client 2013-02-27 15:11:17 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora End Of Life 2013-04-03 19:11:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 4 Jan Včelák 2014-12-25 23:35:32 UTC
This report is still valid.

And I believe the explicit requirement of llvm in clang can be dropped safely.

Comment 5 Jan Kurik 2015-07-15 15:11:57 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 6 Jan Včelák 2016-06-05 11:36:08 UTC
This problem is fixed in Fedora 24. Clang no longer pulls llvm, just llvm-libs.

We don't have resources to fix this in F23, as we completely reworked LLVM/clang packaging.