Opened 7 years ago
Closed 5 years ago
#56233 closed defect (fixed)
Can't upgrade julia to 0.6.2
Reported by: | dubiousjim | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | hapaguy (Brian Kurt Fujikawa), essandess (Steve Smith) | |
Port: | julia |
Description
$ sudo port upgrade julia
Also get a failure from sudo port -sn upgrade --enforce-variants julia +blas64
These fail during:
---> Staging julia into destroot Error: Failed to destroot julia: command execution failed
which stage seems to be when all the configuring and building happens, for this port?
$ port log julia
result contains:
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2' JULIA usr/lib/julia/inference.ji dyld: Library not loaded: @rpath/libLLVM.dylib Referenced from: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2/usr/lib/libjulia.0.6.2.dylib Reason: image not found /bin/sh: line 1: 825 Trace/BPT trap: 5 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2/usr/bin/julia -C native --output-ji /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2/usr/lib/julia/inference.ji --startup-file=no -g0 -O0 coreimg.jl make[2]: *** [/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/work/julia-0.6.2/usr/lib/julia/inference.ji] Error 133
Some relevant information:
$ sudo find /opt/local -name libLLVM.dylib /opt/local/libexec/llvm-4.0/lib/libLLVM.dylib /opt/local/libexec/llvm-5.0/lib/libLLVM.dylib $ ort installed gcc\* or llvm\* The following ports are currently installed: gcc6 @6.4.0_0 (active) gcc7 @7.2.0_0 gcc7 @7.3.0_0 (active) gcc_select @0.1_8 (active) llvm-3.7 @3.7.1_4 (active) llvm-4.0 @4.0.1_1+ocaml llvm-4.0 @4.0.1_2+ocaml (active) llvm-5.0 @5.0.1_0 (active) llvm_select @2_0 (active) $ port select --summary Name Selected Options ==== ======== ======= clang mp-clang-4.0 mp-clang-4.0 none ... gcc mp-gcc6 mp-gcc6 mp-gcc7 none ... llvm mp-llvm-4.0 mp-llvm-3.7 mp-llvm-4.0 mp-llvm-5.0 none ...
Attachments (1)
Change History (7)
comment:1 Changed 7 years ago by mf2k (Frank Schima)
Owner: | set to seanfarley |
---|---|
Port: | julia added |
Status: | new → assigned |
comment:2 Changed 7 years ago by seanfarley (Sean Farley)
No idea here. Is it picking up the wrong LLVM? Can you try rebuilding with -t
(trace mode)?
Changed 7 years ago by dubiousjim
comment:3 Changed 7 years ago by dubiousjim
$ sudo port clean julia ---> Cleaning julia $ sudo port -snt upgrade --enforce-variants julia +blas64 ---> Computing dependencies for julia ---> Fetching distfiles for julia ---> Verifying checksums for julia ---> Extracting julia ---> Configuring julia ---> Building julia ---> Staging julia into destroot Warning: The following existing files were hidden from the build system by trace mode: /opt/local/bin/egrep /opt/local/bin/gawk /opt/local/bin/ginstall /opt/local/bin/gmkdir /opt/local/bin/grep /opt/local/bin/gsed /opt/local/bin/pkg-config /opt/local/include/libunwind.h /opt/local/include/mach-o/loader.h /opt/local/include/mach-o/nlist.h /opt/local/lib/perl5/vendor_perl/5.26/Getopt/Long.pm /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-2level/Cwd.pm /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-2level/File/Spec.pm /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-2level/File/Spec/Unix.pm /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-2level/List/Util.pm /opt/local/lib/perl5/vendor_perl/5.26/darwin-thread-multi-2level/Scalar/Util.pm /var/root/.CFUserTextEncoding Error: Failed to destroot julia: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Attached the log above.
comment:4 Changed 7 years ago by hapaguy (Brian Kurt Fujikawa)
Cc: | hapaguy added |
---|
comment:5 Changed 6 years ago by mf2k (Frank Schima)
Owner: | seanfarley deleted |
---|
comment:6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | essandess added |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
julia was updated to 1.1.1 and no longer uses llvm, so it should no longer be possible to encounter the problem reported in this ticket.
Note: See
TracTickets for help on using
tickets.
In the future, please fill in the Port field and Cc the port maintainer(s) (
port info --maintainers julia
), if any.