[MacPorts] #49658: atlas fails to due to incorrectly named directory in path to libgfortran.dylib
#49658: atlas fails to due to incorrectly named directory in path to libgfortran.dylib ------------------------------+-------------------------------- Reporter: robballantyne3@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: ------------------------------+-------------------------------- The log file showed the following error: :info:build cd RCW_tMp ; /usr/bin/clang -O3 -fomit-frame-pointer -fPIC -march=native -mfma -dynamiclib -o ../libsatlas.dylib \ :info:build -install_name /opt/local/lib/libsatlas.dylib -current_version 3.10.2 \ :info:build -compatibility_version 3.10.2 *.o -lpthread -lm /opt/local/lib/gcc4.9/libgfortran.dylib :info:build clang: error: no such file or directory: '/opt/local/lib/gcc4.9/libgfortran.dylib' :info:build make[1]: *** [dylib] Error 1 :info:build make: *** [shared_all] Error 2 The library was available as /opt/local/lib/gcc49/libgfortran.dylib. I was able to build by use of a simple symlink (cd /opt/local/lib; ln -s gcc49 gcc4.9) -- Ticket URL: <https://trac.macports.org/ticket/49658> MacPorts <https://www.macports.org/> Ports system for OS X
#49658: atlas: build fails to due to incorrectly named directory in path to libgfortran.dylib -------------------------------+--------------------- Reporter: robballantyne3@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: atlas | -------------------------------+--------------------- Changes (by dstrubbe@…): * cc: sean@… (added) * owner: macports-tickets@… => vince@… * port: => atlas -- Ticket URL: <https://trac.macports.org/ticket/49658#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49658: atlas: build fails to due to incorrectly named directory in path to libgfortran.dylib -------------------------------+--------------------- Reporter: robballantyne3@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: atlas | -------------------------------+--------------------- Comment (by dstrubbe@…): Please set the port field and CC the maintainer in future, and in the title specify the version and variants you were using. Refer to the guidelines at https://guide.macports.org/#project.tickets. -- Ticket URL: <https://trac.macports.org/ticket/49658#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49658: atlas: build fails to due to incorrectly named directory in path to libgfortran.dylib -------------------------------+--------------------- Reporter: robballantyne3@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: atlas | -------------------------------+--------------------- Description changed by dstrubbe@…: Old description:
The log file showed the following error:
:info:build cd RCW_tMp ; /usr/bin/clang -O3 -fomit-frame-pointer -fPIC -march=native -mfma -dynamiclib -o ../libsatlas.dylib \ :info:build -install_name /opt/local/lib/libsatlas.dylib -current_version 3.10.2 \ :info:build -compatibility_version 3.10.2 *.o -lpthread -lm /opt/local/lib/gcc4.9/libgfortran.dylib :info:build clang: error: no such file or directory: '/opt/local/lib/gcc4.9/libgfortran.dylib' :info:build make[1]: *** [dylib] Error 1 :info:build make: *** [shared_all] Error 2
The library was available as /opt/local/lib/gcc49/libgfortran.dylib.
I was able to build by use of a simple symlink (cd /opt/local/lib; ln -s gcc49 gcc4.9)
New description: The log file showed the following error: {{{ :info:build cd RCW_tMp ; /usr/bin/clang -O3 -fomit-frame-pointer -fPIC -march=native -mfma -dynamiclib -o ../libsatlas.dylib \ :info:build -install_name /opt/local/lib/libsatlas.dylib -current_version 3.10.2 \ :info:build -compatibility_version 3.10.2 *.o -lpthread -lm /opt/local/lib/gcc4.9/libgfortran.dylib :info:build clang: error: no such file or directory: '/opt/local/lib/gcc4.9/libgfortran.dylib' :info:build make[1]: *** [dylib] Error 1 :info:build make: *** [shared_all] Error 2 }}} The library was available as /opt/local/lib/gcc49/libgfortran.dylib. I was able to build by use of a simple symlink (cd /opt/local/lib; ln -s gcc49 gcc4.9) -- -- Ticket URL: <https://trac.macports.org/ticket/49658#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49658: atlas: build fails to due to incorrectly named directory in path to libgfortran.dylib -------------------------------+--------------------- Reporter: robballantyne3@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: atlas | -------------------------------+--------------------- Comment (by dstrubbe@…): I believe these are the lines at fault in the Portfile that introduced the dot, if you were using the {{{+clang}}} variant: {{{ set gcc_version \ [string replace ${configure.f77} 0 [string length ${prefix}]+[string length bin/gfortran-mp-]] }}} -- Ticket URL: <https://trac.macports.org/ticket/49658#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49658: atlas: build fails to due to incorrectly named directory in path to libgfortran.dylib -------------------------------+--------------------- Reporter: robballantyne3@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: atlas | -------------------------------+--------------------- Comment (by macports@…): CC me! -- Ticket URL: <https://trac.macports.org/ticket/49658#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#49658: atlas: build fails to due to incorrectly named directory in path to libgfortran.dylib -------------------------------+--------------------- Reporter: robballantyne3@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: atlas | -------------------------------+--------------------- Comment (by chanmhy@…): I can confirm I run into this bug on El Capitan, +mpclang37 variant. -- Ticket URL: <https://trac.macports.org/ticket/49658#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts