conda-forge / compilers-feedstock

A conda-smithy repository for compilers.
BSD 3-Clause "New" or "Revised" License
9 stars 17 forks source link

Rerender time? #54

Closed hobu closed 1 year ago

hobu commented 1 year ago

Solution to issue cannot be found in the documentation.

Issue

Does this package need a rerender, or is there a pin that isn't specified somewhere? It seems that the compilers package is pulling in clang=14.0.6 on osx, but it is also pulling in libcxx=15.0.7. Are these able to be out of sync? I have a build that started breaking on std::stable_sort and tracked it down to what I think is mismatched versions of clang from the compilers package and the libcxx=15.0.7 that just started pushing out a few days ago.

mamba create -n compilers -c conda-forge compilers
Looking for: ['compilers']

conda-forge/osx-arm64                                       Using cache
conda-forge/noarch                                          Using cache
Transaction

  Prefix: /Users/hobu/miniforge3/envs/compilers

  Updating specs:

   - compilers

  Package                          Version  Build               Channel                     Size
──────────────────────────────────────────────────────────────────────────────────────────────────
  Install:
──────────────────────────────────────────────────────────────────────────────────────────────────

  + c-compiler                       1.5.2  h5008568_0          conda-forge/osx-arm64     Cached
  + ca-certificates              2022.12.7  h4653dfc_0          conda-forge/osx-arm64     Cached
  + cctools                        973.0.1  hcbb26d4_11         conda-forge/osx-arm64     Cached
  + cctools_osx-arm64              973.0.1  hef52d2f_11         conda-forge/osx-arm64     Cached
  + clang                           14.0.6  hce30654_0          conda-forge/osx-arm64     Cached
  + clang-14                        14.0.6  default_h81a5282_0  conda-forge/osx-arm64     Cached
  + clang_osx-arm64                 14.0.6  h15773ab_4          conda-forge/osx-arm64     Cached
  + clangxx                         14.0.6  default_hb7ecf47_0  conda-forge/osx-arm64     Cached
  + clangxx_osx-arm64               14.0.6  he29aa18_4          conda-forge/osx-arm64     Cached
  + compiler-rt                     14.0.6  h30b49de_0          conda-forge/osx-arm64     Cached
  + compiler-rt_osx-arm64           14.0.6  h48302dc_0          conda-forge/noarch        Cached
  + compilers                        1.5.2  hce30654_0          conda-forge/osx-arm64     Cached
  + cxx-compiler                     1.5.2  hffc8910_0          conda-forge/osx-arm64     Cached
  + fortran-compiler                 1.5.2  h2ccabda_0          conda-forge/osx-arm64     Cached
  + gfortran                        11.3.0  h1ca8e4b_0          conda-forge/osx-arm64     Cached
  + gfortran_impl_osx-arm64         11.3.0  h2a9d086_28         conda-forge/osx-arm64     Cached
  + gfortran_osx-arm64              11.3.0  h57527a5_0          conda-forge/osx-arm64     Cached
  + gmp                              6.2.1  h9f76cd9_0          conda-forge/osx-arm64     Cached
  + isl                               0.25  h9a09cb3_0          conda-forge/osx-arm64     Cached
  + ld64                               609  h619f069_11         conda-forge/osx-arm64     Cached
  + ld64_osx-arm64                     609  h7167370_11         conda-forge/osx-arm64     Cached
  + libclang-cpp14                  14.0.6  default_h81a5282_0  conda-forge/osx-arm64     Cached
  + libcxx                          15.0.7  h75e25f2_0          conda-forge/osx-arm64     Cached
  + libgfortran                      5.0.0  11_3_0_hd922786_28  conda-forge/osx-arm64     Cached
  + libgfortran-devel_osx-arm64     11.3.0  hfe9555d_28         conda-forge/noarch        Cached
  + libgfortran5                    11.3.0  hdaf2cc0_28         conda-forge/osx-arm64     Cached
  + libiconv                          1.17  he4db4b2_0          conda-forge/osx-arm64     Cached
  + libllvm14                       14.0.6  hf6e71e7_1          conda-forge/osx-arm64     Cached
  + libzlib                         1.2.13  h03a7124_4          conda-forge/osx-arm64     Cached
  + llvm-openmp                     15.0.7  h7cfbb63_0          conda-forge/osx-arm64     Cached
  + llvm-tools                      14.0.6  hf6e71e7_1          conda-forge/osx-arm64     Cached
  + mpc                              1.3.1  h91ba8db_0          conda-forge/osx-arm64     Cached
  + mpfr                             4.1.0  h6d7a090_1          conda-forge/osx-arm64     Cached
  + openssl                          3.0.8  h03a7124_0          conda-forge/osx-arm64     Cached
  + sigtool                          0.1.3  h44b9a77_0          conda-forge/osx-arm64     Cached
  + tapi                         1100.0.11  he4954df_0          conda-forge/osx-arm64     Cached
  + zlib                            1.2.13  h03a7124_4          conda-forge/osx-arm64     Cached

Installed packages

See above

Environment info

active environment : base
    active env location : /Users/hobu/miniforge3
            shell level : 1
       user config file : /Users/hobu/.condarc
 populated config files : /Users/hobu/miniforge3/.condarc
          conda version : 22.9.0
    conda-build version : not installed
         python version : 3.9.15.final.0
       virtual packages : __osx=13.2.1=0
                          __unix=0=0
                          __archspec=1=arm64
       base environment : /Users/hobu/miniforge3  (writable)
      conda av data dir : /Users/hobu/miniforge3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/hobu/miniforge3/pkgs
                          /Users/hobu/.conda/pkgs
       envs directories : /Users/hobu/miniforge3/envs
                          /Users/hobu/.conda/envs
               platform : osx-arm64
             user-agent : conda/22.9.0 requests/2.28.1 CPython/3.9.15 Darwin/22.3.0 OSX/13.2.1
                UID:GID : 501:20
             netrc file : None
           offline mode : False
isuruf commented 1 year ago

clang 14 needs libcxx>=14, so the combination is fine. Do you have a reproducer for the error with std::stable_sort?

hobu commented 1 year ago

Do you have a reproducer for the error with std::stable_sort?

Not currently. Our workaround is to force install of libcxx=14 for now. Our builds (PDAL) based on compilers and the conda-forge channel started breaking over the weekend. It is very possible the bug is in the PDAL codebase, but when we build with matched libcxx and clang/clangxx versions (either both 14 or both 15), the bug is not exhibited. It also is only happening on OSX and not in in linux, so I'm not quite sure what to make of it.

Given this is expected to work, I'll close for now and assume it is somehow our issue still.