Opened 9 years ago

Closed 9 years ago

#49131 closed defect (fixed)

Julia build fails on OSX 10.11

Reported by: glen@… Owned by: seanfarley (Sean Farley)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc: dom@…
Port: julia

Description

Julia fails to build on El Capitan. Logfile attached.

Attachments (2)

main.log (26.2 KB) - added by glen@… 9 years ago.
logfile
main.2.log (658.4 KB) - added by glen@… 9 years ago.
Logfile (from clean build)

Download all attachments as: .zip

Change History (12)

Changed 9 years ago by glen@…

Attachment: main.log added

logfile

comment:1 Changed 9 years ago by glen@…

Important sections of the logfile seem to be:

:info:destroot ld: library not found for -lgcc_s.10.4
:info:destroot collect2: error: ld returned 1 exit status
:info:destroot make[5]: *** [zblat1] Error 1
:info:destroot make[5]: *** Waiting for unfinished jobs....
:info:destroot ld: library not found for -lgcc_s.10.4
:info:destroot collect2: error: ld returned 1 exit status
:info:destroot make[5]: *** [cblat1] Error 1

and

:info:destroot zblat2.f: In function 'zchk1':
:info:destroot zblat2.f:437:0: warning: 'nargs' may be used uninitialized in this function [-Wmaybe-uninitialized]
:info:destroot       $                   LDAS, LX, LY, M, ML, MS, N, NARGS, NC, ND, NK,
:info:destroot  ^
:info:destroot make[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/work/julia/deps/openblas-v0.2.13/test'
:info:destroot make[4]: *** [tests] Error 2
:info:destroot make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/work/julia/deps/openblas-v0.2.13'
:info:destroot *** Clean the OpenBLAS build with 'make -C deps clean-openblas'. Rebuild with 'make OPENBLAS_USE_THREAD=0 if OpenBLAS had trouble linking libpthread.so, and with 'make OPENBLAS_TARGET_ARCH=NEHALEM' if there were errors building SandyBridge support. Both these options can also be used simultaneously. ***
:info:destroot make[3]: *** [openblas-v0.2.13/libopenblas.dylib] Error 1

comment:2 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: elcapitan added

This log is from an unclean build. Please clean and try again and attach the new main.log file.

comment:3 Changed 9 years ago by glen@…

Certainly. Here is a second logfile.

Changed 9 years ago by glen@…

Attachment: main.2.log added

Logfile (from clean build)

comment:4 Changed 9 years ago by mf2k (Frank Schima)

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

In the future, please Cc the port maintainers (port info --maintainers julia), if any.

comment:5 in reply to:  4 Changed 9 years ago by glen@…

Replying to mf2k@…:

In the future, please Cc the port maintainers (port info --maintainers julia), if any.

I always update these through the website, not by replying to email. That doesn't automatically notify the port maintainers?

comment:6 Changed 9 years ago by mf2k (Frank Schima)

I'm talking about the Cc: field on Trac.

comment:7 Changed 9 years ago by dom@…

Cc: dom@… added

Cc Me!

comment:8 Changed 9 years ago by glen@…

Seems to have been resolved for me by the upgrade to 10.11.1/XCode 7.1.

comment:9 Changed 9 years ago by andre.david@…

I just tried it and it works for me with 10.11.2.

comment:10 Changed 9 years ago by seanfarley (Sean Farley)

Resolution: fixed
Status: newclosed

I updated julia between then and now, so I'll mark this as fixed. Feel free to reopen (after you clean, update, and post new logs :-)) if the problem still persists.

Note: See TracTickets for help on using tickets.