Bug 787115

Summary: gedit-code-assistance : does not adhere to Static Library Packaging Guidelines
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: gedit-code-assistanceAssignee: Ignacio Casal Quinteiro (nacho) <icq>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhideCC: icq, michel
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: gedit-code-assistance-0.1.2-2.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-12 22:52:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Michael Schwendt 2012-02-03 08:04:08 UTC
gedit-code-assistance-0.1.2-1.fc16.src
is missing
BuildRequires: llvm-static

[...]

https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2

If a library you depend on only provides a static version your package can link against it provided that you BuildRequire the *-static subpackage. Packagers in such a situation should be aware that if a shared library becomes available, that you should adjust your package to use the shared library.

Comment 1 Ignacio Casal Quinteiro (nacho) 2012-02-03 08:11:58 UTC
am I not linking to the shared library of llvm? or does llvm just provides a static library?

Comment 2 Michael Schwendt 2012-02-03 09:20:49 UTC
It's an automatic check that has been performed
( http://mschwendt.fedorapeople.org/staticbugstat.html ).

llvm packaging is a bit unusual, so I may need to find some more time to analyze this. A first observation:

llvm-devel contains many static libs, no shared ones at all.

It also contains static libs for other subpackages, e.g. libclang.a whereas the shared libclang.so is in clang-devel - there is no clang-static subpackage or "Provides". That package split is somewhat unfortunate, because lots of static libs are made available to anyone who just wants the llvm-config executable. It could be that this has lead to a sporadic false positive here.

Comment 3 Fedora Update System 2012-02-03 09:54:54 UTC
gedit-code-assistance-0.1.2-2.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/gedit-code-assistance-0.1.2-2.fc16

Comment 4 Michel Alexandre Salim 2012-02-03 10:08:52 UTC
LLVM used to not even provide any shared libraries at all, and was all static. Michael, if you have any suggestion as to a fix, please file a bug against it and I'll take a look (and we could use comaintainers too)

Comment 5 Fedora Update System 2012-02-04 05:28:56 UTC
Package gedit-code-assistance-0.1.2-2.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing gedit-code-assistance-0.1.2-2.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-1269/gedit-code-assistance-0.1.2-2.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Update System 2012-02-12 22:52:16 UTC
gedit-code-assistance-0.1.2-2.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.