Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Source build for Julia 1.9.2 has broken #51408

Closed
kpamnany opened this issue Sep 20, 2023 · 3 comments
Closed

Source build for Julia 1.9.2 has broken #51408

kpamnany opened this issue Sep 20, 2023 · 3 comments
Labels
building Build system, or building Julia or its dependencies

Comments

@kpamnany
Copy link
Contributor

kpamnany commented Sep 20, 2023

$ git status
HEAD detached at v1.9.2
nothing to commit, working tree clean
$ make -C deps checksum-openblas USE_BINARYBUILDER=0 
make: Entering directory '/home/ubuntu/julia-1.9/deps'
/home/ubuntu/julia-1.9/deps/tools/jldownload /home/ubuntu/julia-1.9/deps/srccache/openblas-b89fb708caa5a5a32de8f4306c4ff132e0228e9a.tar.gz https://api.github.com/repos/xianyi/OpenBLAS/tarball/b89fb708caa5a5a32de8f4306c4ff132e0228e9a
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   477  100   477    0     0   1132      0 --:--:-- --:--:-- --:--:--  1130
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   211  100   211    0     0   4129      0 --:--:-- --:--:-- --:--:--  4137
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 22.6M    0 22.6M    0     0  6775k      0 --:--:--  0:00:03 --:--:-- 7382k
/home/ubuntu/julia-1.9/deps/tools/jlchecksum /home/ubuntu/julia-1.9/deps/srccache/openblas-b89fb708caa5a5a32de8f4306c4ff132e0228e9a.tar.gz
===============================================================================
  ERROR: sha512 checksum failure on openblas-b89fb708caa5a5a32de8f4306c4ff132e0228e9a.tar.gz, should be:
      00e7bde49525c2c28bf07b47290e00b53bff446be63f09e90c51724c6350e5dd
      c90f5a071ae6de057b3fbb107060e70bf16683fcefcf48ae37ba1d0758be553b
  But `sha512sum /home/ubuntu/julia-1.9/deps/srccache/openblas-b89fb708caa5a5a32de8f4306c4ff132e0228e9a.tar.gz | awk '{ print $1; }'` results in:
      7f52721efcc7c5fd146526463c8856c33d3f2f36cbded55ac5320e1c5211da0c
      549d25385ff74579907efe00b340c187688440fbb3a56b9ada471ada34ddef72
  This can happen due to bad downloads or network proxies, please check your
  network proxy/firewall settings and delete
  /home/ubuntu/julia-1.9/deps/srccache/openblas-b89fb708caa5a5a32de8f4306c4ff132e0228e9a.tar.gz
  to force a redownload when you are ready
===============================================================================
make: *** [/home/ubuntu/julia-1.9/deps/openblas.mk:6: checksum-openblas] Error 2
make: Leaving directory '/home/ubuntu/julia-1.9/deps'
$ 

It seems the checksum has changed because OpenBLAS has moved from https://github.com/xianyi/OpenBLAS to https://github.com/OpenMathLib/OpenBLAS.

This has broken our build again; there was a similar problem with Julia 1.8.2. :(

The last fix was to recreate the original. This time, we may have to change the checksum and do a patch release?

Cc: @KristofferC

@NHDaly NHDaly added the building Build system, or building Julia or its dependencies label Sep 20, 2023
@gbaraldi
Copy link
Member

Right, we need to patch our from source sources/checksums on master and potentially also on the backports

@kpamnany
Copy link
Contributor Author

kpamnany commented Oct 2, 2023

This is now fixed in backports-release-1.9. Although 1.9.2 will remain broken, I think we can close this?

@LilithHafner
Copy link
Member

I'm running into this issue when trying to build older versions of Julia to run a bisection. Is there a way to bypass the checksum verification? (this is running in a sandboxed environment so I'm okay with being vulnerable to arbitrary code execution)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
building Build system, or building Julia or its dependencies
Projects
None yet
Development

No branches or pull requests

4 participants