julia icon indicating copy to clipboard operation
julia copied to clipboard

1.12.2 breaks updating because of 7z

Open xgdgsc opened this issue 1 month ago • 11 comments

(@v1.12) pkg> up
/home/user1/.julia/juliaup/julia-1.12.2+0.x64.linux.gnu/libexec/julia/7z: /lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by /home/user1/.julia/juliaup/julia-1.12.2+0.x64.linux.gnu/libexec/julia/7z)
/home/user1/.julia/juliaup/julia-1.12.2+0.x64.linux.gnu/libexec/julia/7z: /lib64/libstdc++.so.6: version `CXXABI_1.3.9' not found (required by /home/user1/.julia/juliaup/julia-1.12.2+0.x64.linux.gnu/libexec/julia/7z)
ERROR: failed process: Process(`/home/user1/.julia/juliaup/julia-1.12.2+0.x64.linux.gnu/libexec/julia/7z x /home/user1/.julia/registries/General.tar.gz -so`, ProcessExited(1)) [1]

xgdgsc avatar Nov 24 '25 02:11 xgdgsc

cc @nhz2 @giordano

I am not seeing a failure on my linux machine. Could you share which linux you're running?

ViralBShah avatar Nov 24 '25 02:11 ViralBShah

CentOS 7 . Is it expected to drop support for old linux?

xgdgsc avatar Nov 24 '25 03:11 xgdgsc

There is no such plan - but this is just to help debugging. Probably the 7z binary needs to be rebuilt.

ViralBShah avatar Nov 24 '25 03:11 ViralBShah

Should be fixed now, just had the wrong rpath after install

vtjnash avatar Nov 24 '25 04:11 vtjnash

Should be fixed now, just had the wrong rpath after install

Did that commit get a 1.12 backport?

Keno avatar Nov 24 '25 08:11 Keno

Seems like it is marked for backport: https://github.com/JuliaLang/julia/pull/60098

ViralBShah avatar Nov 24 '25 13:11 ViralBShah

Doesn't backport cleanly: #60225. Someone will need to do a manual backport.

giordano avatar Nov 25 '25 08:11 giordano

I think I am experiencing this issue too. I cannot do anything with Julia on my Linux machine since updating to 1.12.2. Here is a screenshot of the error messages I am getting.

Image

And here is the information about my machine:

NAME="CentOS Linux" VERSION="7 (Core)" ID="centos" ID_LIKE="rhel fedora" VERSION_ID="7" PRETTY_NAME="CentOS Linux 7 (Core)" ANSI_COLOR="0;31" CPE_NAME="cpe:/o:centos:centos:7" HOME_URL="https://www.centos.org/" BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7" CENTOS_MANTISBT_PROJECT_VERSION="7" REDHAT_SUPPORT_PRODUCT="centos" REDHAT_SUPPORT_PRODUCT_VERSION="7"

mpec-vrtalbot avatar Nov 28 '25 20:11 mpec-vrtalbot

Downgrade to 1.12.1 until the next release.

ViralBShah avatar Nov 28 '25 21:11 ViralBShah

Isn't this fixed by #60098?

Then it will be in 1.12.3, can be closed here.

@mpec-vrtalbot And I believe you can get the fix already with (I think an addon to 1.12.2; maybe it's only an addon to master, but good enough for you?):

juliaup add pr60098

Getting the 1.12.3 backport PR might be even better:

juliaup add pr60225

julia +pr60225

PallHaraldsson avatar Nov 29 '25 15:11 PallHaraldsson

Thank you, I added pr60098 and it seems to work fine so far. I didn't see the second suggestion until now or I would have done pr60225; so far pr60098 seems to work fine but if I encounter any issues before the official update I will try pr60225. I really appreciate your prompt response and your clear explanation of how to get my code running again.

mpec-vrtalbot avatar Dec 02 '25 01:12 mpec-vrtalbot