Bug 1230493 - Requires on glibc-headers should be removed.
Summary: Requires on glibc-headers should be removed.
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: sg3_utils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dan Horák
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1230505
TreeView+ depends on / blocked
 
Reported: 2015-06-11 04:07 UTC by Carlos O'Donell
Modified: 2017-02-21 13:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-21 13:29:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Carlos O'Donell 2015-06-11 04:07:25 UTC
The devel package should not Requires on glibc-headers.

The development libraries and headers will be used by developers via BuildRequires, but along with BuildRequires: gcc or BuildRequires: gcc-gfortran or BuildRequires: gcc-c++ to be able to compile their code.

The compiler will ensure the standard libraries and headers are installed to make sure the library headers are complete e.g. that #include <stdio.h> works.

There is no need to Require: glibc-headers. The reason I'm asking for the removal of glibc-headers is that the package may or may not go away in the future depending on sub-package restructuring, and it is not needed.

Comment 1 Jan Kurik 2015-07-15 14:01:43 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 2 Carlos O'Donell 2016-06-08 14:41:25 UTC
Any progress on removing the unused BuildRequires on glibc-headers?

Comment 3 Dan Horák 2016-06-08 14:48:34 UTC
Is there an other way to ensure /usr/include/scsi/{sg,scsi}.h headers (carried by glibc-headers) are available? Because the headers from sg3_utils-devel #include them.

Comment 4 Carlos O'Donell 2016-06-09 01:26:58 UTC
(In reply to Dan Horák from comment #3)
> Is there an other way to ensure /usr/include/scsi/{sg,scsi}.h headers
> (carried by glibc-headers) are available? Because the headers from
> sg3_utils-devel #include them.

A C or C++ -devel package does not need to have a dependency on any headers that are part of the C or C++ compilation environment. Your -devel package will never be enough by itself to form a "complete" set of headers so you don't need to add dependencies for every part of the C or C++ compilation environment that you need.

The package that is being built using sg3_utils-devel will install a C or C++ compilation environment and that will complete the set of C or C++ system headers required to build binaries with sg3_utils-devel.

The C and C++ Application specific guideline [1] tries to cover this, but in version 2 we're going to clarify the language to make this more explicit.

[1] https://fedoraproject.org/wiki/Packaging:C_and_C%2B%2B#BuildRequires_and_Requires

Does that answer your question?

Comment 5 Jan Kurik 2016-07-26 04:10:50 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 25 development cycle.
Changing version to '25'.

Comment 6 Than Ngo 2017-02-21 13:29:19 UTC
it's fixed in sg3_utils-1.42-1.fc26.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17977237


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