Opened 14 years ago

Last modified 13 years ago

#27921 closed defect

aclocal.m4 version conflict with libtool — at Initial Version

Reported by: whittaker007@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: aclocal.m4 libtool LT_INIT version conflict Cc:
Port: gd2 graphviz

Description

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>

}}}

Change History (0)

Note: See TracTickets for help on using tickets.