Opened 4 years ago
Last modified 4 years ago
#60537 assigned defect
julia @1.4.1: KeyError: '1'
Reported by: | philbit | Owned by: | essandess (Steve Smith) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.2 |
Keywords: | Cc: | ||
Port: | julia |
Description
Trying to install julia 1.4.1 on macOS Sierra, I am getting a command execution failed
error. According to main.log
(attached), it seems the port is trying to fetch some more files from online sources, but that attempt fails with some 404 Not Found
errors. Fetching the port tar ball itself worked though, this happens at the Building julia
stage.
Attachments (1)
Change History (8)
Changed 4 years ago by philbit
comment:1 Changed 4 years ago by mf2k (Frank Schima)
Cc: | essandess removed |
---|---|
Owner: | set to essandess |
Status: | new → assigned |
comment:2 Changed 4 years ago by philbit
Summary: | Installing julia fails with 404 error → Installing julia fails |
---|
comment:3 Changed 4 years ago by philbit
After commenting out the offending lines in normalize_triplet.py
, the 404 Not Found
errors from curl remain and break the build, so both errors actually seem to be an issue. Any pointers would be appreciated.
comment:4 Changed 4 years ago by reneeotten (Renee Otten)
the problem with normalize_triplet.py
is that it does not yet expect GCC10. This issue and the download problems seem to have been fixed in version 1.4.2. So the port should be update to the latest version - I tried but there are now other build issues and I haven't figured those out.
Also the port is not UsingTheRightCompiler; it should likely start using the makefile PG
.
comment:5 Changed 4 years ago by reneeotten (Renee Otten)
until someone figures this out, you can likely get it to work by installing using gcc9. At least that appears to have worked on the buildbots so you'll get likely just the binary or it will install from source which hopefully still works.
To try this do:
sudo port clean --all julia sudo port install julia +gcc9
comment:6 Changed 4 years ago by philbit
Yes, indeed! Thank you so much for the hint. Had I known there was a binary for the gcc9 version, I would have tried that first thing. This is a good workaround until the problem is solved.
comment:7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Summary: | Installing julia fails → julia @1.4.1: KeyError: '1' |
---|
After looking at the posted
main.log
again, I am not convinced the "404 Not Found" errors are actually responsible for the installation failing. Before those, there is aKey Error '1'
in/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_julia/julia/work/julia-1.4.1/contrib/normalize_triplet.py
, which probably caused the build to abort. Hence renaming this issue.