Bug 1021880 - Header files installed without the corresponding libraries
Summary: Header files installed without the corresponding libraries
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: hadoop
Version: rawhide
Hardware: All
OS: Linux
unspecified
low
Target Milestone: ---
Assignee: Robert Rati
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-22 09:12 UTC by Mattias Ellert
Modified: 2013-11-10 07:34 UTC (History)
3 users (show)

Fixed In Version: hadoop-2.2.0-1.fc20
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-10 07:34:00 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Mattias Ellert 2013-10-22 09:12:10 UTC
Description of problem:

This issue was mentioned in bug 1017596 comment 8, but is totally unreleated to that bug, and I therefore create a separate bugzilla entry for it.

The hadoop-devel package installs some header files (Pipes.hh, SerialUtils.hh, StringUtils.hh, TemplateFactory.hh), but the corresponding libraries is missing in the packaging. These headers declare functions and classes in the libhadooppipes and libhadooputils libraries. Without installing the libraries, the headers are not usable. So were these libraries supposed to be installed, or the headers not to be installed?

Version-Release number of selected component (if applicable):

hadoop-devel-2.0.5-12

Steps to Reproduce:
1. Install hadoop-devel

Actual results:

Pipes.hh, SerialUtils.hh, StringUtils.hh, TemplateFactory.hh installed.
libhadooppipes and libhadooputils not installed.

Expected results:

Either both headers and libraries should be installed, or neither headers nor libraries should be installed.

Additional info:

The upstream build instructions seem to only build these libraries as static libraries. Is it possible to build these as shared object libraries instead, which would be to most Fedora Guidelines compiant way? Or is it necessary for these libraries to be static?

http://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries says "In general, packagers are strongly encouraged not to ship static libs unless a compelling reason exists."

If the only reason is "it is what upstream does", that is not compelling enough, but there might be other reasons in this case.

Comment 1 Robert Rati 2013-10-23 14:07:04 UTC
The additional header files will be removed in the next build.

Comment 2 Fedora Update System 2013-10-24 12:27:27 UTC
hadoop-2.2.0-1.fc20,objenesis-1.2-16.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/hadoop-2.2.0-1.fc20,objenesis-1.2-16.fc20

Comment 3 Fedora Update System 2013-10-24 17:47:47 UTC
Package hadoop-2.2.0-1.fc20, objenesis-1.2-16.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hadoop-2.2.0-1.fc20 objenesis-1.2-16.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-19859/hadoop-2.2.0-1.fc20,objenesis-1.2-16.fc20
then log in and leave karma (feedback).

Comment 4 Fedora Update System 2013-11-10 07:34:00 UTC
hadoop-2.2.0-1.fc20, objenesis-1.2-16.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.


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