[MacPorts] #29782: py27-numpy build failure
#29782: py27-numpy build failure ------------------------------+--------------------------------------------- Reporter: rrykim@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: py27-numpy | Port: py27-numpy ------------------------------+--------------------------------------------- I'm using 2011 Macbook Pro (i5 2.3GHz) Xcode 3.2.6 installed. py27-numpy failed to build with a message Building py27-numpy Error: Target org.macports.build returned: shell command failed (see log for details) Log for py27-numpy is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-numpy/main.log Please see the attached file. -- Ticket URL: <https://trac.macports.org/ticket/29782> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29782: py27-numpy build failure ------------------------------+--------------------------------------------- Reporter: rrykim@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py27-numpy ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * keywords: py27-numpy => * owner: macports-tickets@… => ram@… Old description:
I'm using 2011 Macbook Pro (i5 2.3GHz) Xcode 3.2.6 installed.
py27-numpy failed to build with a message
Building py27-numpy Error: Target org.macports.build returned: shell command failed (see log for details) Log for py27-numpy is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-numpy/main.log
Please see the attached file.
New description: I'm using 2011 Macbook Pro (i5 2.3GHz) Xcode 3.2.6 installed. py27-numpy failed to build with a message {{{ Building py27-numpy Error: Target org.macports.build returned: shell command failed (see log for details) Log for py27-numpy is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py27-numpy/main.log }}} Please see the attached file. -- Comment: Has duplicate #29781. -- Ticket URL: <https://trac.macports.org/ticket/29782#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29782: py27-numpy: ld: library not found for -lgfortran ------------------------------+--------------------------------------------- Reporter: rrykim@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py27-numpy ------------------------------+--------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: The relevant error seems to be: {{{ ld: library not found for -lgfortran }}} libgfortran.dylib is supposed to be provided by the gcc port applicable to the gcc variant you selected. For example if you selected (or MacPorts automatically selected) the gcc44 variant, then it should be using the libgfortran.dylib in /opt/local/lib/gcc44. What's peculiar about your log is that it shows it found and used /usr/bin/gfortran as the fortran compiler. Where did /usr/bin/gfortran come from? It is not a part of Mac OS X or Xcode and no MacPorts port provides it. You should remove it, and anything else that went along with it. Then clean py27-numpy and try again. -- Ticket URL: <https://trac.macports.org/ticket/29782#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29782: py27-numpy: ld: library not found for -lgfortran ------------------------------+--------------------------------------------- Reporter: rrykim@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py27-numpy ------------------------------+--------------------------------------------- Comment(by ryandesign@…): Looks like a duplicate of #28966, also mentioned in #26719. -- Ticket URL: <https://trac.macports.org/ticket/29782#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29782: py27-numpy: ld: library not found for -lgfortran ------------------------------+--------------------------------------------- Reporter: rrykim@… | Owner: ram@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Keywords: | Port: py27-numpy ------------------------------+--------------------------------------------- Comment(by rrykim@…): Removed gfortran as ryandesign suggested and it works. I am still curious about where the gfortran came from? -- Ticket URL: <https://trac.macports.org/ticket/29782#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#29782: py27-numpy: ld: library not found for -lgfortran -------------------------------+-------------------------------------------- Reporter: rrykim@… | Owner: ram@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.9.2 Resolution: invalid | Keywords: Port: py27-numpy | -------------------------------+-------------------------------------------- Changes (by ram@…): * status: new => closed * resolution: => invalid Comment: I've seen multiple instances of /usr/bin/gfortran causing problems and have no idea where it comes from. It would be useful to find where this is coming from... -- Ticket URL: <https://trac.macports.org/ticket/29782#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts