[MacPorts] #27921: aclocal.m4 version conflict with libtool
#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
#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: ---------------------------------------------------------+------------------ Comment(by whittaker007@…): Also, I attempted to change the installed version of libtool: {{{ $ port installed libtool The following ports are currently installed: libtool @2.2.6b_0 libtool @2.4_0 (active) $ sudo port deactivate libtool ---> Deactivating libtool $ sudo port activate libtool @2.2.6b_0 ---> Activating libtool @2.2.6b_0 $ port installed libtool The following ports are currently installed: libtool @2.2.6b_0 (active) libtool @2.4_0 }}} But when I tried to install gd2 again I get the same error stating that libtool is currently 2.4! {{{ $ sudo port install gd2 ---> Computing dependencies for 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 cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_graphics_gd2/main.log ...snipped... 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. }}} -- Ticket URL: <https://trac.macports.org/ticket/27921#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27921: aclocal.m4 version conflict with libtool ---------------------------------------------------------+------------------ Reporter: whittaker007@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: aclocal.m4 libtool LT_INIT version conflict | Port: gd2 graphviz ---------------------------------------------------------+------------------ Changes (by jmr@…): * owner: macports-tickets@… => ryandesign@… * port: => gd2 graphviz Comment: Both of these build fine for me. -- Ticket URL: <https://trac.macports.org/ticket/27921#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27921: aclocal.m4 version conflict with libtool ---------------------------------------------------------+------------------ Reporter: whittaker007@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: aclocal.m4 libtool LT_INIT version conflict | Port: gd2 graphviz ---------------------------------------------------------+------------------ Comment(by whittaker007@…): Weird. I tried reinstalling MacPorts from the package MacPorts-1.8.2-10.6-SnowLeopard.dmg, but get the same results. I have been able to install other packages. I'm running Mac OS X 10.6.6 -- Ticket URL: <https://trac.macports.org/ticket/27921#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27921: aclocal.m4 version conflict with libtool ---------------------------------------------------------+------------------ Reporter: whittaker007@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: aclocal.m4 libtool LT_INIT version conflict | Port: gd2 graphviz ---------------------------------------------------------+------------------ Description changed by ryandesign@…: Old 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> }}}
}}}
New 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> }}} -- -- Ticket URL: <https://trac.macports.org/ticket/27921#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27921: aclocal.m4 version conflict with libtool ---------------------------------------------------------+------------------ Reporter: whittaker007@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: aclocal.m4 libtool LT_INIT version conflict | Port: gd2 graphviz ---------------------------------------------------------+------------------ Comment(by ryandesign@…): If you want to properly test what happens when you go back to an older version of libtool, you need to clean the port you're testing before trying again, e.g. "sudo port clean gd2" before trying to build gd2 again. Otherwise it's just reusing the work directory (and the configure results) from the last attempt, when the other version of libtool was active. I suspect you had libtool 2.2 active when building $someport and that knowledge of libtool 2.2 has been encoded into that port, and now it's causing problems when trying to build other ports now that you have libtool 2.4 active. You probably just need to rebuild $someport while libtool 2.4 is active. But I don't know what port $someport is. You could attach the complete main.log file from a failed build attempt of either gd2 or graphviz, and I can compare it with a successful run on my system; maybe that will show us the problem. When you wrote MacPorts-1.8.2 above, I hope you meant MacPorts-1.9.2. -- Ticket URL: <https://trac.macports.org/ticket/27921#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27921: aclocal.m4 version conflict with libtool ---------------------------------------------------------+------------------ Reporter: whittaker007@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: aclocal.m4 libtool LT_INIT version conflict | Port: gd2 graphviz ---------------------------------------------------------+------------------ Comment(by ryandesign@…): whittaker007, were you able to resolve the above issues? -- Ticket URL: <https://trac.macports.org/ticket/27921#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27921: aclocal.m4 version conflict with libtool ---------------------------------------------------------+------------------ Reporter: whittaker007@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: aclocal.m4 libtool LT_INIT version conflict | Port: gd2 graphviz ---------------------------------------------------------+------------------ Comment(by whittaker007@…): Replying to [comment:6 ryandesign@…]:
whittaker007, were you able to resolve the above issues?
Yes, I believe I fixed them by completely trashing MacPorts and installing it again from the latest image. It must have been some old lib in there or something, at that point I had been using MacPorts for over a year and updating it only occasionally using the package manager. Starting from scratch was a bit of a pain since I had a number of additional libraries installed, but I believe I found a command somewhere to list all the installed ports and I just went through that list and re-installed the ones that were missing after the reinstall. -- Ticket URL: <https://trac.macports.org/ticket/27921#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#27921: aclocal.m4 version conflict with libtool -------------------------------------+-------------------------------------- Reporter: whittaker007@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: worksforme | Keywords: aclocal.m4 libtool LT_INIT version conflict Port: gd2 graphviz | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => worksforme Comment: Glad you got it working. -- Ticket URL: <https://trac.macports.org/ticket/27921#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts