Bug 1657366

Summary: hwloc package is missing libtool as a build dependancy
Product: Red Hat Enterprise Linux 8 Reporter: Mike Gahagan <mgahagan>
Component: hwlocAssignee: Prarit Bhargava <prarit>
Status: CLOSED ERRATA QA Contact: Eirik Fuller <efuller>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: hwkernel-mgr, jbastian
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 22:37:24 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:

Description Mike Gahagan 2018-12-07 19:26:52 UTC
Description of problem:

hwloc requires libtool in order to build it but it is not listed as a build dependancy. 


Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345, <GEN3> line 6.
autoreconf: failed to run libtoolize: No such file or directory
autoreconf: libtoolize is needed because this package uses Libtool

without libtool we get this error when trying to build the package in order to run the internal test suite.

Version-Release number of selected component (if applicable):
hwloc-1.11.9-2.el8.x86_64

How reproducible:
always

Steps to Reproduce:
1. run yum-builddep which yields:
  Package cairo-devel-1.15.12-2.el8.x86_64 is already installed.
Package desktop-file-utils-0.23-8.el8.x86_64 is already installed.
Package doxygen-1:1.8.14-9.el8.x86_64 is already installed.
Package gcc-8.2.1-3.4.el8.x86_64 is already installed.
Package gcc-c++-8.2.1-3.4.el8.x86_64 is already installed.
Package libX11-devel-1.6.7-1.el8.x86_64 is already installed.
Package libXNVCtrl-devel-352.21-9.el8.x86_64 is already installed.
Package libpciaccess-devel-0.14-1.el8.x86_64 is already installed.
Package libtool-ltdl-devel-2.4.6-25.el8.x86_64 is already installed.
Package libxml2-devel-2.9.7-5.el8.x86_64 is already installed.
Package lynx-2.8.9-2.el8.x86_64 is already installed.
Package ncurses-devel-6.1-5.20180224.el8.x86_64 is already installed.
Package numactl-devel-2.0.12-2.el8.x86_64 is already installed.
Package rdma-core-devel-19-3.el8.x86_64 is already installed.
Package texlive-latex-7:20180414-12.el8.noarch is already installed.
Package texlive-makeindex-7:20180414-12.el8.x86_64 is already installed.
Package transfig-1:3.2.6a-4.el8.x86_64 is already installed.
2. try to build the test suite with:
autoreconf --force --install
./configure --enable-plugins --disable-silent-rules
make all
make check
3.

Actual results:

make all will fail and prevent test suite from building

Expected results:
libtool gets installed and package builds, I see that libtool-ltdl-devel so maybe that is the package that is missing the dependancy.


Additional info:

Comment 2 Eirik Fuller 2019-09-10 13:22:14 UTC
A Beaker job confirmed the failure documented here with hwloc-1.11.9-2.el8 and success with hwloc-1.11.9-3.el8, using a Beaker task which executes the hwloc test suite. The taskout.log files confirmed that the libtool package was installed for hwloc-1.11.9-3.el8 but not for hwloc-1.11.9-2.el8.

The output log for the failure case has the following messages.

Can't exec "libtoolize": No such file or directory at /usr/share/autoconf/Autom4te/FileUtils.pm line 345, <GEN3> line 6.
autoreconf: failed to run libtoolize: No such file or directory
autoreconf: libtoolize is needed because this package uses Libtool

The output log for the success case has the following messages from the autoreconf command.

libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, './config'.
libtoolize: copying file './config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, './config'.
libtoolize: copying file './config/libtool.m4'
libtoolize: copying file './config/ltoptions.m4'
libtoolize: copying file './config/ltsugar.m4'
libtoolize: copying file './config/ltversion.m4'
libtoolize: copying file './config/lt~obsolete.m4'
configure.ac:49: installing './config/compile'
configure.ac:40: installing './config/missing'
doc/examples/Makefile.am: installing './config/depcomp'

There are also error messages about the absence of automake-1.15 from the subsequent invocation of './configure' in the failure log but not in the success log.

In summary, the added libtool BuildRequires in hwloc.spec had the intended effect.

Comment 5 errata-xmlrpc 2019-11-05 22:37:24 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://access.redhat.com/errata/RHBA-2019:3676