RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1024048 - [xfsprogs] Move xfs_types.h from xfsprogs-qa-devel to xfsprogs-devel
Summary: [xfsprogs] Move xfs_types.h from xfsprogs-qa-devel to xfsprogs-devel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: xfsprogs
Version: 7.0
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: ---
Assignee: Eric Sandeen
QA Contact: Boris Ranto
URL:
Whiteboard:
: 1058014 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-10-28 16:44 UTC by Boris Ranto
Modified: 2014-06-18 04:55 UTC (History)
5 users (show)

Fixed In Version: xfsprogs-3.2.0-0.2.alpha1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 12:29:43 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Boris Ranto 2013-10-28 16:44:30 UTC
Description of problem:
The new xfsprogs 3.2.0-alpha1 includes <xfs/xfs_types.h> in <xfs/xfs.h>. Please, move the file from xfsprogs-qa-devel to xfsprogs-devel so that the compilation of utilities using <xfs/xfs.h> does not fail.

Version-Release number of selected component (if applicable):
xfsprogs-3.2.0-0.1.alpha1.el7

How reproducible:
Always

Steps to Reproduce:
1. Compile a C program with #include <xfs/xfs.h>
2. 
3.

Actual results:
The compilation fails with /usr/include/xfs/xfs.h:37:27: fatal error: xfs/xfs_types.h: No such file or directory.

Expected results:
The compilation succeeds.

Additional info:

Comment 1 Dave Chinner 2013-10-31 00:01:36 UTC
Eric,

This seems like a problem with the rpm build? The include/Makefile defines xfs_types.h as a header file that should be installed via the install-dev makefile rule. Indeed, the install-qa makefile rule does *not* install xfs_types.h, so perhaps the rpm build scripts are getting the install directives wrong?

FWIW, the Debian xfslibs-dev package build out of the upstream repository for 3.2.0-alpha installs /usr/include/xfs/xfs_types.h correctly, which further points to an rpm build problem....

-Dave.

Comment 2 Eric Sandeen 2013-11-04 18:36:29 UTC
Dave,

For rpm spec files, there is no mapping from install-$FOO targets to subpackage AFAIK.  We just have to run every install-$FOO we want, and sort the results into subpackages in %file lists.

I'm not sure if there are any better tools now, but from the old RPM book, "At present, the best way to create the file list is to read the makefile to see what files it installs, verify this against the files installed on the build system, and create the list."  Not terribly robust.

In any case, yeah, it's a packaging problem, not a Makefile or code problem.

Comment 3 Eric Sandeen 2013-11-04 19:30:30 UTC
I did double check that other than this xfs_types.h problem, each subpackage does now have the proper set of files installed by each install-$FOO target.

-Eric

Comment 7 Boris Ranto 2014-01-27 12:32:36 UTC
*** Bug 1058014 has been marked as a duplicate of this bug. ***

Comment 8 Ludek Smid 2014-06-13 12:29:43 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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