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

libgfortan appears to force downgrade #54

Open
1 task done
tpdownes opened this issue Jan 17, 2024 · 6 comments
Open
1 task done

libgfortan appears to force downgrade #54

tpdownes opened this issue Jan 17, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@tpdownes
Copy link
Member

Solution to issue cannot be found in the documentation.

  • I checked the documentation.

Issue

When I issue a conda update after installing go, it forces a downgrade. It appears libgfortan may be part of the issie.

~❯❯❯ conda update -n default --all --yes
Channels:
 - conda-forge
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /Users/tpdownes/local/miniconda3/envs/default


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    go-1.20.7                  |       h480a608_0        81.3 MB  conda-forge
    libblas-3.9.0              |17_osx64_openblas          14 KB  conda-forge
    libcblas-3.9.0             |17_osx64_openblas          14 KB  conda-forge
    libgfortran-5.0.0          |11_3_0_h97931a8_32         158 KB  conda-forge
    libgfortran5-12.2.0        |      he409387_32         1.5 MB  conda-forge
    liblapack-3.9.0            |17_osx64_openblas          14 KB  conda-forge
    libopenblas-0.3.23         |openmp_h429af6e_0         5.7 MB  conda-forge
    ------------------------------------------------------------
                                           Total:        88.7 MB

The following packages will be UPDATED:

  libgfortran                       5.0.0-13_2_0_h97931a8_1 --> 5.0.0-11_3_0_h97931a8_32

The following packages will be DOWNGRADED:

  go                                      1.21.6-hb60353b_0 --> 1.20.7-h480a608_0
  libblas                           3.9.0-20_osx64_openblas --> 3.9.0-17_osx64_openblas
  libcblas                          3.9.0-20_osx64_openblas --> 3.9.0-17_osx64_openblas
  libgfortran5                            13.2.0-h2873a65_1 --> 12.2.0-he409387_32
  liblapack                         3.9.0-20_osx64_openblas --> 3.9.0-17_osx64_openblas
  libopenblas                      0.3.25-openmp_hfef2a42_0 --> 0.3.23-openmp_h429af6e_0

Installed packages

# packages in environment at /Users/tpdownes/local/miniconda3/envs/default:
#
# Name                    Version                   Build  Channel
_go_select                2.3.0                       cgo    conda-forge
bzip2                     1.0.8                h10d778d_5    conda-forge
c-ares                    1.25.0               h10d778d_0    conda-forge
ca-certificates           2023.11.17           h8857fd0_0    conda-forge
coreutils                 9.4                  h0dc2134_0    conda-forge
curl                      8.5.0                h726d00d_0    conda-forge
findutils                 4.6.0             hb7f2c08_1001    conda-forge
gettext                   0.21.1               h8a4c099_0    conda-forge
gh                        2.42.1               h990441c_0    conda-forge
git                       2.42.0          pl5321hbb4c4ee_0    conda-forge
go                        1.20.7               h480a608_0    conda-forge
google-cloud-sdk          460.0.0         py311h6eed73b_0    conda-forge
grep                      3.11                 h912d4ce_0    conda-forge
krb5                      1.21.2               hb884880_0    conda-forge
libblas                   3.9.0           17_osx64_openblas    conda-forge
libcblas                  3.9.0           17_osx64_openblas    conda-forge
libcurl                   8.5.0                h726d00d_0    conda-forge
libcxx                    16.0.6               hd57cbcb_0    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 h10d778d_2    conda-forge
libexpat                  2.5.0                hf0c8a7f_1    conda-forge
libffi                    3.4.2                h0d85af4_5    conda-forge
libgfortran               5.0.0           11_3_0_h97931a8_32    conda-forge
libgfortran5              12.2.0              he409387_32    conda-forge
libiconv                  1.17                 hd75f5a5_2    conda-forge
liblapack                 3.9.0           17_osx64_openblas    conda-forge
libnghttp2                1.58.0               h64cf6d3_1    conda-forge
libopenblas               0.3.23          openmp_h429af6e_0    conda-forge
libsqlite                 3.44.2               h92b6c6a_0    conda-forge
libssh2                   1.11.0               hd019ec5_0    conda-forge
libzlib                   1.2.13               h8a1eda9_5    conda-forge
llvm-openmp               17.0.6               hb6ac08f_0    conda-forge
ncurses                   6.4                  h93d8f39_2    conda-forge
numpy                     1.26.3          py311hc43a94b_0    conda-forge
openssl                   3.2.0                hd75f5a5_1    conda-forge
packer                    1.10.0               h990441c_0    conda-forge
pcre2                     10.40                h1c4e4bc_0    conda-forge
perl                      5.32.1          7_h10d778d_perl5    conda-forge
pip                       23.3.2             pyhd8ed1ab_0    conda-forge
python                    3.11.7          h9f0c242_1_cpython    conda-forge
python_abi                3.11                    4_cp311    conda-forge
readline                  8.2                  h9e318b2_1    conda-forge
sed                       4.7               h3efe00b_1000    conda-forge
setuptools                69.0.3             pyhd8ed1ab_0    conda-forge
terraform                 1.6.6                h990441c_0    conda-forge
tk                        8.6.13               h1abcd95_1    conda-forge
tzdata                    2023d                h0c530f3_0    conda-forge
wheel                     0.42.0             pyhd8ed1ab_0    conda-forge
xz                        5.2.6                h775f41a_0    conda-forge
zstd                      1.5.5                h829000d_0    conda-forge

Environment info

active environment : default
    active env location : /Users/tpdownes/local/miniconda3/envs/default
            shell level : 1
       user config file : /Users/tpdownes/.condarc
 populated config files : /Users/tpdownes/local/miniconda3/.condarc
                          /Users/tpdownes/.condarc
          conda version : 23.11.0
    conda-build version : not installed
         python version : 3.10.12.final.0
                 solver : libmamba (default)
       virtual packages : __archspec=1=skylake
                          __conda=23.11.0=0
                          __osx=14.2.1=0
                          __unix=0=0
       base environment : /Users/tpdownes/local/miniconda3  (writable)
      conda av data dir : /Users/tpdownes/local/miniconda3/etc/conda
  conda av metadata url : None
           channel URLs : https://conda.anaconda.org/conda-forge/osx-64
                          https://conda.anaconda.org/conda-forge/noarch
          package cache : /Users/tpdownes/local/miniconda3/pkgs
                          /Users/tpdownes/.conda/pkgs
       envs directories : /Users/tpdownes/local/miniconda3/envs
                          /Users/tpdownes/.conda/envs
               platform : osx-64
             user-agent : conda/23.11.0 requests/2.31.0 CPython/3.10.12 Darwin/23.2.0 OSX/14.2.1 solver/libmamba conda-libmamba-solver/23.12.0 libmambapy/1.5.5
                UID:GID : 828971:89939
             netrc file : None
           offline mode : False
@tpdownes tpdownes added the bug Something isn't working label Jan 17, 2024
@tpdownes
Copy link
Member Author

I can kinda workaround this by deliberately installing gfortran=13.2

@beckermr
Copy link
Member

Yes I've seen this too without using go. It appears the solver moves back and forth, which means there are two equal priority solutions. Maybe @jaimergp can help us diagnose what about the packages the solver is reacting to?

@tpdownes
Copy link
Member Author

Somehow getting even worse. I installed gfortan=13.2 but then issued another update and it's downgrading libgfortran5 and gfortan and go to ancient versions:

The following NEW packages will be INSTALLED:

  go-nocgo           conda-forge/osx-64::go-nocgo-1.13.5-h8b2e17f_0
  go-nocgo_osx-64    conda-forge/osx-64::go-nocgo_osx-64-1.13.5-he44337e_0

The following packages will be UPDATED:

  _go_select                                    2.2.0-nocgo --> 2.3.0-cgo
  libgfortran                       5.0.0-13_2_0_h97931a8_1 --> 5.0.0-11_3_0_h97931a8_32

The following packages will be DOWNGRADED:

  gfortran                                13.2.0-h2c809b3_1 --> 9.3.0-h768ea0c_15
  gfortran_impl_osx~                      13.2.0-h7643cbd_1 --> 9.3.0-h86db474_7
  gfortran_osx-64                         13.2.0-h18f7dce_1 --> 9.3.0-h268312c_8
  go                                      1.21.6-h85e1960_0 --> 1.13.5-hb30d042_0
  isl                                       0.25-hb486fe8_0 --> 0.22.1-hb1e8313_2
  libgfortran5                            13.2.0-h2873a65_1 --> 12.2.0-he409387_32

@tpdownes
Copy link
Member Author

I suspect something may also be going on with _go_select as it's going up and down and between cgo / nocgo

@tpdownes
Copy link
Member Author

As another data point, I removed everything related to go and also removed gfortran and then ran conda install go. It believes the following is a downgrade

~❯❯❯ conda install go
Channels:
 - conda-forge
Platform: osx-64
Collecting package metadata (repodata.json): done
Solving environment: done

## Package Plan ##

  environment location: /Users/tpdownes/local/miniconda3/envs/default

  added / updated specs:
    - go


The following packages will be downloaded:

    package                    |            build
    ---------------------------|-----------------
    libgfortran-5.0.0          |13_2_0_h97931a8_2         108 KB  conda-forge
    libgfortran5-13.2.0        |       h2873a65_2         1.5 MB  conda-forge
    ------------------------------------------------------------
                                           Total:         1.6 MB

The following NEW packages will be INSTALLED:

  _go_select         conda-forge/osx-64::_go_select-2.3.0-cgo
  go                 conda-forge/osx-64::go-1.21.6-hb60353b_0

The following packages will be UPDATED:

  libgfortran5                           12.2.0-he409387_32 --> 13.2.0-h2873a65_2

The following packages will be DOWNGRADED:

  libgfortran                      5.0.0-11_3_0_h97931a8_32 --> 5.0.0-13_2_0_h97931a8_2

@beckermr
Copy link
Member

The build number decrease is considered a downgrade.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants