Opened 8 years ago

Closed 3 years ago

#50846 closed defect (fixed)

Atlas build fails on gfortran location

Reported by: EJFielding (Eric Fielding) Owned by: Veence (Vincent)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: atlas

Description

I did the usual port upgrade outdated but atlas failed to rebuild.

It looks like it is looking in the wrong place for the gfortran library.

:info:build cd RCW_tMp ; ar x ../liblapack.a 
:info:build cd RCW_tMp ; ar x ../libf77blas.a
:info:build cd RCW_tMp ; ar x ../libcblas.a 
:info:build cd RCW_tMp ; ar x ../libatlas.a
: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.8/libgfortran.dylib
:info:build clang: error: no such file or directory: '/opt/local/lib/gcc4.8/libgfortran.dylib'
:info:build make[1]: *** [dylib] Error 1
:info:build make: *** [shared_all] Error 2
:info:build Command failed: /usr/bin/make shared_all
:info:build Exit code: 2

I have gcc48 installed and it provides /opt/local/lib/gcc48/libgfortran.dylib without the "." so I am guessing some config file has a typo.

Attachments (1)

main.log (915.2 KB) - added by EJFielding (Eric Fielding) 8 years ago.
full main.log

Download all attachments as: .zip

Change History (4)

Changed 8 years ago by EJFielding (Eric Fielding)

Attachment: main.log added

full main.log

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to vince@…

I think your ports are quite out of date. gcc48 support was removed from atlas in r142778 in November 2015 and the bug you encountered was fixed in r144924 in January 2016. To receive these and other fixes, run sudo port selfupdate, then try again.

comment:2 in reply to:  1 Changed 8 years ago by EJFielding (Eric Fielding)

Replying to ryandesign@…:

I think your ports are quite out of date. gcc48 support was removed from atlas in r142778 in November 2015 and the bug you encountered was fixed in r144924 in January 2016. To receive these and other fixes, run sudo port selfupdate, then try again.

I did run "port selfupdate" recently, but I think I forgot to do the "port clean atlas" before running the "port upgrade outdated". I may have had a bad build from January. I ran the clean now and it is building. It seems to be using gcc48 because I don't have a newer version installed but the build is proceeding normally.

--->  Configuring atlas
Selected C compiler: /usr/bin/clang
Selected F77 compiler: gfortran48
--->  Building atlas

Thanks!

comment:3 Changed 3 years ago by Veence (Vincent)

Resolution: fixed
Status: newclosed
  • Not relevant anymore -
Note: See TracTickets for help on using tickets.