"nothing provides" when installing netcdf, or eccodes-devel from science repo

Similar issue here, but a different repo. Can’t tell if they got their issue solved.

I have a fresh Leap 15.6 installation. I added the science repo:

sudo zypper addrepo https://download.opensuse.org/repositories/science/15.6/science.repo

And then tried to install some packages that have worked in the past:

sudo zypper install netcdf
sudo zypper install eccodes-devel

I’m met with this error:

me@vbox:~> sudo zypper install netcdf
Loading repository data...
Reading installed packages...
Resolving package dependencies...

Problem: 1: nothing provides 'libhdf5.so.200()(64bit)' needed by the to be installed netcdf-4.9.2-bp156.159.7.x86_64
 Solution 1: do not install netcdf-4.9.2-bp156.159.7.x86_64
 Solution 2: break netcdf-4.9.2-bp156.159.7.x86_64 by ignoring some of its dependencies

Playing around, I can install hdf5 manually from the science repo, though it is too new, provides /usr/lib64/libhdf5.so.310. I can download an older version from the Main repository as well though YaST Software, but it’s too old, /usr/lib64/libhdf5.so.103

Is the science repo messed up right now? It seems that netcdf and eccodes-devel depend on a version of libhdf5 that has been replaced by one too new.

me@vbox:~> sudo zypper lr -d
#  | Alias                       | Name         | Enabled | GPG Check | Refresh | Keep | Priority | Type   | URI                                                                     | Service
---+-----------------------------+--------------+---------+-----------+---------+------+----------+--------+-------------------------------------------------------------------------+--------
 1 | openSUSE-Leap-15.6-1        | openSUSE-L-> | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/oss/           | 
 2 | repo-backports-debug-update | Update rep-> | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/update/leap/15.6/backports_debug/          | 
 3 | repo-backports-update       | Update rep-> | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/backports/                | 
 4 | repo-debug                  | Debug Repo-> | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/debug/distribution/leap/15.6/repo/oss/     | 
 5 | repo-debug-non-oss          | Debug Repo-> | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/debug/distribution/leap/15.6/repo/non-oss/ | 
 6 | repo-debug-update           | Update Rep-> | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/debug/update/leap/15.6/oss/                | 
 7 | repo-debug-update-non-oss   | Update Rep-> | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/debug/update/leap/15.6/non-oss/            | 
 8 | repo-non-oss                | Non-OSS Re-> | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/non-oss/       | 
 9 | repo-openh264               | Open H.264-> | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Leap/                      | 
10 | repo-oss                    | Main Repos-> | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/distribution/leap/15.6/repo/oss/           | 
11 | repo-sle-debug-update       | Update rep-> | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/debug/update/leap/15.6/sle/                | 
12 | repo-sle-update             | Update rep-> | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/sle/                      | 
13 | repo-source                 | Source Rep-> | No      | ----      | ----    | -    |   99     | N/A    | http://download.opensuse.org/source/distribution/leap/15.6/repo/oss/    | 
14 | repo-update                 | Main Updat-> | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/oss                       | 
15 | repo-update-non-oss         | Update Rep-> | Yes     | (r ) Yes  | Yes     | -    |   99     | rpm-md | http://download.opensuse.org/update/leap/15.6/non-oss/                  | 
16 | science                     | Software f-> | Yes     | (r ) Yes  | No      | -    |   99     | rpm-md | https://download.opensuse.org/repositories/science/15.6/                | 

netcdf failed to build for Leap 15.6 in this project. What you get is some outdated binary created when it was still building successfully (against old versions of other libraries).

This one is working:

Create bug report.