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 1657366 - hwloc package is missing libtool as a build dependancy
Summary: hwloc package is missing libtool as a build dependancy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: hwloc
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.0
Assignee: Prarit Bhargava
QA Contact: Eirik Fuller
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-07 19:26 UTC by Mike Gahagan
Modified: 2020-11-14 07:19 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-11-05 22:37:24 UTC
Type: Bug
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:3676 0 None None None 2019-11-05 22:37:25 UTC

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


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