Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 556101 - xen : does not adhere to Static Library Packaging Guidelines
Summary: xen : does not adhere to Static Library Packaging Guidelines
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: xen
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Xen Maintainance List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F13VirtTarget
TreeView+ depends on / blocked
 
Reported: 2010-01-16 14:47 UTC by Michael Schwendt
Modified: 2010-06-03 09:00 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-06-03 09:00:48 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2010-01-16 14:47:55 UTC
The package is in need of an update because it does not adhere to
the guidelines for packaging static libraries:

  http://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries

The -devel package contains both the shared and the static build of
a library. That makes it possible to link statically with the -devel
package as a build requirement instead of having to build-require a
special-purpose -static subpackage.

Correct would be to either disable/delete the static libraries at
build-time, or to %exclude them in the %files section, or to split off
a -static subpackage (if there is a compelling reason as why the static
libs should be made available).

Please consult the guidelines for the details.

[...]

xen-devel
    /usr/lib/libblktap.so  <=>  /usr/lib/libblktap.a
    /usr/lib/libflask.so  <=>  /usr/lib/libflask.a
    /usr/lib/libxenctrl.so  <=>  /usr/lib/libxenctrl.a
    /usr/lib/libxenguest.so  <=>  /usr/lib/libxenguest.a
    /usr/lib/libxenstore.so  <=>  /usr/lib/libxenstore.a

Comment 1 Michael Schwendt 2010-03-11 17:09:51 UTC
* There is only one package in Fedora, which BuildRequires xen-devel and mentions "-static" in its build log: vhostmd
It links shared in the final compiler call.

* xenwatch : creates a non-verbose build log, but links shared with libxenstore

* xenner : creates a non-verbose build log, but links shared

* libvirt : links shared

Comment 2 Michael Schwendt 2010-06-03 09:00:48 UTC
Closed by: fedora-report-static-batch.py


Note You need to log in before you can comment on or make changes to this bug.