[MacPorts] #27921: aclocal.m4 version conflict with libtool

MacPorts noreply at macports.org
Mon Jan 10 15:05:34 PST 2011


#27921: aclocal.m4 version conflict with libtool
---------------------------------------------------------+------------------
 Reporter:  whittaker007@…                               |       Owner:  macports-tickets@…                   
     Type:  defect                                       |      Status:  new                                  
 Priority:  Normal                                       |   Milestone:                                       
Component:  ports                                        |     Version:  1.9.2                                
 Keywords:  aclocal.m4 libtool LT_INIT version conflict  |        Port:                                       
---------------------------------------------------------+------------------
 Several ports cannot be installed due to LT_INIT being built with an older
 version of libtool (2.2.6b) than the one currently installed (2.4). This
 causes failure to install at least the following two ports, and most
 likely several others:

 * gd2
 * graphviz

 In both of these cases the reported error was practically the same:

 {{{
 :info:build libtool: Version mismatch error.  This is libtool 2.4, but the
 :info:build libtool: definition of this LT_INIT comes from libtool 2.2.6b.
 :info:build libtool: You should recreate aclocal.m4 with macros from
 libtool 2.4
 :info:build libtool: and run autoconf again.
 }}}

 Based on other suggestions while looking for possible solutions, I have
 tried:

 {{{
 $ sudo port sync

 $ port outdated
 No installed ports are outdated.

 $ sudo port clean --work gd2
 --->  Cleaning gd2

 $ port installed autoconf automake gettext libiconv libtool
 The following ports are currently installed:
   autoconf @2.65_0
   autoconf @2.68_1 (active)
   automake @1.11.1_0 (active)
   gettext @0.17_4
   gettext @0.18.1.1_2 (active)
   libiconv @1.13_0
   libiconv @1.13.1_0 (active)
   libtool @2.2.6b_0
   libtool @2.4_0 (active)
 }}}

 But the install always fails:

 {{{
 $ sudo port install gd2
 --->  Computing dependencies for gd2
 --->  Fetching gd2
 --->  Verifying checksum(s) for gd2
 --->  Extracting gd2
 --->  Applying patches to gd2
 --->  Configuring gd2
 --->  Building gd2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Log for gd2 is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/main.log
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/27921>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list