Bug 889175

Summary: motif : does not adhere to Static Library Packaging Guidelines
Product: [Fedora] Fedora Reporter: Michael Schwendt <bugs.michael>
Component: motifAssignee: Thomas Woerner <twoerner>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 19CC: siddharth.kde, twoerner
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-29 13:36:14 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-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