[MacPorts] #65550: julia-1.7.3_0+gcc12: build fails on High Sierra

MacPorts noreply at macports.org
Sat Aug 20 06:42:19 UTC 2022


#65550: julia-1.7.3_0+gcc12: build fails on High Sierra
------------------------+-----------------------
  Reporter:  githubbjs  |      Owner:  essandess
      Type:  defect     |     Status:  assigned
  Priority:  Normal     |  Milestone:
 Component:  ports      |    Version:
Resolution:             |   Keywords:
      Port:  julia      |
------------------------+-----------------------

Comment (by flwyd):

 I'm also getting an error on Mojave (10.14.6).  I first saw this with
 `port upgrade outdated` but the error continues after an
 uninstall/reinstall cycle.  I don't think the `gfortran` message is the
 root cause.  In my log and the log from githubbjs I see:

 {{{
 :info:build ld: warning: text-based stub file
 /opt/local/var/macports/build/_opt_local_var_macports_
 sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.8.0/src/mach_dyld_atfork.tbd
 and library file
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.8.0/src/mach_dyld_atfork.tbd
 are out of sync. Falling back to library file for linking.
 :info:build ld: unsupported tapi file type '!tapi-tbd' in YAML file
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/julia-1.8.0/src/mach_dyld_atfork.tbd'
 for architecture x86_64
 :info:build clang: error: linker command failed with exit code 1 (use -v
 to see invocation)
 }}}

 My first attempt doesn't have a gfortran error, but if I run `port install
 julia` a second time without `port clean julia` then I get the following
 error:

 {{{
 --->  Attempting to fetch julia-1.8.0_0+gcc12.darwin_18.x86_64.tbz2 from
 http://packages.macports.org/julia
 --->  Attempting to fetch julia-1.8.0_0+gcc12.darwin_18.x86_64.tbz2 from
 http://ywg.ca.packages.macports.org/mirror/macports/packages/julia
 --->  Attempting to fetch julia-1.8.0_0+gcc12.darwin_18.x86_64.tbz2 from
 http://mse.uk.packages.macports.org/julia
 --->  Building julia
 Error: Failed to build julia: ln:
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/work/bin/gfortran:
 File exists
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_julia/julia/main.log
 for details.
 }}}


 `gfortran` in the `work/bin` directory is a symlink to `/opt/local/bin
 /gfortran-mp-12`.

-- 
Ticket URL: <https://trac.macports.org/ticket/65550#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list