Bug 1061619

Summary: libtool dependencies not generated with libtool 2.4.2
Product: Red Hat Enterprise Linux 7 Reporter: Jan Kaluža <jkaluza>
Component: redhat-rpm-configAssignee: Florian Festi <ffesti>
Status: CLOSED ERRATA QA Contact: Karel Srot <ksrot>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.0CC: ffesti, jorton, ksrot
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: redhat-rpm-config-9.1.0-69.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-11-04 04:45:44 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:    
Bug Blocks: 1289025    

Description Jan Kaluža 2014-02-05 09:07:32 UTC
find-provides.libtool contains following condition:

if grep -iq '^# Generated by ltmain.sh' "$possible" 2> /dev/null ; then
    echo "libtool($possible)"
fi

This used to work with older versions of libtool as they are in RHEL6. The new libtool version seems to generate this .la file with following header:

# Generated by libtool (GNU libtool) 2.4.2

This leads to no libtool(something) provides being generated. As an example you can take apr-util-devel package in rhel6 and rhel7.

Comment 2 Joe Orton 2014-02-11 11:59:01 UTC
devel_ack misfire!  Not our package...

Comment 3 Panu Matilainen 2014-03-05 12:52:22 UTC
Obviously find-provides.libtool is incorrect then.

OTOH any package that ends up invoking the old find-provides* scripts could be considered buggy, as those scripts are not really maintained anymore, the old external dependency generator shouldn't really be used anymore.

Then again, the equivalent script invoked by the internal dependency generator in rpm shares this same bug. What a lovely mess...

Comment 4 RHEL Program Management 2014-03-22 06:05:57 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 5 Florian Festi 2015-03-18 12:45:00 UTC
Hmm, as the script that should actually be used is in the rpm package I reassign this to rpm and fix it there. Please clone back if you really need to get find-provides.libtool fixed.

Comment 8 Karel Srot 2015-05-22 10:10:21 UTC
Florian,
according to my findings 
  /usr/lib/rpm/redhat/find-provides.libtool
is in the redhat-rpm-config package, not rpm. This bug seems to be filed against wrong component.

Comment 14 errata-xmlrpc 2016-11-04 04:45:44 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-2016-2372.html