conda-forge / cppyy-feedstock

A conda-smithy repository for cppyy.
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

cannot extract standard library include paths #48

Open saraedum opened 3 years ago

saraedum commented 3 years ago

Some versions of cppyy are not compatible with some versions of the C++ compiler, even though there is no pin enforcing this currently:

>>> import cppyy
ERROR in cling::CIFactory::createCI(): cannot extract standard library include paths!
Invoking:
  LC_ALL=C x86_64-conda-linux-gnu-c++  -O3 -DNDEBUG -xc++ -E -v /dev/null 2>&1 | sed -n -e '/^.*include/,${' -e '/^ \/.*++/p' -e '}'
Results was:
With exit code 0

This happens with cppyy 1.9.3 and the 7.3.0 compilers. Upgrading to the 7.5.0 compilers works. Apparently, the compiler name has been hardcoded but it changed between these versions. A list of packages to reproduce is the following:

_libgcc_mutex             0.1                 conda_forge    conda-forge
_openmp_mutex             4.5                       1_gnu    conda-forge
alabaster                 0.7.12                     py_0    conda-forge
antic                     0.2.2                h04dde30_0    conda-forge
anyio                     3.2.1            py38h578d9bd_0    conda-forge
arb                       2.18.0               hbd1b91e_0    conda-forge
argon2-cffi               20.1.0           py38h497a2fe_2    conda-forge
async_generator           1.10                       py_0    conda-forge
attrs                     20.3.0             pyhd3deb0d_0    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
bdw-gc                    8.0.4                h0efe328_0    conda-forge
binutils_impl_linux-64    2.33.1               he6710b0_7
binutils_linux-64         2.33.1              h9595d00_15
bleach                    3.3.0              pyh44b312d_0    conda-forge
boost-cpp                 1.74.0               h9359b55_0    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
ca-certificates           2021.5.30            ha878542_0    conda-forge
cddlib                    1!0.94m              h9202a9a_0    conda-forge
certifi                   2021.5.30        py38h578d9bd_0    conda-forge
cffi                      1.14.5           py38ha65f79e_0    conda-forge
chardet                   4.0.0            py38h578d9bd_1    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
cliquer                   1.21              h516909a_1001    conda-forge
colorama                  0.4.4              pyh9f0ad1d_0    conda-forge
cppyy                     1.9.3            py38hc973b2a_0    conda-forge
cppyy-backend             1.14.1           py38hbf85e49_0    conda-forge
cppyy-cling               6.21.4           py38h31a667f_0    conda-forge
cppyythonizations         1.1.3                    py38_0    flatsurf
cpycppyy                  1.12.1           py38h1fd1430_0    conda-forge
cryptography              3.4.7            py38ha5dfef3_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cypari2                   2.1.2            py38h10fd563_0    conda-forge
cysignals                 1.10.3           py38hd3cf888_0    conda-forge
cython                    0.29.23          py38h709712a_1    conda-forge
decorator                 4.4.2                    pypi_0    pypi
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
docutils                  0.16             py38h578d9bd_3    conda-forge
e-antic                   1.0.1                h0d8a37a_0    flatsurf
ecl                       20.4.24              h33275a5_1    conda-forge
eclib                     20190909             h5b7fb09_3    conda-forge
ecm                       7.0.4             h9202a9a_1002    conda-forge
entrypoints               0.3             py38h32f6830_1002    conda-forge
execnet                   1.9.0              pyhd8ed1ab_0    conda-forge
expat                     2.4.1                h9c3ff4c_0    conda-forge
fflas-ffpack              2.4.3                h912ac81_2    conda-forge
flipper                   0.15.2                   pypi_0    pypi
fmt                       7.1.3                h0efe328_0    conda-forge
fontconfig                2.13.1            hba837de_1005    conda-forge
freetype                  2.10.4               h0708190_1    conda-forge
future                    0.18.2           py38h578d9bd_3    conda-forge
gap-core                  4.10.2               h600fbeb_6    conda-forge
gap-defaults              4.10.2               ha770c72_6    conda-forge
gcc_impl_linux-64         7.3.0                habb00fd_1
gcc_linux-64              7.3.0               h553295d_15
gf2x                      1.3.0                h75e9656_1    conda-forge
giac                      1.5.0.87             hcddaa8f_2    conda-forge
giflib                    5.2.1                h36c2ea0_2    conda-forge
gitdb                     4.0.7              pyhd8ed1ab_0    conda-forge
gitpython                 3.1.18             pyhd8ed1ab_0    conda-forge
givaro                    4.1.1                h192cbe9_1    conda-forge
glpk                      4.65              h9202a9a_1004    conda-forge
gmp                       6.2.1                h58526e2_0    conda-forge
gmpxxyy                   1.0.1            py38hf8c6a0b_1    flatsurf
gmpy2                     2.1.0b5          py38h8384b0a_0    conda-forge
gsl                       2.6                  he838d99_2    conda-forge
gxx_impl_linux-64         7.3.0                hdf63c60_1
gxx_linux-64              7.3.0               h553295d_15
icu                       67.1                 he1b5a44_0    conda-forge
idna                      2.10               pyh9f0ad1d_0    conda-forge
igraph                    0.8.3                h25ad418_1    conda-forge
imagesize                 1.2.0                      py_0    conda-forge
iml                       1.0.5             hd75c201_1003    conda-forge
importlib-metadata        4.6.0            py38h578d9bd_0    conda-forge
importlib_metadata        4.6.0                hd8ed1ab_0    conda-forge
iniconfig                 1.1.1              pyh9f0ad1d_0    conda-forge
ipykernel                 5.5.5            py38hd0cf306_0    conda-forge
ipython                   7.25.0           py38hd0cf306_1    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.6.3              pyhd3deb0d_0    conda-forge
jbig                      2.1               h7f98852_2003    conda-forge
jedi                      0.18.0           py38h578d9bd_2    conda-forge
jinja2                    2.10.3                     py_0    conda-forge
jpeg                      9d                   h36c2ea0_0    conda-forge
jsonschema                3.2.0            py38h32f6830_1    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.9.0              pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
jupyterlab_widgets        1.0.0              pyhd8ed1ab_1    conda-forge
jupytext                  1.11.1             pyh44b312d_0    conda-forge
kernel-headers_linux-64   2.6.32              h77966d4_13    conda-forge
kiwisolver                1.3.1            py38h1fd1430_1    conda-forge
krb5                      1.19.1               hcc1bbae_0    conda-forge
lcalc                     1.23              h0d16fac_1004    conda-forge
lcms2                     2.12                 hddcbb42_0    conda-forge
ld_impl_linux-64          2.33.1               h53a641e_7
lerc                      2.2.1                h9c3ff4c_0    conda-forge
libblas                   3.9.0                9_openblas    conda-forge
libbraiding               1.0                  he1b5a44_0    conda-forge
libbrial                  1.2.10               hb0536f6_0    conda-forge
libcblas                  3.9.0                9_openblas    conda-forge
libcurl                   7.77.0               h2574ce0_0    conda-forge
libdeflate                1.7                  h7f98852_5    conda-forge
libedit                   3.1.20191231         he28a2e2_2    conda-forge
libev                     4.33                 h516909a_1    conda-forge
libexactreal              2.0.0                h0d8a37a_0    flatsurf
libffi                    3.3                  h58526e2_2    conda-forge
libflatsurf               3.6.4                hea1b374_0    flatsurf
libflint                  2.6.3                h6b702e8_0    conda-forge
libgcc-devel_linux-64     7.5.0               hda03d7c_19    conda-forge
libgcc-ng                 9.3.0               h2828fa1_19    conda-forge
libgd                     2.2.5             h6e6070c_1008    conda-forge
libgfortran-ng            9.3.0               hff62375_19    conda-forge
libgfortran5              9.3.0               hff62375_19    conda-forge
libgomp                   9.3.0               h2828fa1_19    conda-forge
libhomfly                 1.02r6               h36c2ea0_0    conda-forge
libiconv                  1.16                 h516909a_0    conda-forge
libintervalxt             3.1.4                ha9176f0_0    flatsurf
liblapack                 3.9.0                9_openblas    conda-forge
liblapacke                3.9.0                9_openblas    conda-forge
libllvm9                  9.0.1                hf817b99_2    conda-forge
libnghttp2                1.43.0               h812cca2_0    conda-forge
libopenblas               0.3.15          pthreads_h8fe5266_1    conda-forge
libpng                    1.6.37               h21135ba_2    conda-forge
libsodium                 1.0.18               h36c2ea0_1    conda-forge
libssh2                   1.9.0                ha56f1ee_6    conda-forge
libstdcxx-devel_linux-64  7.5.0               hb016644_19    conda-forge
libstdcxx-ng              9.3.0               h6de172a_19    conda-forge
libtiff                   4.2.0                hbd63e13_2    conda-forge
libuuid                   2.32.1            h7f98852_1000    conda-forge
libwebp                   1.2.0                h3452ae3_0    conda-forge
libwebp-base              1.2.0                h7f98852_2    conda-forge
libxml2                   2.9.10               h68273f3_2    conda-forge
linbox                    1.6.3                h4cae756_5    conda-forge
lrcalc                    1.2               h58526e2_1000    conda-forge
lz4-c                     1.9.3                h9c3ff4c_0    conda-forge
m4ri                      20140914          h7ca028e_1005    conda-forge
m4rie                     20150908          h7ca028e_1001    conda-forge
markdown-it-py            0.6.2              pyhd8ed1ab_0    conda-forge
markupsafe                2.0.1            py38h497a2fe_0    conda-forge
matplotlib-base           3.4.2            py38hcc49a3a_0    conda-forge
matplotlib-inline         0.1.2              pyhd8ed1ab_2    conda-forge
mdit-py-plugins           0.2.6              pyhd8ed1ab_0    conda-forge
mistune                   0.8.4           py38h497a2fe_1004    conda-forge
more-itertools            8.8.0              pyhd8ed1ab_0    conda-forge
mpc                       1.1.0             h04dde30_1009    conda-forge
mpfi                      1.5.4             h9f54685_1001    conda-forge
mpfr                      4.0.2                he80fd80_1    conda-forge
mpmath                    1.2.1                    pypi_0    pypi
myst-nb                   0.12.3             pyhd8ed1ab_0    conda-forge
myst-parser               0.13.7             pyhd8ed1ab_0    conda-forge
nauty                     2.7.1                h7f98852_2    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
networkx                  2.5.1                    pypi_0    pypi
notebook                  6.4.0              pyha770c72_0    conda-forge
ntl                       11.4.3               hef3c4d3_1    conda-forge
numpy                     1.21.0           py38h9894fe3_0    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
openjpeg                  2.4.0                hb52868f_1    conda-forge
openssl                   1.1.1k               h7f98852_0    conda-forge
packaging                 20.9               pyh44b312d_0    conda-forge
pandas                    1.2.5                    pypi_0    pypi
pandoc                    2.14.0.3             h7f98852_0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
pari                      2.11.4               hddaffa3_2    conda-forge
pari-galdata              0.0.20180411                  0    conda-forge
pari-seadata-small        0.0.20090618                  0    conda-forge
parso                     0.8.2              pyhd8ed1ab_0    conda-forge
perl                      5.32.1          0_h7f98852_perl5    conda-forge
pexpect                   4.8.0            py38h32f6830_1    conda-forge
pickleshare               0.7.5           py38h32f6830_1002    conda-forge
pillow                    8.2.0            py38ha0e1e83_1    conda-forge
pip                       21.1.3             pyhd8ed1ab_0    conda-forge
planarity                 3.0.0.5           h36c2ea0_1002    conda-forge
pluggy                    0.13.1           py38h578d9bd_4    conda-forge
ppl                       1.2               he5188e9_1003    conda-forge
pplpy                     0.8.6            py38h87e0038_0    conda-forge
prometheus_client         0.11.0             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.19             pyha770c72_0    conda-forge
psutil                    5.8.0            py38h497a2fe_1    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
py                        1.10.0             pyhd3deb0d_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pyeantic                  1.0.1            py38h2b4ac30_0    flatsurf
pyexactreal               2.0.0            py38h2b4ac30_0    flatsurf
pyflatsurf                3.6.4            py38h2b4ac30_0    flatsurf
pygments                  2.9.0              pyhd8ed1ab_0    conda-forge
pynac                     0.7.26           py38headbe19_6    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyrsistent                0.17.3           py38h497a2fe_2    conda-forge
pysocks                   1.7.1            py38h578d9bd_3    conda-forge
pytest                    6.2.4            py38h578d9bd_0    conda-forge
pytest-forked             1.3.0              pyhd3deb0d_0    conda-forge
pytest-xdist              2.3.0              pyhd8ed1ab_0    conda-forge
python                    3.8.10               h12debd9_8
python-dateutil           2.8.1                      py_0    conda-forge
python_abi                3.8                      2_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
ratpoints                 2.1.3             h445213a_1002    conda-forge
readline                  8.1                  h46c0cb4_0    conda-forge
realalg                   0.3.3                    pypi_0    pypi
requests                  2.25.1             pyhd3deb0d_0    conda-forge
requests-unixsocket       0.2.0                      py_0    conda-forge
rw                        0.8               h36c2ea0_1002    conda-forge
sagelib                   9.2              py38hdb2647e_2    conda-forge
scipy                     1.7.0            py38h7b17777_0    conda-forge
send2trash                1.7.1              pyhd8ed1ab_0    conda-forge
setuptools                49.6.0           py38h578d9bd_3    conda-forge
shellingham               1.4.0              pyh44b312d_0    conda-forge
singular                  4.1.1.p2             ha188dad_4    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
smmap                     3.0.5              pyh44b312d_0    conda-forge
sniffio                   1.2.0            py38h578d9bd_1    conda-forge
snowballstemmer           2.1.0              pyhd8ed1ab_0    conda-forge
sphinx                    3.5.4              pyh44b312d_0    conda-forge
sphinx-togglebutton       0.2.3              pyhd3deb0d_0    conda-forge
sphinxcontrib-applehelp   1.0.2                      py_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.36.0               h9cd32fc_0    conda-forge
surface-dynamics          0.4.6            py38h933fa0b_1    conda-forge
symmetrica                2.0               h58526e2_1007    conda-forge
sympy                     1.8                      pypi_0    pypi
sysroot_linux-64          2.12                h77966d4_13    conda-forge
terminado                 0.10.1           py38h578d9bd_0    conda-forge
testpath                  0.5.0              pyhd8ed1ab_0    conda-forge
tk                        8.6.10               h21135ba_1    conda-forge
toml                      0.10.2             pyhd8ed1ab_0    conda-forge
tornado                   6.1              py38h497a2fe_1    conda-forge
traitlets                 5.0.5                      py_0    conda-forge
typing_extensions         3.10.0.0           pyha770c72_0    conda-forge
urllib3                   1.26.6             pyhd8ed1ab_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
xz                        5.2.5                h516909a_1    conda-forge
yaml                      0.2.5                h516909a_0    conda-forge
zeromq                    4.3.4                h9c3ff4c_0    conda-forge
zipp                      3.4.1              pyhd8ed1ab_0    conda-forge
zlib                      1.2.11            h516909a_1010    conda-forge
zn_poly                   0.9.2                h9202a9a_0    conda-forge
zstd                      1.4.9                ha95c52a_0    conda-forge
saraedum commented 3 years ago

It seems that this could be fixed by creating a PR here: https://github.com/conda-forge/conda-forge-repodata-patches-feedstock