Bug 1193591 - We should have versioned-require on automake
Summary: We should have versioned-require on automake
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libtool
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Pavel Raiskup
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-02-17 16:23 UTC by Pavel Raiskup
Modified: 2020-03-16 08:51 UTC (History)
4 users (show)

Fixed In Version: libtool-2.4.6-24.fc28
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-27 07:17:03 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Pavel Raiskup 2015-02-17 16:23:50 UTC
Turns out that there is a problem with packages distributing libltdl as a part
of its distribution tarball.

When the Fedora buildroot contains rebased automake (lets say automake 1.15),
but the buildroot contains libtool built against older automake (lets say
1.14), the recursive make targets try to re-automake also the 'libltdl'
subdirectory and that action fails because the older "automake-1.14" binary
was not found.  Note that the $(top_srcdir) was 'autoreconf -vfi'-ed.

In the innocent package spec file having something like that:

  %prep
  autoreconf -vfi

  %build
  %configure

Ends with:

    + /usr/bin/make -j4
    Making all in libltdl
    make[1]: Entering directory './libltdl'
    CDPATH="${ZSH_VERSION+.}:" && cd . \
      && /bin/sh ./libltdl/config/missing aclocal-1.14 -I m4
    ./libltdl/config/missing: line 81: aclocal-1.14: command not found
    WARNING: 'aclocal-1.14' is missing on your system.
             You should only need it if you modified 'acinclude.m4' or
             'configure.ac' or m4 files included by 'configure.ac'.
             The 'aclocal' program is part of the GNU Automake package:
             <http://www.gnu.org/software/automake>
             It also requires GNU Autoconf, GNU m4 and Perl in order to run:
             <http://www.gnu.org/software/autoconf>
             <http://www.gnu.org/software/m4/>
             <http://www.perl.org/>
    Makefile:529: recipe for target 'aclocal.m4' failed
    make[1]: *** [aclocal.m4] Error 127
    make[1]: Leaving directory './libltdl'
    Makefile:540: recipe for target 'all-recursive' failed
    make: *** [all-recursive] Error 1

---
Possible work-around would be rebuilt libtool with any new automake, having
autoreconf -vfi in libtool.spec.

Upstream discussion:
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19370

Comment 1 Jan Kurik 2015-07-15 14:31:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 23 development cycle.
Changing version to '23'.

(As we did not run this process for some time, it could affect also pre-Fedora 23 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 23 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora23

Comment 2 Fedora End Of Life 2016-11-24 11:27:58 UTC
This message is a reminder that Fedora 23 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 23. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '23'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 23 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 3 Sergio Basto 2018-03-25 02:27:15 UTC
I see this [1] with pinball in rawhide 


Possible work-around would be rebuilt libtool with any new automake, having
autoreconf -vfi in libtool.spec.



[1] 
make[2]: Entering directory '/builddir/build/BUILD/pinball-0.3.4/libltdl'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /builddir/build/BUILD/pinball-0.3.4/libltdl/config/missing aclocal-1.15 -I m4
BUILDSTDERR: /builddir/build/BUILD/pinball-0.3.4/libltdl/config/missing: line 81: aclocal-1.15: command not found
BUILDSTDERR: WARNING: 'aclocal-1.15' is missing on your system.
BUILDSTDERR:          You should only need it if you modified 'acinclude.m4' or
BUILDSTDERR:          'configure.ac' or m4 files included by 'configure.ac'.
BUILDSTDERR:          The 'aclocal' program is part of the GNU Automake package:
BUILDSTDERR:          <http://www.gnu.org/software/automake>
BUILDSTDERR:          It also requires GNU Autoconf, GNU m4 and Perl in order to run:
BUILDSTDERR:          <http://www.gnu.org/software/autoconf>
BUILDSTDERR:          <http://www.gnu.org/software/m4/>
BUILDSTDERR:          <http://www.perl.org/>
BUILDSTDERR: make[2]: *** [Makefile:539: aclocal.m4] Error 127
make[2]: Leaving directory '/builddir/build/BUILD/pinball-0.3.4/libltdl'
BUILDSTDERR: make[1]: *** [Makefile:575: all-recursive] Error 1
BUILDSTDERR: make: *** [Makefile:449: all] Error 2

Comment 5 Sergio Basto 2018-03-26 17:02:08 UTC
one test fails (in the build) : 

Support for older libltdl interfaces.
102: Makefile.inc                                    FAILED (old-ltdl-iface.at:134)

Comment 6 Sergio Basto 2018-03-26 17:36:44 UTC
reopen it because build failed

Comment 7 Pavel Raiskup 2018-03-27 07:17:03 UTC
Sorry, here's the later build:
https://koji.fedoraproject.org/koji/buildinfo?buildID=1062428

Comment 8 Sergio Basto 2018-03-27 17:09:38 UTC
As pinball use libltdl , I'm concerned about some breakage on this , but it was only one missing header ! 
Many thanks,

Comment 9 Pavel Raiskup 2018-03-27 21:50:35 UTC
(In reply to Sergio Monteiro Basto from comment #8)
> As pinball use libltdl , I'm concerned about some breakage on this , but it
> was only one missing header !

Sergio, I probably don't understand.  Can you elaborate on the breakage?

Comment 10 Sergio Basto 2018-03-27 22:20:33 UTC
(In reply to Pavel Raiskup from comment #9)
> (In reply to Sergio Monteiro Basto from comment #8)
> > As pinball use libltdl , I'm concerned about some breakage on this , but it
> > was only one missing header !
> 
> Sergio, I probably don't understand.  Can you elaborate on the breakage?

Sorry, the libtool test failed on libltdl (comment #5) that was my concern

Comment 12 Sergio Basto 2018-03-27 23:48:02 UTC
yes , good catch :)

Comment 13 Fedora Update System 2018-04-20 14:27:41 UTC
libtool-2.4.6-24.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-c7c0a0abcc

Comment 14 Fedora Update System 2018-04-21 18:38:18 UTC
libtool-2.4.6-24.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-c7c0a0abcc

Comment 15 Fedora Update System 2018-04-27 04:10:17 UTC
libtool-2.4.6-24.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Pavel Raiskup 2020-03-16 08:51:17 UTC
See also https://bugzilla.redhat.com/show_bug.cgi?id=1813010


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