Bugzilla (bugzilla.redhat.com) will be under maintenance for infrastructure upgrades and will not be available on July 31st between 12:30 AM - 05:30 AM UTC. We appreciate your understanding and patience. You can follow status.redhat.com for details.
Bug 1813010 - Consider dropping libtool-ltdl-devel's dependency on automake
Summary: Consider dropping libtool-ltdl-devel's dependency on automake
Keywords:
Status: POST
Alias: None
Product: Fedora
Classification: Fedora
Component: libtool
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Dubaj
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-12 17:48 UTC by Mattias Ellert
Modified: 2021-07-01 15:31 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)

Description Mattias Ellert 2020-03-12 17:48:01 UTC
Description of problem:

Installing libtool-ltdl-devel currently drags in automake as a dependency, and with it the perl interpreter and many perl modules. This is unfortunate since perl is no longer part of the default buildroot, so packages linking to libltdl get a lot of bloat in mock and koji due to this.

Version-Release number of selected component (if applicable):

libtool-2.4.6-33.fc32

How reproducible:

always

Steps to Reproduce:
1. Build a package linking to libltdl and not using automake in koji or mock

Actual results:

automake, autoconf and perl are installed

Expected results:

automake, autoconf and perl are not installed

Comment 1 Pavel Raiskup 2020-03-13 06:08:15 UTC
I added the dep beause of https://bugzilla.redhat.com/show_bug.cgi?id=1193591

Depending on automake is wise for general package (otherwise we risk that
package fails to build if it was generated with different version of automake).

Perhaps we could have two packages, like:
libtool-ltdl-devel -> libtool-ltdl-devel-minimal

Comment 2 Mattias Ellert 2020-03-16 07:31:00 UTC
That is an inappropriate fix for that issue.

Any package that runs autoreconf in %prep or %build must build-require automake, autoconf, libtool and whatever is needed to run autoreconf for the package. Adding a dependency on automake to libtool-ltdl-devel because a package maintainer doesn't want to add all the build-requires to his specfile is not right.

Comment 3 Pavel Raiskup 2020-03-16 08:48:49 UTC
The thing is most of the affected packages don't do autoreconf.  I added
that to the example, iirc, only because I found it weird that autoreconf
actually did not help.

Comment 4 Ben Cotton 2020-08-11 13:13:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 5 Pavel Raiskup 2021-03-25 07:26:16 UTC
> Adding a dependency on automake to libtool-ltdl-devel because a package
> maintainer doesn't want to add all the build-requires to his specfile is not
> right.

I did not close this bug because I agree with you.  We should use
conflicts instad.

Comment 6 Pavel Raiskup 2021-03-27 17:48:03 UTC
Please take a look at:
https://src.fedoraproject.org/rpms/libtool/pull-request/5

Comment 7 Fedora Admin user for bugzilla script actions 2021-07-01 15:31:35 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.


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