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 1058014 - FTBFS
Summary: FTBFS
Keywords:
Status: CLOSED DUPLICATE of bug 1024048
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: xfsdump
Version: 7.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Eric Sandeen
QA Contact: Filesystem QE
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-01-26 13:10 UTC by Zenon Panoussis
Modified: 2014-01-27 19:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-27 12:32:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Zenon Panoussis 2014-01-26 13:10:56 UTC
rpmbuild -ba xfsdump.spec
...
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking sys/uuid.h usability... no
checking sys/uuid.h presence... no
checking for sys/uuid.h... no
checking uuid/uuid.h usability... yes
checking uuid/uuid.h presence... yes
checking for uuid/uuid.h... yes
checking for uuid_compare... no
checking for uuid_compare in -luuid... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_mutex_init in -lpthread... yes
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking for initscr in -lncurses... yes
checking for bad glibc/ncurses header interaction... ok
checking xfs/xfs.h usability... no
checking xfs/xfs.h presence... no
checking for xfs/xfs.h... no

FATAL ERROR: cannot find a valid <xfs/xfs.h> header file.
Install or upgrade the XFS development package.
Alternatively, run "make install-dev" from the xfsprogs source.

This hapens both inside and outside of mock. In mock xfsprogs-devel is pulled in correctly and the headers exist where they should:

$ ls /var/lib/mock/el7-beta1-i686/root/usr/include/xfs/
handle.h  jdm.h  linux.h  platform_defs.h  platform_defs-i386.h  xfs_fs.h  xfs.h  xqm.h

And the rpm path macros are OK:

+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub
'/usr/lib/rpm/redhat/config.sub' -> './config.sub'
+ ./configure --build=i686-redhat-linux-gnu --host=i686-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
configure: WARNING: unrecognized options: --disable-dependency-tracking

I can't figure out what is causing it.

Comment 2 Zenon Panoussis 2014-01-26 14:28:05 UTC
I found it. 

xfs/xfs.h says #include <xfs/xfs_types.h>, but there is no such file in /usr/include/xfs/. 

xfs_types.h is provided by xfsprogs-qa-devel. Solution:

--- xfsdump.spec.orig	2014-01-26 15:27:12.254000000 +0100
+++ xfsdump.spec	2014-01-26 15:27:22.872000000 +0100
@@ -10,7 +10,7 @@
 Source0: ftp://oss.sgi.com/projects/xfs/cmd_tars/%{name}-%{version}.tar.gz
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: libtool, gettext, gawk
-BuildRequires: xfsprogs-devel, libuuid-devel, libattr-devel ncurses-devel
+BuildRequires: xfsprogs-devel, xfsprogs-qa-devel, libuuid-devel, libattr-devel ncurses-devel
 Requires: xfsprogs >= 2.6.30, attr >= 2.0.0

Now it builds.

Comment 3 Boris Ranto 2014-01-27 12:32:36 UTC
Hi,

this was already fixed in a more recent xfsprogs release (we moved xfs/xfs_types.h to xfsprogs-devel rpm), see bz1024048 for details.

Marking as duplicate of the bz.

*** This bug has been marked as a duplicate of bug 1024048 ***

Comment 4 Eric Sandeen 2014-01-27 15:44:38 UTC
Right, should be fixed now; I don't know why this hasn't been included in the buildroots, I built & tagged it on Nov 15, and filed the errata on Dec 19.

Comment 5 Zenon Panoussis 2014-01-27 19:46:21 UTC
(In reply to Eric Sandeen from comment #4)
> Right, should be fixed now; I don't know why this hasn't been included in
> the buildroots

It might have, but fixes that come out of QA are not pushed to http://ftp.redhat.com/pub/redhat/rhel/beta/7/ , so we keep running into bugs that have already been fixed.

Comment 6 Eric Sandeen 2014-01-27 19:47:32 UTC
All I can do is fix the bugs, I can't control all the machinery.  ;)  (TBH I missed that you were an external filer).


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