Bug 1199605

Summary: FTBFS: requires file >= 5.11-22 but file = 5.11-21 is in release
Product: Red Hat Enterprise Linux 7 Reporter: Pat Riehecky <riehecky>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.1CC: csieh, emcnabb, huzhan, johnny, leiwang, misterbonnie, ptoscano, rjones, tis, wshi
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libguestfs-1.28.1-1.46.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-19 07:00:02 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1067688    
Bug Blocks: 1200597    

Description Pat Riehecky 2015-03-06 17:58:13 UTC
Description of problem:
libguestfs-1.28.1-1.18.el7 cannot be rebuilt due to a missing build requires

Version-Release number of selected component (if applicable):libguestfs-1.28.1-1.18.el7


How reproducible:100%


Steps to Reproduce:
1.attempt to rebuild from source
2.
3.

Actual results:
Error: No Package found for file-devel >= 5.11-22

Expected results:
able to rebuild from source

Additional info:

Comment 2 Richard W.M. Jones 2015-03-06 18:18:11 UTC
This was done in order to fix detection of aarch64 binaries,
which was added to 'file-5.11-22' (bug 1067688).

So it is a real requirement, assuming you care about aarch64
binary detection (I believe there is a test for this in the
test suite, which will probably fail if you relax this BR).

The underlying problem is we didn't actually release an updated
'file' command in RHEL 7.1, even though the bug was fully ACKed.

Therefore setting bug 1067688 as a dependency, and I will add a
note to that bug.

Comment 3 Johnny Hughes 2015-03-12 19:13:55 UTC
For people who need to build the libguestfs SRPM and there is a version of 'file-5.11-22' on git.centos.org that will work and pass the build test:

https://git.centos.org/summary/rpms!file

Check out the c7-ppc64le branch for the sources.

Comment 5 Richard W.M. Jones 2015-07-08 21:18:08 UTC
This is fixed already in RHEL 7.2.  In the meantime you can grab the
required file RPM and SRPM from here:

https://people.redhat.com/~rjones/libguestfs-RHEL-7.2-preview/

Although this isn't really a libguestfs bug as such, I'm adding
this to the libguestfs erratum.

Comment 8 Hu Zhang 2015-09-11 09:07:20 UTC
Verified with the compose:
RHEL-7.2-20150904.0

Verify step:
1. yum info file-devel
Loaded plugins: langpacks
Available Packages
Name        : file-devel
Arch        : i686
Version     : 5.11
Release     : 30.el7
Size        : 32 k
Repo        : RHEL-7-optional
Summary     : Libraries and header files for file development
URL         : http://www.darwinsys.com/file/
License     : BSD
Description : The file-devel package contains the header files and libmagic library
            : necessary for developing programs using libmagic.

Name        : file-devel
Arch        : x86_64
Version     : 5.11
Release     : 31.el7
Size        : 31 k
Repo        : RHEL-Server-7-candidate
Summary     : Libraries and header files for file development
URL         : http://www.darwinsys.com/file/
License     : BSD
Description : The file-devel package contains the header files and libmagic library
            : necessary for developing programs using libmagic.

So the requirement is satisfied. And the tps jobs http://nest.test.redhat.com/mnt/qa/scratch/apm-mustang-ev3-15/2015:20308/tps/tps.html is passed. So verified.

Comment 10 errata-xmlrpc 2015-11-19 07:00:02 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-2183.html