Bug 889175 - motif : does not adhere to Static Library Packaging Guidelines
Summary: motif : does not adhere to Static Library Packaging Guidelines
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: motif
Version: 19
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Thomas Woerner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-12-20 12:35 UTC by Michael Schwendt
Modified: 2013-05-29 13:36 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-29 13:36:14 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2012-12-20 12:35:42 UTC
motif-2.3.4-3.fc19.src
is missing
BuildRequires: flex-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 Thomas Woerner 2012-12-20 13:12:31 UTC
The flex-static package in Fedora 12 to 17 provides the default implementation of main used in old lex/flex parsers. The shared flex library does not provide this. With Fedora >17 this is provided with the flex-devel package.

This is an excerpt of the motif spec file:

%if 0%{?fedora} > 17 || 0%{?rhel} > 6
BuildRequires: flex-devel
%endif
%if 0%{?fedora} > 12 && 0%{?fedora} <= 17
BuildRequires: flex-static
%endif

What needs to get changed here?

Comment 2 Michael Schwendt 2012-12-20 14:40:26 UTC
> The shared flex library

There is none.


> What needs to get changed here?

"BuildRequires: flex-static" is missing, because flex-devel contains only static libs, and what to do in that case is explained at:
https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2

Comment 3 Fedora End Of Life 2013-04-03 19:08:29 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 Michael Schwendt 2013-05-29 13:36:14 UTC
Closed by: fedora-report-static-batch.py
http://mschwendt.fedorapeople.org/staticbugstat.html


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