[MacPorts] #31304: Unable to build math/atlas
#31304: Unable to build math/atlas ---------------------------------------+------------------------------------ Reporter: nolan+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ---------------------------------------+------------------------------------ I'm trying to upgrade my outdated packages. Atlas is one of them and it is failing to build. I've glanced at the other atlas related tickets, but none seem focused on "--static" not being a valid option to libtool. libtool should be at the latest available. I've attached the created `main.log`. -- Ticket URL: <https://trac.macports.org/ticket/31304> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31304: Unable to build math/atlas ---------------------------------------+------------------------------------ Reporter: nolan+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: atlas ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * port: => atlas Comment: Tell us about your libtool. Try both "`libtool -V`" (to see the version of Apple's libtool) and "`glibtool --version`" (to see the version of MacPorts' libtool). {{{ libtool -V glibtool --version which libtool which glibtool }}} -- Ticket URL: <https://trac.macports.org/ticket/31304#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31304: Unable to build math/atlas ---------------------------------------+------------------------------------ Reporter: nolan+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: atlas ---------------------------------------+------------------------------------ Comment(by nolan+macports@…): Noticed that libtool and glibtool were from /usr/bin, but updating my $PATH wasn't a magic bullet. Post $PATH update, the output of the commands you listed are: {{{ % libtool -V libtool: unrecognized option `-V' libtool: Try `libtool --help' for more information. glibtool --version which libtool % glibtool --version libtool (GNU libtool) 2.4 Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. % which libtool /opt/local/bin/libtool % which glibtool /opt/local/bin/glibtool }}} The libtools in /usr/bin are: {{{ /usr/bin/libtool -V Apple Computer, Inc. version cctools-795 /usr/bin/glibtool --version ltmain.sh (GNU libtool) 2.2.4 }}} -- Ticket URL: <https://trac.macports.org/ticket/31304#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31304: Unable to build math/atlas ---------------------------------------+------------------------------------ Reporter: nolan+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: atlas ---------------------------------------+------------------------------------ Comment(by yanflao@…): I just came across the same issue as you. After uninstalling libtool of the /opt/local/bin one, the Atlas installation is just succeeded. Good luck! Replying to [comment:2 nolan+macports@…]:
Noticed that libtool and glibtool were from /usr/bin, but updating my $PATH wasn't a magic bullet. Post $PATH update, the output of the commands you listed are:
{{{
% libtool -V libtool: unrecognized option `-V' libtool: Try `libtool --help' for more information. glibtool --version which libtool
% glibtool --version libtool (GNU libtool) 2.4 Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
Copyright (C) 2010 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
% which libtool /opt/local/bin/libtool
% which glibtool /opt/local/bin/glibtool }}}
The libtools in /usr/bin are:
{{{ /usr/bin/libtool -V Apple Computer, Inc. version cctools-795
/usr/bin/glibtool --version ltmain.sh (GNU libtool) 2.2.4 }}}
-- Ticket URL: <https://trac.macports.org/ticket/31304#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31304: atlas: build fails when libtool is glibtool ----------------------------------------+----------------------------------- Reporter: nolan+macports@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: invalid | Keywords: Port: atlas | ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: yanflao@…, ryandesign@… (added) * resolution: => invalid Comment: Replying to [comment:2 nolan+macports@…]:
{{{ % which libtool /opt/local/bin/libtool }}} You appear to have a /opt/local/bin/libtool that is glibtool. How did that get there? Does "`port provides /opt/local/bin/libtool`" say it was provided by a MacPorts port? If so, let us know which port, but I rather suspect that you put it there, in which case, remove it, and don't put it back; it doesn't belong there. libtool and glibtool are not the same program and it is an error for you to install one under the other's name. -- Ticket URL: <https://trac.macports.org/ticket/31304#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts