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

Binary distribution for Ubutu 22.04 is broken (on WSL2) #11901

Closed
1 task done
graeme-a-stewart opened this issue Dec 15, 2022 · 4 comments
Closed
1 task done

Binary distribution for Ubutu 22.04 is broken (on WSL2) #11901

graeme-a-stewart opened this issue Dec 15, 2022 · 4 comments

Comments

@graeme-a-stewart
Copy link

graeme-a-stewart commented Dec 15, 2022

  • Checked for duplicates

Describe the bug

ROOT installed from the binary distribtution for Ubuntu 22 is broken and can't start, at least for 6.26.08 and 6.26.10 (N.B. this is using WSL2).

Expected behavior

root should start normally.

To Reproduce

  • Install dependencies via apt
    • N.B. python and python-dev do not exist on Ubuntu22; use python3 and python-is-python3 instead; likewise libglew1.5-dev should now be libglew-dev
  • Download and unpack root_v6.26.10.Linux-ubuntu22-x86_64-gcc11.3.tar.gz in /opt
  • cd /opt/root; source bin/thisroot.sh
  • Then I get the following:
➜  which root
/opt/root/bin/root
➜  root
input_line_1:1:2: fatal error: module file '/home/sftnight/build/ws/BUILDTYPE/Release/LABEL/ROOT-ubuntu2204/V/6-26/build/lib/libc.pcm' not found: module file not found
#include <new>
 ^
input_line_1:1:2: note: imported by module 'std' in '/opt/root/lib/std.pcm'
Warning in cling::IncrementalParser::CheckABICompatibility():
  Failed to extract C++ standard library version.
Replaced symbol atexit cannot be found in JIT!
Replaced symbol at_quick_exit cannot be found in JIT!
Module libc not found.
Failed to load module std
<<< cling interactive line includer >>>: fatal error: module file '/home/sftnight/build/ws/BUILDTYPE/Release/LABEL/ROOT-ubuntu2204/V/6-26/build/lib/libc.pcm' not found: module file not found
<<< cling interactive line includer >>>: note: imported by module '_Builtin_intrinsics' in '/opt/root/lib/_Builtin_intrinsics.pcm'
Failed to load module _Builtin_intrinsics
Failed to load module ROOT_Foundation_C
Failed to load module ROOT_Rtypes
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module Core
Failed to load module Rint
Failed to load module RIO
Failed to load module MathCore
Failed to load module Hist
Failed to load module ROOTBrowsable
Failed to load module Unfold
Failed to load module RHTTPSniff
Failed to load module Imt
Failed to load module HistPainter
Failed to load module PyMVA
Failed to load module RDAVIX
Failed to load module RHTTP
Failed to load module FitPanel
Failed to load module ROOTVecOps
Failed to load module ProofDraw
Failed to load module RMySQL
Failed to load module Unuran
Failed to load module Quadp
Failed to load module ROOTNTuple
Failed to load module ROOT_Foundation_Stage1_NoRTTI
Failed to load module GeomPainter
Failed to load module Genetic
Failed to load module Eve
Failed to load module TreeViewer
Failed to load module Physics
Failed to load module ROOTTMVASofieParser
Failed to load module PgSQL
Failed to load module EG
Failed to load module Tree
Failed to load module HistFactory
Failed to load module Spectrum
Failed to load module Matrix
Failed to load module Hist
Failed to load module GuiHtml
Failed to load module _Builtin_intrinsics
Failed to load module Gpad
Failed to load module TMVAGui
Failed to load module Postscript
Failed to load module Html
Failed to load module ROOTEve
Failed to load module RGL
Failed to load module Fumili
Failed to load module Net
Failed to load module Geom
Failed to load module RooFitMore
Failed to load module ROOTGpadv7
Failed to load module X3d
Failed to load module Cling_Runtime
Failed to load module SPlot
Failed to load module Hbook
Failed to load module RooFit
Failed to load module RCsg
Failed to load module Rint
Failed to load module XMLParser
Failed to load module MultiProc
Failed to load module RooStats
Failed to load module RooFitRDataFrameHelpers
Failed to load module GeomBuilder
Failed to load module Proof
Failed to load module FITSIO
Failed to load module Ged
Failed to load module Recorder
Failed to load module FFTW
Failed to load module GuiBld
Failed to load module Vc
Failed to load module ROOTWebDisplay
Failed to load module RooFitCore
Failed to load module Gui
Failed to load module SQLIO
Failed to load module XMLIO
Failed to load module ROOT_Rtypes
Failed to load module std
Failed to load module ROOTHistDraw
Failed to load module GX11TTF
Failed to load module RIO
Failed to load module ROOTTMVASofie
Failed to load module ProofPlayer
Failed to load module ASImage
Failed to load module ROOT_Foundation_C
Failed to load module MathMore
Failed to load module RooFitHS3
Failed to load module Foam
Failed to load module RSQLite
Failed to load module SpectrumPainter
Failed to load module Minuit2
Failed to load module Core
Failed to load module MLP
Failed to load module ROOTDataFrame
Failed to load module GenVector
Failed to load module NetxNG
Failed to load module ROOTBrowserv7
Failed to load module Minuit
Failed to load module RootAuth
Failed to load module Graf3d
Failed to load module TMVA
Failed to load module ASImageGui
Failed to load module Graf
Failed to load module GX11
Failed to load module Gdml
Failed to load module ProofBench
Failed to load module Cling_Runtime_Extra
Failed to load module MathCore
Failed to load module Gviz3d
Failed to load module WebGui6
Failed to load module ROOTTPython
Failed to load module ROOTHist
Failed to load module TreePlayer
Failed to load module ROOTGraphicsPrimitives
Failed to load module ROOTFitPanelv7
Failed to load module Smatrix
Failed to load module SessionViewer
Failed to load module Thread

 *** Break *** segmentation violation
 Generating stack trace...
 0x00007f53d92e2836 in ROOT::TMetaUtils::TNormalizedCtxt::TNormalizedCtxt(cling::LookupHelper const&) + 0x26 from /opt/root/lib/libCling.so
 0x00007f53d93bddf4 in TCling::TCling(char const*, char const*, char const* const*) + 0x1b54 from /opt/root/lib/libCling.so
 0x00007f53d93bfaa5 in CreateInterpreter + 0x35 from /opt/root/lib/libCling.so
 0x00007f53dda3d1f3 in TROOT::InitInterpreter() + 0xd3 from /opt/root/lib/libCore.so.6.26
 0x00007f53dda3d6ef in ROOT::Internal::GetROOT2() + 0x2f from /opt/root/lib/libCore.so.6.26
 0x00007f53dda4a96d in TApplication::TApplication(char const*, int*, char**, void*, int) + 0x23d from /opt/root/lib/libCore.so.6.26
 0x00007f53dde6c460 in TRint::TRint(char const*, int*, char**, void*, int, bool, bool) + 0x260 from /opt/root/lib/libRint.so.6.26
 0x000055fe3f2832e7 in main + 0x47 from /opt/root/bin/root.exe
 0x00007f53dd436d90 in <unknown> from /lib/x86_64-linux-gnu/libc.so.6
 0x00007f53dd436e40 in __libc_start_main + 0x80 from /lib/x86_64-linux-gnu/libc.so.6
 0x000055fe3f283345 in _start + 0x25 from /opt/root/bin/root.exe

Setup

Ubuntu22.04.1 WSL2 on Windows 11.

@ferdymercury
Copy link
Collaborator

@graeme-a-stewart
Copy link
Author

Thanks - yes, @amadio and I chatted a bit and his build without runtime_cxxmodules is much more successful. I don't know why this is causing so much trouble on WSL2.

@amadio
Copy link
Member

amadio commented Dec 15, 2022

Yes, I made the package after this bug was created. Not sure what causes trouble in WSL, could be just some dependency missing, but better have someone confirm this. Could also be due to changes in how pcms are searched, I'm not sure.

@graeme-a-stewart graeme-a-stewart changed the title Binary distribution for Ubutu 22.04 is broken Binary distribution for Ubutu 22.04 is broken (on WSL2) Dec 15, 2022
@dpiparo dpiparo added this to Issues in Fixed in 6.32.00 via automation Dec 18, 2023
@dpiparo dpiparo added this to Issues in Fixed in 6.30.04 via automation Dec 18, 2023
@dpiparo
Copy link
Member

dpiparo commented Dec 18, 2023

This is fixed in the current binary releases. Do not hesitate to re-open if this issue appears again.

@dpiparo dpiparo closed this as completed Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

5 participants