Bug 967214

Summary: collectd : does not adhere to Static Library Packaging Guidelines
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: collectdAssignee: Ruben Kerkhof <ruben>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: apevec, bugs.michael, mail, rjones, ruben
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: 2013-05-29 13:36:21 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 2013-05-25 15:04:53 UTC
collectd-5.3.0-1.fc20.src
is missing
BuildRequires: iproute-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 Ruben Kerkhof 2013-05-26 08:46:26 UTC
Hi Michael,

There is no iproute-static.
We have a BuildRequires: iproute-devel, which has the static libnetlink.a library

Are you automatically opening these bug reports, or did you find this another way?

Comment 2 Michael Schwendt 2013-05-26 11:06:10 UTC
There's a virtual -static package as explained in the linked packaging guidelines:

  # repoquery --whatprovides iproute-static
  iproute-devel-0:3.9.0-1.fc19.i686
  iproute-devel-0:3.9.0-1.fc19.x86_64
  iproute-devel-0:3.9.0-1.fc19.i686
  iproute-devel-0:3.9.0-1.fc19.x86_64

And yes, these tickets are opened/closed automatically by a highly experimental (albeit pretty safe) script. Current bug status:
http://mschwendt.fedorapeople.org/staticbugstat.html

Comment 3 Ruben Kerkhof 2013-05-27 07:23:34 UTC
Ah, sorry, I missed that.

Will fix... thanks.

Comment 4 Michael Schwendt 2013-05-29 13:36:21 UTC
Closed by: fedora-report-static-batch.py
http://mschwendt.fedorapeople.org/staticbugstat.html