conda-forge / root-feedstock

A conda-smithy repository for root.
BSD 3-Clause "New" or "Revised" License
28 stars 23 forks source link

root 6.24.0 works for a few days, then always segfaults #136

Closed jpivarski closed 3 years ago

jpivarski commented 3 years ago

I have an up-to-date conda environment with conda-forge as the only non-default channel. Recently, just starting up root or import ROOT has resulted in a core dump:

<<< cling interactive line includer >>>: remark: building module 'RIO' as '/home/jpivarski/miniconda3/lib/RIO.pcm' [-Rmodule-build]
While building module 'RIO':
In file included from <module-includes>:3:
In file included from /home/jpivarski/miniconda3/include/ROOT/TBufferMerger.hxx:16:
In file included from /home/jpivarski/miniconda3/include/TMemFile.h:15:
/home/jpivarski/miniconda3/include/TFile.h:30:10: remark: building module 'Thread' as '/home/jpivarski/miniconda3/lib/Thread.pcm' [-Rmodule-build]
#include "ROOT/RConcurrentHashColl.hxx"
         ^
While building module 'RIO':
While building module 'Thread' imported from /home/jpivarski/miniconda3/include/TFile.h:30:
In file included from <module-includes>:18:
/home/jpivarski/miniconda3/include/ROOT/TReentrantRWLock.hxx:26:10: fatal error: 'tbb/enumerable_thread_specific.h' file not found
#include "tbb/enumerable_thread_specific.h"
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'RIO':
In file included from <module-includes>:3:
In file included from /home/jpivarski/miniconda3/include/ROOT/TBufferMerger.hxx:16:
In file included from /home/jpivarski/miniconda3/include/TMemFile.h:15:
/home/jpivarski/miniconda3/include/TFile.h:30:10: remark: finished building module 'Thread' [-Rmodule-build]
#include "ROOT/RConcurrentHashColl.hxx"
         ^
/home/jpivarski/miniconda3/include/TFile.h:30:10: fatal error: could not build module 'Thread'
#include "ROOT/RConcurrentHashColl.hxx"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<<< cling interactive line includer >>>: remark: finished building module 'RIO' [-Rmodule-build]
<<< cling interactive line includer >>>: fatal error: could not build module 'RIO'
Failed to load module RIO
While building module 'MathCore':
In file included from <module-includes>:3:
In file included from /home/jpivarski/miniconda3/include/Fit/Chi2FCN.h:19:
/home/jpivarski/miniconda3/include/Fit/FitUtil.h:20:10: remark: building module 'Imt' as '/home/jpivarski/miniconda3/lib/Imt.pcm' [-Rmodule-build]
#include "ROOT/TThreadExecutor.hxx"
         ^
While building module 'MathCore':
While building module 'Imt' imported from /home/jpivarski/miniconda3/include/Fit/FitUtil.h:20:
In file included from <module-includes>:4:
/home/jpivarski/miniconda3/include/ROOT/TExecutor.hxx:23:10: remark: building module 'MultiProc' as '/home/jpivarski/miniconda3/lib/MultiProc.pcm' [-Rmodule-build]
#include "ROOT/TProcessExecutor.hxx"
         ^
While building module 'MathCore':
While building module 'Imt' imported from /home/jpivarski/miniconda3/include/Fit/FitUtil.h:20:
While building module 'MultiProc' imported from /home/jpivarski/miniconda3/include/ROOT/TExecutor.hxx:23:
In file included from <module-includes>:2:
/home/jpivarski/miniconda3/include/MPSendRecv.h:15:10: fatal error: could not build module 'RIO'
#include "TBufferFile.h"
 ~~~~~~~~^~~~~~~~~~~~~~~
While building module 'MathCore':
While building module 'Imt' imported from /home/jpivarski/miniconda3/include/Fit/FitUtil.h:20:
While building module 'MultiProc' imported from /home/jpivarski/miniconda3/include/ROOT/TExecutor.hxx:23:
While building module 'Net' imported from /home/jpivarski/miniconda3/include/MPSendRecv.h:18:
In file included from <module-includes>:3:
In file included from /home/jpivarski/miniconda3/include/TApplicationRemote.h:31:
/home/jpivarski/miniconda3/include/TMessage.h:26:10: fatal error: could not build module 'RIO'
#include "TBufferFile.h"
 ~~~~~~~~^~~~~~~~~~~~~~~
While building module 'MathCore':
While building module 'Imt' imported from /home/jpivarski/miniconda3/include/Fit/FitUtil.h:20:
In file included from <module-includes>:4:
/home/jpivarski/miniconda3/include/ROOT/TExecutor.hxx:23:10: remark: finished building module 'MultiProc' [-Rmodule-build]
#include "ROOT/TProcessExecutor.hxx"
         ^
/home/jpivarski/miniconda3/include/ROOT/TExecutor.hxx:23:10: fatal error: could not build module 'MultiProc'
#include "ROOT/TProcessExecutor.hxx"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'MathCore':
In file included from <module-includes>:3:
In file included from /home/jpivarski/miniconda3/include/Fit/Chi2FCN.h:19:
/home/jpivarski/miniconda3/include/Fit/FitUtil.h:20:10: remark: finished building module 'Imt' [-Rmodule-build]
#include "ROOT/TThreadExecutor.hxx"
         ^
/home/jpivarski/miniconda3/include/Fit/FitUtil.h:20:10: fatal error: could not build module 'Imt'
#include "ROOT/TThreadExecutor.hxx"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
Failed to load module MathCore
While building module 'Hist':
In file included from <module-includes>:5:
/home/jpivarski/miniconda3/include/TBackCompFitter.h:14:10: fatal error: could not build module 'MathCore'
#include "Fit/BasicFCN.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~
Failed to load module Hist
<<< cling interactive line includer >>>: fatal error: could not build module 'Thread'
Failed to load module Thread
Info in <TInterpreter::TCling::RegisterModule>: Module Thread in modulemap failed to load.
root.exe: /home/conda/feedstock_root/build_artifacts/root_base_1618934102816/work/root-source/core/metacling/src/TCling.cxx:2323: virtual void TCling::RegisterModule(const char*, const char**, const char**, const char*, const char*, void (*)(), const FwdDeclArgsToKeepCollection_t&, const char**, Bool_t, Bool_t): Assertion `cling::Interpreter::kSuccess == compRes && "Payload code of a dictionary could not be parsed correctly."' failed.

Interestingly enough, removing ROOT, conda update --all, and reinstalling ROOT (through conda) made it work for a few days, but then the segfault is back. Something I'm running in the interim (PyROOT? JupyROOT?) is changing its state and causing it to fail at startup.


Environment (conda list):

``` $ conda list # packages in environment at /home/jpivarski/miniconda3: # # Name Version Build Channel _libgcc_mutex 0.1 conda_forge conda-forge _openmp_mutex 4.5 1_gnu conda-forge abseil-cpp 20210324.1 h9c3ff4c_0 conda-forge absl-py 0.12.0 pyhd8ed1ab_0 conda-forge afterimage 1.21 ha9998ff_1003 conda-forge alabaster 0.7.12 py_0 conda-forge alsa-lib 1.2.3 h516909a_0 conda-forge anyio 3.1.0 py38h578d9bd_0 conda-forge appdirs 1.4.4 pyh9f0ad1d_0 conda-forge argon2-cffi 20.1.0 py38h497a2fe_2 conda-forge arrow 1.1.0 pyhd8ed1ab_1 conda-forge arrow-cpp 4.0.0 py38h8e6f228_3_cpu conda-forge astroid 2.5.8 py38h578d9bd_0 conda-forge async_generator 1.10 py_0 conda-forge atk-1.0 2.36.0 h3371d22_4 conda-forge attrs 20.3.0 pyhd3deb0d_0 conda-forge auditwheel 3.3.1 py38h578d9bd_0 conda-forge autograd 1.3 py_0 conda-forge awkward 1.3.0 pypi_0 pypi awkward0 0.15.5 pypi_0 pypi aws-c-cal 0.5.10 h3622835_0 conda-forge aws-c-common 0.5.11 h7f98852_0 conda-forge aws-c-event-stream 0.2.7 hd2d8ebb_9 conda-forge aws-c-io 0.10.2 he6d800f_1 conda-forge aws-checksums 0.1.11 hc0e0e8b_6 conda-forge aws-sdk-cpp 1.8.186 h9ad65fb_2 conda-forge babel 2.9.1 pyh44b312d_0 conda-forge backcall 0.2.0 pyh9f0ad1d_0 conda-forge backports 1.0 py_2 conda-forge backports.functools_lru_cache 1.6.4 pyhd8ed1ab_0 conda-forge basemap 1.2.2 py38h85717e3_3 conda-forge beautifulsoup4 4.9.3 pyhb0f4dca_0 conda-forge binaryornot 0.4.4 py_1 conda-forge binutils 2.35.1 hdd6e379_2 conda-forge binutils_impl_linux-64 2.35.1 h193b22a_2 conda-forge binutils_linux-64 2.35 h67ddf6f_30 conda-forge black 21.5b2 pyhd8ed1ab_0 conda-forge bleach 3.3.0 pyh44b312d_0 conda-forge bokeh 2.3.2 py38h578d9bd_0 conda-forge boost-cpp 1.72.0 h9d3c048_4 conda-forge boost-histogram 1.0.2 py38h1fd1430_0 conda-forge brotli 1.0.9 h9c3ff4c_4 conda-forge brotlipy 0.7.0 py38h497a2fe_1001 conda-forge bzip2 1.0.8 h7f98852_4 conda-forge c-ares 1.17.1 h7f98852_1 conda-forge c-compiler 1.1.3 h7f98852_0 conda-forge ca-certificates 2021.5.30 ha878542_0 conda-forge cached-property 1.5.2 hd8ed1ab_1 conda-forge cached_property 1.5.2 pyha770c72_1 conda-forge cachetools 4.2.2 pyhd8ed1ab_0 conda-forge cairo 1.16.0 h6cf1ce9_1008 conda-forge certifi 2021.5.30 py38h578d9bd_0 conda-forge cffi 1.14.5 py38ha65f79e_0 conda-forge cfgv 3.3.0 pyhd8ed1ab_0 conda-forge cfitsio 3.470 hb418390_7 conda-forge cftime 1.5.0 py38hb5d20a5_0 conda-forge cgal 5.0.1 py38hc5bc63f_2 conda-forge cgal-cpp 5.0.1 h747953b_1 conda-forge chardet 4.0.0 py38h578d9bd_1 conda-forge check-manifest 0.46 pyhd8ed1ab_0 conda-forge click 8.0.1 py38h578d9bd_0 conda-forge click-completion 0.5.2 py38h578d9bd_2 conda-forge click-log 0.3.2 pyh9f0ad1d_0 conda-forge cloudpickle 1.6.0 py_0 conda-forge cmake 3.20.2 h541d2ed_0 conda-forge cmarkgfm 0.5.3 py38h497a2fe_0 conda-forge coffea 0.7.2 pypi_0 pypi colorama 0.4.4 pyh9f0ad1d_0 conda-forge compilers 1.1.3 ha770c72_0 conda-forge conda 4.10.1 py38h578d9bd_0 conda-forge conda-package-handling 1.7.3 py38h497a2fe_0 conda-forge cookiecutter 1.7.3 pyh6c4a22f_0 conda-forge cramjam 2.3.1 py38h497a2fe_1 conda-forge cryptography 3.4.7 py38ha5dfef3_0 conda-forge cudatoolkit 11.2.2 he111cf0_8 conda-forge cudatoolkit-dev 11.0.3 py38h7f98852_1 conda-forge cupy 9.1.0 py38ha69542f_0 conda-forge curl 7.77.0 hea6ffbf_0 conda-forge cxx-compiler 1.1.3 h4bd325d_0 conda-forge cycler 0.10.0 py_2 conda-forge cytoolz 0.11.0 py38h497a2fe_3 conda-forge dask 2021.6.0 pyhd8ed1ab_0 conda-forge dask-core 2021.6.0 pyhd8ed1ab_0 conda-forge dataclasses 0.8 pyhc8e2a94_1 conda-forge davix 0.7.6 hb44b51d_0 conda-forge dbus 1.13.6 h48d8840_2 conda-forge decorator 5.0.9 pyhd8ed1ab_0 conda-forge defusedxml 0.7.1 pyhd8ed1ab_0 conda-forge distlib 0.3.2 pyhd8ed1ab_0 conda-forge distributed 2021.6.0 py38h578d9bd_0 conda-forge distro 1.5.0 pyh9f0ad1d_0 conda-forge docutils 0.16 py38h578d9bd_3 conda-forge doxygen 1.9.1 hb166930_1 conda-forge editdistance-s 1.0.0 py38h1fd1430_1 conda-forge eigen 3.3.9 h4bd325d_1 conda-forge entrypoints 0.3 pyhd8ed1ab_1003 conda-forge expat 2.4.1 h9c3ff4c_0 conda-forge fastavro 1.4.1 py38h497a2fe_0 conda-forge fastparquet 0.6.3 py38hb5d20a5_0 conda-forge fastrlock 0.6 py38h709712a_0 conda-forge fftw 3.3.9 nompi_h74d3f13_101 conda-forge filelock 3.0.12 pyh9f0ad1d_0 conda-forge flake8 3.9.2 pyhd8ed1ab_0 conda-forge flake8-bugbear 21.4.3 pyhd8ed1ab_0 conda-forge flake8-docstrings 1.6.0 pyhd8ed1ab_0 conda-forge flake8-polyfill 1.0.2 py_0 conda-forge flake8-print 4.0.0 pyhd8ed1ab_0 conda-forge font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge font-ttf-inconsolata 3.000 h77eed37_0 conda-forge font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge font-ttf-ubuntu 0.83 hab24e00_0 conda-forge fontconfig 2.13.1 hba837de_1005 conda-forge fonts-conda-ecosystem 1 0 conda-forge fonts-conda-forge 1 0 conda-forge fortran-compiler 1.1.3 h1990efc_0 conda-forge freetype 2.10.4 h0708190_1 conda-forge fribidi 1.0.10 h36c2ea0_0 conda-forge fsspec 2021.6.0 pyhd8ed1ab_0 conda-forge ftgl 2.4.0 hbcb1f35_0 conda-forge future 0.18.2 py38h578d9bd_3 conda-forge gcc_impl_linux-64 9.3.0 h70c0ae5_19 conda-forge gcc_linux-64 9.3.0 hf25ea35_30 conda-forge gdbm 1.18 h0a1914f_2 conda-forge gdk-pixbuf 2.42.6 h04a7f16_0 conda-forge geos 3.8.1 he1b5a44_0 conda-forge gettext 0.19.8.1 h0b5b191_1005 conda-forge gflags 2.2.2 he1b5a44_1004 conda-forge gfortran_impl_linux-64 9.3.0 hc4a2995_19 conda-forge gfortran_linux-64 9.3.0 hdc58fab_30 conda-forge giflib 5.2.1 h36c2ea0_2 conda-forge gitdb 4.0.7 pyhd8ed1ab_0 conda-forge gitpython 3.1.17 pyhd8ed1ab_0 conda-forge gl2ps 1.4.2 h0708190_0 conda-forge glew 2.1.0 h9c3ff4c_2 conda-forge glib 2.68.2 h9c3ff4c_2 conda-forge glib-tools 2.68.2 h9c3ff4c_2 conda-forge glog 0.5.0 h48cff8f_0 conda-forge gmp 6.2.1 h58526e2_0 conda-forge gmpy2 2.1.0b5 py38h8384b0a_0 conda-forge graphite2 1.3.13 h58526e2_1001 conda-forge graphviz 2.47.2 h85b4f2f_0 conda-forge grpc-cpp 1.37.1 h2519f57_2 conda-forge gsl 2.6 he838d99_2 conda-forge gst-plugins-base 1.18.4 hf529b03_2 conda-forge gstreamer 1.18.4 h76c114f_2 conda-forge gtk2 2.24.33 h539f30e_1 conda-forge gts 0.7.6 h64030ff_2 conda-forge gxx_impl_linux-64 9.3.0 hd87eabc_19 conda-forge gxx_linux-64 9.3.0 h3fbe746_30 conda-forge h5py 3.2.1 nompi_py38h9915d05_100 conda-forge harfbuzz 2.8.1 h83ec7ef_0 conda-forge hdf4 4.2.15 h10796ff_3 conda-forge hdf5 1.10.6 nompi_h6a2412b_1114 conda-forge heapdict 1.0.1 py_0 conda-forge hepunits 2.0.0 pypi_0 pypi hist 2.3.0 pyhd8ed1ab_0 conda-forge histoprint 2.1.0 pyhd8ed1ab_0 conda-forge icu 68.1 h58526e2_0 conda-forge identify 2.2.10 pyhd8ed1ab_0 conda-forge idna 2.10 pyh9f0ad1d_0 conda-forge imageio 2.9.0 py_0 conda-forge imagesize 1.2.0 py_0 conda-forge iminuit 2.6.1 py38h709712a_0 conda-forge importlib-metadata 4.5.0 py38h578d9bd_0 conda-forge importlib-resources 5.1.4 pypi_0 pypi importlib_metadata 4.5.0 hd8ed1ab_0 conda-forge iniconfig 1.1.1 pyh9f0ad1d_0 conda-forge ipykernel 5.5.5 py38hd0cf306_0 conda-forge ipyparallel 6.3.0 py38h578d9bd_2 conda-forge ipython 7.24.1 py38hd0cf306_0 conda-forge ipython_genutils 0.2.0 py_1 conda-forge ipywidgets 7.6.3 pyhd3deb0d_0 conda-forge isort 5.8.0 pyhd8ed1ab_0 conda-forge jax 0.2.13 pyhd8ed1ab_0 conda-forge jaxlib 0.1.67 py38h578d9bd_0 conda-forge jedi 0.18.0 py38h578d9bd_2 conda-forge jeepney 0.6.0 pyhd8ed1ab_0 conda-forge jinja2 2.11.3 pyh44b312d_0 conda-forge jinja2-time 0.2.0 py_2 conda-forge jpeg 9d h36c2ea0_0 conda-forge json5 0.9.5 pyh9f0ad1d_0 conda-forge jsonschema 3.2.0 pyhd8ed1ab_3 conda-forge jupyter-book 0.10.2 pyhd8ed1ab_0 conda-forge jupyter-cache 0.4.2 pyhd8ed1ab_1 conda-forge jupyter-server-mathjax 0.2.3 pyhd8ed1ab_0 conda-forge jupyter-sphinx 0.3.2 py_0 conda-forge jupyter_client 6.1.12 pyhd8ed1ab_0 conda-forge jupyter_core 4.7.1 py38h578d9bd_0 conda-forge jupyter_server 1.8.0 pyhd8ed1ab_0 conda-forge jupyterbook-latex 0.2.0 pyhd8ed1ab_0 conda-forge jupyterlab 3.0.16 pyhd8ed1ab_0 conda-forge jupyterlab_server 2.6.0 pyhd8ed1ab_0 conda-forge jupyterlab_widgets 1.0.0 pyhd8ed1ab_1 conda-forge jupytext 1.10.3 pyh44b312d_0 conda-forge kernel-headers_linux-64 2.6.32 h77966d4_13 conda-forge keyring 23.0.1 py38h578d9bd_0 conda-forge kiwisolver 1.3.1 py38h1fd1430_1 conda-forge krb5 1.19.1 hcc1bbae_0 conda-forge lark-parser 0.11.3 pyhd8ed1ab_0 conda-forge latexcodec 2.0.1 pyh9f0ad1d_0 conda-forge lazy-object-proxy 1.6.0 py38h497a2fe_0 conda-forge lcms2 2.12 hddcbb42_0 conda-forge ld_impl_linux-64 2.35.1 hea4e1c9_2 conda-forge libblas 3.9.0 9_openblas conda-forge libcblas 3.9.0 9_openblas conda-forge libclang 11.1.0 default_ha53f305_1 conda-forge libcurl 7.77.0 h2574ce0_0 conda-forge libcxx 11.1.0 h4bd325d_0 conda-forge libcxxabi 11.1.0 ha770c72_0 conda-forge libedit 3.1.20191231 he28a2e2_2 conda-forge libev 4.33 h516909a_1 conda-forge libevent 2.1.10 hcdb4288_3 conda-forge libffi 3.3 h58526e2_2 conda-forge libgcc-devel_linux-64 9.3.0 h7864c58_19 conda-forge libgcc-ng 9.3.0 h2828fa1_19 conda-forge libgd 2.3.2 h78a0170_0 conda-forge libgfortran-ng 9.3.0 hff62375_19 conda-forge libgfortran5 9.3.0 hff62375_19 conda-forge libglib 2.68.2 h3e27bee_2 conda-forge libglu 9.0.0 he1b5a44_1001 conda-forge libgomp 9.3.0 h2828fa1_19 conda-forge libiconv 1.16 h516909a_0 conda-forge liblapack 3.9.0 9_openblas conda-forge libllvm10 10.0.1 he513fc3_3 conda-forge libllvm11 11.1.0 hf817b99_2 conda-forge libllvm9 9.0.1 hf817b99_2 conda-forge libmagic 5.39 h27826a3_0 conda-forge libnetcdf 4.8.0 nompi_hcd642e3_103 conda-forge libnghttp2 1.43.0 h812cca2_0 conda-forge libogg 1.3.4 h7f98852_1 conda-forge libopenblas 0.3.15 pthreads_h8fe5266_1 conda-forge libopus 1.3.1 h7f98852_1 conda-forge libpng 1.6.37 h21135ba_2 conda-forge libpq 13.3 hd57d9b9_0 conda-forge libprotobuf 3.16.0 h780b84a_0 conda-forge librsvg 2.50.7 hc3c00ef_0 conda-forge libsodium 1.0.18 h36c2ea0_1 conda-forge libssh2 1.9.0 ha56f1ee_6 conda-forge libstdcxx-devel_linux-64 9.3.0 hb016644_19 conda-forge libstdcxx-ng 9.3.0 h6de172a_19 conda-forge libthrift 0.14.1 he6d91bd_1 conda-forge libtiff 4.2.0 hbd63e13_2 conda-forge libtool 2.4.6 h58526e2_1007 conda-forge libutf8proc 2.6.1 h7f98852_0 conda-forge libuuid 2.32.1 h7f98852_1000 conda-forge libuv 1.41.0 h7f98852_0 conda-forge libvorbis 1.3.7 h9c3ff4c_0 conda-forge libwebp 1.2.0 h3452ae3_0 conda-forge libwebp-base 1.2.0 h7f98852_2 conda-forge libxcb 1.13 h7f98852_1003 conda-forge libxkbcommon 1.0.3 he3ba5ed_0 conda-forge libxml2 2.9.12 h72842e0_0 conda-forge libzip 1.7.3 h4de3113_0 conda-forge linkify-it-py 1.0.1 pyhd8ed1ab_0 conda-forge llvmlite 0.36.0 py38h4630a5e_0 conda-forge locket 0.2.0 py_2 conda-forge lz4 3.1.3 py38hebdc3cf_0 conda-forge lz4-c 1.9.3 h9c3ff4c_0 conda-forge markdown-it-py 0.6.2 pyhd8ed1ab_0 conda-forge markupsafe 1.1.1 py38h497a2fe_3 conda-forge matplotlib 3.4.2 py38h578d9bd_0 conda-forge matplotlib-base 3.4.2 py38hcc49a3a_0 conda-forge matplotlib-inline 0.1.2 pyhd8ed1ab_2 conda-forge maven 3.6.3 ha770c72_0 conda-forge mccabe 0.6.1 py_1 conda-forge mdit-py-plugins 0.2.6 pyhd8ed1ab_0 conda-forge memory_profiler 0.58.0 py_0 conda-forge metakernel 0.27.5 pyhd3deb0d_0 conda-forge mistune 0.8.4 py38h497a2fe_1003 conda-forge mock 4.0.3 py38h578d9bd_1 conda-forge more-itertools 8.8.0 pyhd8ed1ab_0 conda-forge mpc 1.1.0 h04dde30_1009 conda-forge mpfr 4.0.2 he80fd80_1 conda-forge mplhep 0.3.8 pyhd8ed1ab_0 conda-forge mplhep_data 0.0.2 pyhd8ed1ab_0 conda-forge mpmath 1.2.1 pyhd8ed1ab_0 conda-forge msgpack-python 1.0.2 py38h1fd1430_1 conda-forge mypy_extensions 0.4.3 py38h578d9bd_3 conda-forge mysql-common 8.0.23 ha770c72_2 conda-forge mysql-libs 8.0.23 h935591d_2 conda-forge myst-nb 0.12.3 pyhd8ed1ab_0 conda-forge myst-parser 0.13.7 pyhd8ed1ab_0 conda-forge nbclassic 0.3.1 pyhd8ed1ab_1 conda-forge nbclient 0.5.3 pyhd8ed1ab_0 conda-forge nbconvert 5.6.1 py38h32f6830_1 conda-forge nbdime 3.1.0 pyhd8ed1ab_0 conda-forge nbformat 5.1.3 pyhd8ed1ab_0 conda-forge ncurses 6.2 h58526e2_4 conda-forge nest-asyncio 1.5.1 pyhd8ed1ab_0 conda-forge nested-lookup 0.2.22 pyhd8ed1ab_0 conda-forge netcdf4 1.5.6 nompi_py38h5e9db54_103 conda-forge ninja 1.10.2 h4bd325d_0 conda-forge nlohmann_json 3.9.1 h9c3ff4c_1 conda-forge nodeenv 1.6.0 pyhd8ed1ab_0 conda-forge nodejs 15.14.0 h92b4a50_0 conda-forge notebook 6.4.0 pyha770c72_0 conda-forge nspr 4.30 h9c3ff4c_0 conda-forge nss 3.67 hb5efdd6_0 conda-forge numba 0.53.1 py38h0e12cce_0 conda-forge numexpr 2.7.3 py38h51da96c_0 conda-forge numpy 1.20.3 py38h9894fe3_1 conda-forge olefile 0.46 pyh9f0ad1d_1 conda-forge openjdk 11.0.9.1 h5cc2fde_1 conda-forge openjpeg 2.4.0 hb52868f_1 conda-forge openssl 1.1.1k h7f98852_0 conda-forge opt_einsum 3.3.0 pyhd8ed1ab_1 conda-forge orc 1.6.7 h89a63ab_2 conda-forge packaging 20.9 pyh44b312d_0 conda-forge pandas 1.2.4 py38h1abd341_0 conda-forge pandoc 2.14.0.1 h7f98852_0 conda-forge pandocfilters 1.4.2 py_1 conda-forge pango 1.48.5 hb8ff022_0 conda-forge parquet-cpp 1.5.1 2 conda-forge parso 0.8.2 pyhd8ed1ab_0 conda-forge partd 1.2.0 pyhd8ed1ab_0 conda-forge particle 0.12.0 pypi_0 pypi pathspec 0.8.1 pyhd3deb0d_0 conda-forge patsy 0.5.1 py_0 conda-forge pcre 8.44 he1b5a44_0 conda-forge pep517 0.10.0 py38h578d9bd_0 conda-forge pep8-naming 0.11.1 pyh9f0ad1d_0 conda-forge pexpect 4.8.0 pyh9f0ad1d_2 conda-forge pickleshare 0.7.5 py_1003 conda-forge pillow 8.2.0 py38ha0e1e83_1 conda-forge pip 21.1.2 pyhd8ed1ab_0 conda-forge pixman 0.40.0 h36c2ea0_0 conda-forge pkginfo 1.7.0 pyhd8ed1ab_0 conda-forge pluggy 0.13.1 py38h578d9bd_4 conda-forge ply 3.11 py_1 conda-forge portalocker 1.7.0 py38h578d9bd_1 conda-forge poyo 0.5.0 py_0 conda-forge pre-commit 2.13.0 py38h578d9bd_0 conda-forge prmon 2.2.0 h4bd325d_0 conda-forge proj 7.2.0 h277dcde_2 conda-forge prometheus_client 0.11.0 pyhd8ed1ab_0 conda-forge prompt-toolkit 3.0.18 pyha770c72_0 conda-forge psutil 5.8.0 py38h497a2fe_1 conda-forge pthread-stubs 0.4 h36c2ea0_1001 conda-forge ptyprocess 0.7.0 pyhd3deb0d_0 conda-forge py 1.10.0 pyhd3deb0d_0 conda-forge pyarrow 4.0.0 py38hc9229eb_3_cpu conda-forge pybtex 0.24.0 py38h578d9bd_0 conda-forge pybtex-docutils 1.0.0 py38h578d9bd_0 conda-forge pycodestyle 2.7.0 pyhd8ed1ab_0 conda-forge pycosat 0.6.3 py38h497a2fe_1006 conda-forge pycparser 2.20 pyh9f0ad1d_2 conda-forge pydata-sphinx-theme 0.4.3 pyhd8ed1ab_0 conda-forge pydocstyle 6.1.1 pyhd8ed1ab_0 conda-forge pyelftools 0.27 pyh9f0ad1d_0 conda-forge pyflakes 2.3.1 pyhd8ed1ab_0 conda-forge pygments 2.9.0 pyhd8ed1ab_0 conda-forge pylint 2.7.2 py38h578d9bd_0 conda-forge pyopenssl 20.0.1 pyhd8ed1ab_0 conda-forge pyparsing 2.4.7 pyh9f0ad1d_0 conda-forge pyproj 3.0.1 py38h16ecdd7_0 conda-forge pyqt 5.12.3 py38h578d9bd_7 conda-forge pyqt-impl 5.12.3 py38h7400c14_7 conda-forge pyqt5-sip 4.19.18 py38h709712a_7 conda-forge pyqtchart 5.12 py38h7400c14_7 conda-forge pyqtwebengine 5.12.1 py38h7400c14_7 conda-forge pyrsistent 0.17.3 py38h497a2fe_2 conda-forge pyshp 2.1.3 pyh44b312d_0 conda-forge pysocks 1.7.1 py38h578d9bd_3 conda-forge pytest 6.2.4 py38h578d9bd_0 conda-forge pythia8 8.305 py38h709712a_0 conda-forge python 3.8.10 h49503c6_1_cpython conda-forge python-build 0.4.0 pyhd8ed1ab_0 conda-forge python-dateutil 2.8.1 py_0 conda-forge python-flatbuffers 2.0 pyhd8ed1ab_0 conda-forge python-magic 0.4.24 py38h578d9bd_0 conda-forge python-slugify 5.0.2 pyhd8ed1ab_0 conda-forge python-xxhash 2.0.2 py38h497a2fe_0 conda-forge python_abi 3.8 1_cp38 conda-forge pytz 2021.1 pyhd8ed1ab_0 conda-forge pyyaml 5.4.1 py38h497a2fe_0 conda-forge pyzmq 22.1.0 py38h2035c66_0 conda-forge qt 5.12.9 hda022c4_4 conda-forge rb-addressable 2.7.0 hc42de5b_0 conda-forge rb-colorator 1.1.0 hc42de5b_0 conda-forge rb-concurrent-ruby 1.1.6 hc42de5b_0 conda-forge rb-em-websocket 0.5.1 hc42de5b_1 conda-forge rb-eventmachine 1.2.7 h07ebd69_2 conda-forge rb-ffi 1.11.1 h57cb86e_2 conda-forge rb-forwardable-extended 2.6.0 hc42de5b_0 conda-forge rb-http_parser.rb 0.6.0 hb89128f_1 conda-forge rb-i18n 1.7.0 hc42de5b_0 conda-forge rb-jekyll 4.0.0 hc42de5b_0 conda-forge rb-jekyll-sass-converter 2.0.1 hc42de5b_0 conda-forge rb-jekyll-watch 2.2.1 hc42de5b_1 conda-forge rb-kramdown 2.3.1 hd8ed1ab_0 conda-forge rb-kramdown-parser-gfm 1.1.0 hc42de5b_0 conda-forge rb-liquid 4.0.3 hc42de5b_1 conda-forge rb-listen 3.2.1 hc42de5b_0 conda-forge rb-mercenary 0.3.6 hc42de5b_0 conda-forge rb-pathutil 0.16.2 hc42de5b_0 conda-forge rb-public_suffix 4.0.6 hd8ed1ab_0 conda-forge rb-rb-fsevent 0.10.3 hc42de5b_1 conda-forge rb-rb-inotify 0.10.1 hc42de5b_0 conda-forge rb-rouge 3.16.0 hc42de5b_0 conda-forge rb-ruby_dep 1.5.0 hc42de5b_1 conda-forge rb-safe_yaml 1.0.5 hc42de5b_0 conda-forge rb-sassc 2.3.0 h16e5e93_0 conda-forge rb-terminal-table 1.8.0 hc42de5b_0 conda-forge rb-unicode-display_width 1.6.0 hc42de5b_0 conda-forge re2 2021.04.01 h9c3ff4c_0 conda-forge readline 8.1 h46c0cb4_0 conda-forge readme_renderer 27.0 pyh9f0ad1d_0 conda-forge regex 2021.4.4 py38h497a2fe_0 conda-forge requests 2.25.1 pyhd3deb0d_0 conda-forge requests-toolbelt 0.9.1 py_0 conda-forge rfc3986 1.5.0 pyhd8ed1ab_0 conda-forge rhash 1.4.1 h7f98852_0 conda-forge root 6.24.0 py38h1abd341_0 conda-forge root_base 6.24.0 py38h07e97b3_0 conda-forge ruamel_yaml 0.15.80 py38h497a2fe_1004 conda-forge ruby 2.6.6 he592edb_2 conda-forge s2n 1.0.10 h9b69904_0 conda-forge s3cmd 2.0.2 py_0 conda-forge scikit-build 0.11.1 py38h709712a_2 conda-forge scikit-hep-testdata 0.4.4 pypi_0 pypi scipy 1.6.3 py38h7b17777_0 conda-forge seaborn 0.11.1 hd8ed1ab_1 conda-forge seaborn-base 0.11.1 pyhd8ed1ab_1 conda-forge secretstorage 3.3.1 py38h578d9bd_0 conda-forge send2trash 1.5.0 py_0 conda-forge setuptools 49.6.0 py38h578d9bd_3 conda-forge shellingham 1.4.0 pyh44b312d_0 conda-forge six 1.16.0 pyh6c4a22f_0 conda-forge smmap 3.0.5 pyh44b312d_0 conda-forge snappy 1.1.8 he1b5a44_3 conda-forge sniffio 1.2.0 py38h578d9bd_1 conda-forge snowballstemmer 2.1.0 pyhd8ed1ab_0 conda-forge sortedcontainers 2.4.0 pyhd8ed1ab_0 conda-forge soupsieve 2.0.1 py_1 conda-forge spark-parser 1.8.9 pypi_0 pypi sphinx 3.5.4 pyh44b312d_0 conda-forge sphinx-book-theme 0.0.41 pyhd8ed1ab_0 conda-forge sphinx-comments 0.0.3 pyh9f0ad1d_0 conda-forge sphinx-copybutton 0.3.1 pyhd8ed1ab_0 conda-forge sphinx-panels 0.5.2 pyhd3deb0d_0 conda-forge sphinx-thebe 0.0.8 pyhd3deb0d_0 conda-forge sphinx-togglebutton 0.2.3 pyhd3deb0d_0 conda-forge sphinxcontrib-applehelp 1.0.2 py_0 conda-forge sphinxcontrib-bibtex 2.1.4 pyhd8ed1ab_0 conda-forge sphinxcontrib-devhelp 1.0.2 py_0 conda-forge sphinxcontrib-htmlhelp 2.0.0 pyhd8ed1ab_0 conda-forge sphinxcontrib-jsmath 1.0.1 py_0 conda-forge sphinxcontrib-qthelp 1.0.3 py_0 conda-forge sphinxcontrib-serializinghtml 1.1.5 pyhd8ed1ab_0 conda-forge sqlalchemy 1.3.23 py38h497a2fe_0 conda-forge sqlite 3.35.5 h74cdb3f_0 conda-forge statsmodels 0.12.2 py38h5c078b8_0 conda-forge swig 4.0.2 hd3c618e_2 conda-forge sympy 1.8 py38h578d9bd_0 conda-forge sysroot_linux-64 2.12 h77966d4_13 conda-forge tbb 2020.2 h4bd325d_4 conda-forge tblib 1.7.0 pyhd8ed1ab_0 conda-forge terminado 0.10.0 py38h578d9bd_0 conda-forge testpath 0.5.0 pyhd8ed1ab_0 conda-forge text-unidecode 1.3 py_0 conda-forge thrift 0.13.0 py38h709712a_2 conda-forge thriftpy 0.3.9 py38h516909a_1001 conda-forge tk 8.6.10 h21135ba_1 conda-forge toml 0.10.2 pyhd8ed1ab_0 conda-forge toolz 0.11.1 py_0 conda-forge tornado 6.1 py38h497a2fe_1 conda-forge tqdm 4.61.0 pyhd8ed1ab_0 conda-forge traitlets 5.0.5 py_0 conda-forge twine 3.4.1 pyhd8ed1ab_0 conda-forge typed-ast 1.4.3 py38h497a2fe_0 conda-forge typing-extensions 3.10.0.0 hd8ed1ab_0 conda-forge typing_extensions 3.10.0.0 pyha770c72_0 conda-forge uc-micro-py 1.0.1 pyhd8ed1ab_0 conda-forge uhi 0.2.1 pyhd8ed1ab_0 conda-forge uncertainties 3.1.5 pyhd8ed1ab_0 conda-forge uncompyle6 3.7.4 pypi_0 pypi unidecode 1.2.0 pyhd8ed1ab_0 conda-forge uproot 4.0.8 dev_0 uproot3 3.14.3 pypi_0 pypi uproot3-methods 0.10.1 pypi_0 pypi urllib3 1.26.5 pyhd8ed1ab_0 conda-forge vdt 0.4.3 h9c3ff4c_0 conda-forge vector-classes 1.4.1 h4bd325d_1 conda-forge virtualenv 20.4.7 py38h578d9bd_0 conda-forge vmtouch 1.3.1 h14c3975_0 conda-forge wcwidth 0.2.5 pyh9f0ad1d_2 conda-forge webencodings 0.5.1 py_1 conda-forge websocket-client 0.57.0 py38h578d9bd_4 conda-forge wheel 0.36.2 pyhd3deb0d_0 conda-forge widgetsnbextension 3.5.1 py38h578d9bd_4 conda-forge wrapt 1.12.1 py38h497a2fe_3 conda-forge xarray 0.18.2 pyhd8ed1ab_0 conda-forge xdis 5.0.9 pypi_0 pypi xorg-fixesproto 5.0 h7f98852_1002 conda-forge xorg-inputproto 2.3.2 h7f98852_1002 conda-forge xorg-kbproto 1.0.7 h7f98852_1002 conda-forge xorg-libice 1.0.10 h7f98852_0 conda-forge xorg-libsm 1.2.3 hd9c2040_1000 conda-forge xorg-libx11 1.6.12 h36c2ea0_0 conda-forge xorg-libxau 1.0.9 h7f98852_0 conda-forge xorg-libxcursor 1.2.0 h516909a_0 conda-forge xorg-libxdmcp 1.1.3 h7f98852_0 conda-forge xorg-libxext 1.3.4 h516909a_0 conda-forge xorg-libxfixes 5.0.3 h516909a_1004 conda-forge xorg-libxft 2.3.3 h71203ad_0 conda-forge xorg-libxi 1.7.10 h516909a_0 conda-forge xorg-libxpm 3.5.13 h516909a_0 conda-forge xorg-libxrender 0.9.10 h516909a_1002 conda-forge xorg-libxt 1.1.5 h516909a_1003 conda-forge xorg-libxtst 1.2.3 h516909a_1002 conda-forge xorg-recordproto 1.14.2 h7f98852_1002 conda-forge xorg-renderproto 0.11.1 h7f98852_1002 conda-forge xorg-xextproto 7.3.0 h7f98852_1002 conda-forge xorg-xproto 7.0.31 h7f98852_1007 conda-forge xrootd 5.2.0 py38h62fff15_0 conda-forge xxhash 0.8.0 h7f98852_3 conda-forge xz 5.2.5 h516909a_1 conda-forge yaml 0.2.5 h516909a_0 conda-forge zeromq 4.3.4 h9c3ff4c_0 conda-forge zict 2.0.0 py_0 conda-forge zipp 3.4.1 pyhd8ed1ab_0 conda-forge zlib 1.2.11 h516909a_1010 conda-forge zstandard 0.15.2 py38h497a2fe_0 conda-forge zstd 1.4.9 ha95c52a_0 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : base active env location : /home/jpivarski/miniconda3 shell level : 1 user config file : /home/jpivarski/.condarc populated config files : /home/jpivarski/.condarc conda version : 4.10.1 conda-build version : not installed python version : 3.8.10.final.0 virtual packages : __cuda=11.2=0 __linux=5.11.0=0 __glibc=2.31=0 __unix=0=0 __archspec=1=x86_64 base environment : /home/jpivarski/miniconda3 (writable) conda av data dir : /home/jpivarski/miniconda3/etc/conda conda av metadata url : https://repo.anaconda.com/pkgs/main channel URLs : https://conda.anaconda.org/conda-forge/linux-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /home/jpivarski/miniconda3/pkgs /home/jpivarski/.conda/pkgs envs directories : /home/jpivarski/miniconda3/envs /home/jpivarski/.conda/envs platform : linux-64 user-agent : conda/4.10.1 requests/2.25.1 CPython/3.8.10 Linux/5.11.0-7614-generic pop/20.04 glibc/2.31 UID:GID : 1000:1000 netrc file : /home/jpivarski/.netrc offline mode : False ```


Removing ROOT ( conda remove root root_base ) applies the following changes:

``` Collecting package metadata (repodata.json): done Solving environment: done ## Package Plan ## environment location: /home/jpivarski/miniconda3 removed specs: - root - root_base The following packages will be downloaded: package | build ---------------------------|----------------- xorg-libx11-1.7.2 | h7f98852_0 941 KB conda-forge xorg-libxext-1.3.4 | h7f98852_1 54 KB conda-forge xorg-libxfixes-5.0.3 | h7f98852_1004 18 KB conda-forge xorg-libxi-1.7.10 | h7f98852_0 46 KB conda-forge xorg-libxrender-0.9.10 | h7f98852_1003 32 KB conda-forge xorg-libxtst-1.2.3 | h7f98852_1002 31 KB conda-forge ------------------------------------------------------------ Total: 1.1 MB The following packages will be REMOVED: afterimage-1.21-ha9998ff_1003 atk-1.0-2.36.0-h3371d22_4 binutils-2.35.1-hdd6e379_2 c-compiler-1.1.3-h7f98852_0 cfitsio-3.470-hb418390_7 compilers-1.1.3-ha770c72_0 cxx-compiler-1.1.3-h4bd325d_0 davix-0.7.6-hb44b51d_0 fftw-3.3.9-nompi_h74d3f13_101 font-ttf-dejavu-sans-mono-2.37-hab24e00_0 font-ttf-inconsolata-3.000-h77eed37_0 font-ttf-source-code-pro-2.038-h77eed37_0 font-ttf-ubuntu-0.83-hab24e00_0 fonts-conda-ecosystem-1-0 fonts-conda-forge-1-0 fortran-compiler-1.1.3-h1990efc_0 fribidi-1.0.10-h36c2ea0_0 ftgl-2.4.0-hbcb1f35_0 gdk-pixbuf-2.42.6-h04a7f16_0 gfortran_impl_linux-64-9.3.0-hc4a2995_19 gfortran_linux-64-9.3.0-hdc58fab_30 gl2ps-1.4.2-h0708190_0 glew-2.1.0-h9c3ff4c_2 graphviz-2.47.2-h85b4f2f_0 gsl-2.6-he838d99_2 gtk2-2.24.33-h539f30e_1 gts-0.7.6-h64030ff_2 ipyparallel-6.3.0-py38h578d9bd_2 libcxx-11.1.0-h4bd325d_0 libcxxabi-11.1.0-ha770c72_0 libgd-2.3.2-h78a0170_0 libglu-9.0.0-he1b5a44_1001 libllvm9-9.0.1-hf817b99_2 librsvg-2.50.7-hc3c00ef_0 libtool-2.4.6-h58526e2_1007 libwebp-1.2.0-h3452ae3_0 metakernel-0.27.5-pyhd3deb0d_0 nlohmann_json-3.9.1-h9c3ff4c_1 pango-1.48.5-hb8ff022_0 portalocker-1.7.0-py38h578d9bd_1 pythia8-8.305-py38h709712a_0 root-6.24.0-py38h1abd341_0 root_base-6.24.0-py38h07e97b3_0 tbb-2020.2-h4bd325d_4 vdt-0.4.3-h9c3ff4c_0 vector-classes-1.4.1-h4bd325d_1 xorg-libxcursor-1.2.0-h516909a_0 xorg-libxft-2.3.3-h71203ad_0 xorg-libxpm-3.5.13-h516909a_0 xorg-libxt-1.1.5-h516909a_1003 The following packages will be UPDATED: xorg-libx11 1.6.12-h36c2ea0_0 --> 1.7.2-h7f98852_0 xorg-libxext 1.3.4-h516909a_0 --> 1.3.4-h7f98852_1 xorg-libxrender 0.9.10-h516909a_1002 --> 0.9.10-h7f98852_1003 The following packages will be DOWNGRADED: xorg-libxfixes 5.0.3-h516909a_1004 --> 5.0.3-h7f98852_1004 xorg-libxi 1.7.10-h516909a_0 --> 1.7.10-h7f98852_0 xorg-libxtst 1.2.3-h516909a_1002 --> 1.2.3-h7f98852_1002 ```

After doing that, I've verified that I have no ROOT installation whatsoever (i.e. nothing interfering from another PATH). Same for PyROOT.

Also after doing that, I've verified that conda update --all does nothing. It's already up to date.

I'm going to try using 6.22.8 instead.

chrisburr commented 3 years ago

Thanks for the bug report. I'll try asking the ROOT team to see if they can guess why the pcm's are being rebuilt.

In the meantime I have a couple of questions which might explain why the rebuild is failing:

  1. What shell are you using?
  2. How do you activate the environment? Are you doing export PATH=/home/jpivarski/miniconda3/bin:$PATH or are you using eval/source with one of the activation scripts?
amadio commented 3 years ago

What is the output of root-config --config | tr ' ' '\n' | grep -i tbb? Do you have LD_LIBRARY_PATH and/or CPATH set by any means, like by loading ICC from somewhere?

jpivarski commented 3 years ago
  1. What shell are you using?
% echo $SHELL
/bin/bash
  1. How do you activate the environment? Are you doing export PATH=/home/jpivarski/miniconda3/bin:$PATH or are you using eval/source with one of the activation scripts?

I have this at the end of my ~/.bashrc:

# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/jpivarski/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
    eval "$__conda_setup"
else
    if [ -f "/home/jpivarski/miniconda3/etc/profile.d/conda.sh" ]; then
        . "/home/jpivarski/miniconda3/etc/profile.d/conda.sh"
    else
        export PATH="/home/jpivarski/miniconda3/bin:$PATH"
    fi
fi
unset __conda_setup
# <<< conda initialize <<<

What is the output of root-config --config | tr ' ' '\n' | grep -i tbb?

For that, I'll need to switch back into the latest ROOT. Right now, I have 6.22/08 and I don't want to rock the boat (even in a new conda environment) because I have a demo to do on Monday. (CMS LPC HATS)

For what it's worth, this is the output of root-config for my 6.22/08 version:

% root-config --config | tr ' ' '\n' | grep -i tbb
TBB_INCLUDE_DIR=/home/jpivarski/miniconda3/include
TBB_LIBRARY=/home/jpivarski/miniconda3/lib/libtbb.so
TBB_LIBRARY_RELEASE=/home/jpivarski/miniconda3/lib/libtbb.so

I'll come back to this and can answer the question again when I un-pin the ROOT version.

Do you have LD_LIBRARY_PATH and/or CPATH set by any means, like by loading ICC from somewhere?

No:

% echo $LD_LIBRARY_PATH

% echo $CPATH
chrisburr commented 3 years ago

The first two points look fine.

If you see this again after Monday it would be interesting to try if installing tbb-devel fixes the issue completely. I can half reproduce this locally by deleting all of the lib/*.pcm and it seems to help but I then run into other issues which I think are related to me deleting the files.

jpivarski commented 3 years ago

Will do, thanks!

And thanks, @amadio, for pointing me to Mattermost/ROOT/build-system. That does look relevant, because TReentrantRWLock.hxx is in my error output. If that's what the problem is, then just waiting for 6.24/02 would fix it.

jpivarski commented 3 years ago

I've upgraded (conda uninstall root root_base && conda update --all && conda install root tbb-devel) and so far, so good: I can start root and import ROOT in Python. I'll know by the end of the week if the problem reappears, so I'll be testing it every day and will close this issue on Friday if tbb-devel fixes it.

Oh, and @amadio, with ROOT 6.24/00,

% root-config --config | tr ' ' '\n' | grep -i tbb
TBB_INCLUDE_DIR=/home/jpivarski/miniconda3/include
TBB_LIBRARY=/home/jpivarski/miniconda3/lib/libtbb.so
TBB_LIBRARY_RELEASE=/home/jpivarski/miniconda3/lib/libtbb.so

although I have installed the tbb-devel explicitly. Without that, I didn't have any TBB from conda.

jpivarski commented 3 years ago

I didn't wait until Friday, but I've been checking it every day and haven't run into any problems. I think that adding tbb-devel to the conda install line did it.

jpivarski commented 3 years ago

I guess it took from June 17 until August 11 for it to spontaneously break again. I have more evidence this time that it was spontaneous: I was working with ROOT in the morning, then it stopped working in the afternoon.

This is the output from attempting to launch root, just before I started a conda remove root ; conda config --set channel_priority strict ; conda update --all ; conda install root:

<<< cling interactive line includer >>>: remark: building module 'MathCore' as '/home/jpivarski/miniconda3/lib/MathCore.pcm' [-Rmodule-build]
While building module 'MathCore':
In file included from <module-includes>:3:
In file included from /home/jpivarski/miniconda3/include/Fit/Chi2FCN.h:19:
/home/jpivarski/miniconda3/include/Fit/FitUtil.h:404:30: error: no matching constructor for initialization of 'std::vector<double>'
         std::vector<double> ones{1, 1, 1, 1};
                             ^   ~~~~~~~~~~~~
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:650:2: note: candidate constructor template not viable: requires at most 3 arguments, but 4 were provided
        vector(_InputIterator __first, _InputIterator __last,
        ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:519:7: note: candidate constructor not viable: requires at most 3 arguments, but 4 were provided
      vector(size_type __n, const value_type& __value,
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:582:7: note: candidate constructor not viable: requires 3 arguments, but 4 were provided
      vector(vector&& __rv, const allocator_type& __m, true_type) noexcept
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:586:7: note: candidate constructor not viable: requires 3 arguments, but 4 were provided
      vector(vector&& __rv, const allocator_type& __m, false_type)
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:507:7: note: candidate constructor not viable: requires at most 2 arguments, but 4 were provided
      vector(size_type __n, const allocator_type& __a = allocator_type())
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:572:7: note: candidate constructor not viable: requires 2 arguments, but 4 were provided
      vector(const vector& __x, const allocator_type& __a)
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:604:7: note: candidate constructor not viable: requires 2 arguments, but 4 were provided
      vector(vector&& __rv, const allocator_type& __m)
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:622:7: note: candidate constructor not viable: requires at most 2 arguments, but 4 were provided
      vector(initializer_list<value_type> __l,
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:494:7: note: candidate constructor not viable: requires single argument '__a', but 4 arguments were provided
      vector(const allocator_type& __a) _GLIBCXX_NOEXCEPT
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:550:7: note: candidate constructor not viable: requires single argument '__x', but 4 arguments were provided
      vector(const vector& __x)
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:569:7: note: candidate constructor not viable: requires 1 argument, but 4 were provided
      vector(vector&&) noexcept = default;
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/x86_64-conda-linux-gnu/9.3.0/../../../../x86_64-conda-linux-gnu/include/c++/9.3.0/bits/stl_vector.h:484:7: note: candidate constructor not viable: requires 0 arguments, but 4 were provided
      vector() = default;
      ^
<<< cling interactive line includer >>>: remark: finished building module 'MathCore' [-Rmodule-build]
<<< cling interactive line includer >>>: fatal error: could not build module 'MathCore'
Failed to load module MathCore
While building module 'Hist':
In file included from <module-includes>:5:
/home/jpivarski/miniconda3/include/TBackCompFitter.h:14:10: fatal error: could not build module 'MathCore'
#include "Fit/BasicFCN.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~
Failed to load module Hist
   ------------------------------------------------------------------
  | Welcome to ROOT 6.24/02                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Jul 03 2021, 07:58:00                 |
  | From tag , 28 June 2021                                          |
  | With                                                             |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

Error in <TCling::LoadPCM>: ROOT PCM /home/jpivarski/miniconda3/lib/libNet_rdict.pcm file does not exist
Failed to load module MathCore
Info in <TInterpreter::TCling::RegisterModule>: Module MathCore in modulemap failed to load.
Error in <TCling::LoadPCM>: ROOT PCM /home/jpivarski/miniconda3/lib/libMathCore_rdict.pcm file does not exist
root [0] .q
jpivarski commented 3 years ago

It lasted 7 days this time. A few minutes ago (the last time I ran pytest), I had a working ROOT installation, now it does this:

% root
Warning in cling::IncrementalParser::CheckABICompatibility():
  Possible C++ standard library mismatch, compiled with __GLIBCXX__ '20200312'
  Extraction of runtime standard library version was: '20210601'
<<< cling interactive line includer >>>: remark: building module 'MathCore' as '/home/jpivarski/miniconda3/lib/MathCore.pcm' [-Rmodule-build]
While building module 'MathCore':
In file included from <module-includes>:3:
In file included from /home/jpivarski/miniconda3/include/Fit/Chi2FCN.h:19:
/home/jpivarski/miniconda3/include/Fit/FitUtil.h:404:30: error: no matching constructor for initialization of 'std::vector<double>'
         std::vector<double> ones{1, 1, 1, 1};
                             ^   ~~~~~~~~~~~~
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:650:2: note: candidate constructor template not viable: requires at most 3 arguments, but 4 were provided
        vector(_InputIterator __first, _InputIterator __last,
        ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:519:7: note: candidate constructor not viable: requires at most 3 arguments, but 4 were provided
      vector(size_type __n, const value_type& __value,
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:582:7: note: candidate constructor not viable: requires 3 arguments, but 4 were provided
      vector(vector&& __rv, const allocator_type& __m, true_type) noexcept
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:586:7: note: candidate constructor not viable: requires 3 arguments, but 4 were provided
      vector(vector&& __rv, const allocator_type& __m, false_type)
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:507:7: note: candidate constructor not viable: requires at most 2 arguments, but 4 were provided
      vector(size_type __n, const allocator_type& __a = allocator_type())
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:572:7: note: candidate constructor not viable: requires 2 arguments, but 4 were provided
      vector(const vector& __x, const allocator_type& __a)
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:604:7: note: candidate constructor not viable: requires 2 arguments, but 4 were provided
      vector(vector&& __rv, const allocator_type& __m)
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:622:7: note: candidate constructor not viable: requires at most 2 arguments, but 4 were provided
      vector(initializer_list<value_type> __l,
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:494:7: note: candidate constructor not viable: requires single argument '__a', but 4 arguments were provided
      vector(const allocator_type& __a) _GLIBCXX_NOEXCEPT
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:550:7: note: candidate constructor not viable: requires single argument '__x', but 4 arguments were provided
      vector(const vector& __x)
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:569:7: note: candidate constructor not viable: requires 1 argument, but 4 were provided
      vector(vector&&) noexcept = default;
      ^
/home/jpivarski/miniconda3/bin/../lib/gcc/../../x86_64-conda-linux-gnu/include/c++/9.4.0/bits/stl_vector.h:484:7: note: candidate constructor not viable: requires 0 arguments, but 4 were provided
      vector() = default;
      ^
<<< cling interactive line includer >>>: remark: finished building module 'MathCore' [-Rmodule-build]
<<< cling interactive line includer >>>: fatal error: could not build module 'MathCore'
Failed to load module MathCore
While building module 'Hist':
In file included from <module-includes>:5:
/home/jpivarski/miniconda3/include/TBackCompFitter.h:14:10: fatal error: could not build module 'MathCore'
#include "Fit/BasicFCN.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~
Failed to load module Hist
   ------------------------------------------------------------------
  | Welcome to ROOT 6.24/02                        https://root.cern |
  | (c) 1995-2021, The ROOT Team; conception: R. Brun, F. Rademakers |
  | Built for linuxx8664gcc on Jul 03 2021, 07:58:00                 |
  | From tag , 28 June 2021                                          |
  | With                                                             |
  | Try '.help', '.demo', '.license', '.credits', '.quit'/'.q'       |
   ------------------------------------------------------------------

Error in <TCling::LoadPCM>: ROOT PCM /home/jpivarski/miniconda3/lib/libNet_rdict.pcm file does not exist
Failed to load module MathCore
Info in <TInterpreter::TCling::RegisterModule>: Module MathCore in modulemap failed to load.
Error in <TCling::LoadPCM>: ROOT PCM /home/jpivarski/miniconda3/lib/libMathCore_rdict.pcm file does not exist
root [0] .q

I'm going to see if it can be fixed with a single conda update --all command. Doing so does not change my ROOT version:

The following packages will be UPDATED:

  arrow-cpp                        5.0.0-py38hf24f39c_2_cpu --> 5.0.0-py38h4026a5f_3_cpu
  dask                                2021.7.2-pyhd8ed1ab_0 --> 2021.8.0-pyhd8ed1ab_0
  dask-core                           2021.7.2-pyhd8ed1ab_0 --> 2021.8.0-pyhd8ed1ab_0
  dataclasses                              0.8-pyhc8e2a94_1 --> 0.8-pyhc8e2a94_3
  distributed                       2021.7.2-py38h578d9bd_0 --> 2021.8.0-py38h578d9bd_0
  grpc-cpp                                1.39.0-hf1f433d_2 --> 1.39.1-hf1f433d_0
  harfbuzz                                 2.8.2-h83ec7ef_0 --> 2.9.0-h83ec7ef_0
  importlib-metadata                   4.6.3-py38h578d9bd_0 --> 4.6.4-py38h578d9bd_0
  importlib_metadata                       4.6.3-hd8ed1ab_0 --> 4.6.4-hd8ed1ab_0
  ipykernel                            6.0.3-py38hd0cf306_0 --> 6.2.0-py38he5a9106_0
  jax                                   0.2.18-pyhd8ed1ab_0 --> 0.2.19-pyhd8ed1ab_0
  jupyterlab                             3.1.4-pyhd8ed1ab_0 --> 3.1.7-pyhd8ed1ab_0
  jupyterlab_server                      2.7.0-pyhd8ed1ab_0 --> 2.7.1-pyhd8ed1ab_0
  keyring                             23.0.1-py38h578d9bd_0 --> 23.1.0-py38h578d9bd_0
  libwebp                                  1.2.0-h3452ae3_0 --> 1.2.1-h3452ae3_0
  libwebp-base                             1.2.0-h7f98852_2 --> 1.2.1-h7f98852_0
  matplotlib                           3.4.2-py38h578d9bd_0 --> 3.4.3-py38h578d9bd_0
  matplotlib-base                      3.4.2-py38hf4fb855_0 --> 3.4.3-py38hf4fb855_0
  nbclient                               0.5.3-pyhd8ed1ab_0 --> 0.5.4-pyhd8ed1ab_0
  numpy                               1.21.1-py38h9894fe3_0 --> 1.21.2-py38he2449b9_0
  openssl                                 1.1.1k-h7f98852_0 --> 1.1.1k-h7f98852_1
  orc                                      1.6.9-h58a87f1_0 --> 1.6.10-h58a87f1_0
  pandas                               1.3.1-py38h1abd341_0 --> 1.3.2-py38h43a58ef_0
  pango                                   1.48.7-hb8ff022_0 --> 1.48.9-hb8ff022_0
  pip                                   21.2.3-pyhd8ed1ab_0 --> 21.2.4-pyhd8ed1ab_0
  pyarrow                          5.0.0-py38h1bc9799_2_cpu --> 5.0.0-py38h1bc9799_3_cpu
  pygments                               2.9.0-pyhd8ed1ab_0 --> 2.10.0-pyhd8ed1ab_0
  pyyaml                               5.4.1-py38h497a2fe_0 --> 5.4.1-py38h497a2fe_1
  seaborn                                 0.11.1-hd8ed1ab_1 --> 0.11.2-hd8ed1ab_0
  seaborn-base                          0.11.1-pyhd8ed1ab_1 --> 0.11.2-pyhd8ed1ab_0
  setuptools                          49.6.0-py38h578d9bd_3 --> 57.4.0-py38h578d9bd_0
  tqdm                                  4.62.0-pyhd8ed1ab_0 --> 4.62.1-pyhd8ed1ab_0
  wheel                                 0.37.0-pyhd8ed1ab_0 --> 0.37.0-pyhd8ed1ab_1
jpivarski commented 3 years ago

Doing conda update --all does not fix it, but

conda remove root
conda update --all
conda install root

does.

jpivarski commented 3 years ago

I was just going to report back here that it's happened again, just to take more statistics on how many days have elapsed. It has been 7 days. Interestingly, the time before that was another 7 days. And before that, 56 days, though I hadn't been working on anything that used ROOT in that interval and had no reason to notice a disruption.

Each of these is divisible by 7!

Does something conda-related or something ROOT-related happen on Wednesdays? At least for this time and the time right before it, I know I wasn't doing anything but running ROOT interactively and in PyROOT, and at about mid-day Chicago-time (~18:00 UTC), it failed with the above error messages. My only known fix is to uninstall it and reinstall it.