Bug 1188288

Summary: Problem: the installed <foo> requires 'netcdf-gnu-hpc-devel = 4.7.4', but this requirement cannot be provided
Product: [openSUSE] openSUSE Tumbleweed Reporter: Anthony Agelastos <iqgrande>
Component: PatternsAssignee: Dominique Leuenberger <dimstar>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: dimstar, eich, iqgrande
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: openSUSE Tumbleweed   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Anthony Agelastos 2021-07-13 19:26:19 UTC
Greetings:

I recently have tried updating my Tumbleweed system and received the following error (I would get more if I do things other than "cancel"). I have several of the HPC patterns selected and this is installed as part of them (which is why I thought I should start with the "Pattern" component for this bug report; if I was incorrect in doing so, then I apologize and please move this ticket to wherever it is more relevant. I did a search on the forums and within the bugs but didn't see another ticket similar to this one; I also apologize if I missed it. Thank you for any insight you can provide into this.

{{{
Computing distribution upgrade...
4 Problems:
Problem: the installed libnetcdf-cxx4_4_3_1-gnu-hpc-devel-4.3.1-4.1.x86_64 requires 'netcdf-gnu-hpc-devel = 4.7.4', but this requirement cannot be provided
Problem: the installed trilinos_13_0_1-gnu-mpich-hpc-devel-13.0.1-1.2.x86_64 requires 'netcdf-gnu-mpich-hpc-devel = 4.7.4', but this requirement cannot be provided
Problem: the installed trilinos_13_0_1-gnu-mvapich2-hpc-devel-13.0.1-1.2.x86_64 requires 'netcdf-gnu-mvapich2-hpc-devel = 4.7.4', but this requirement cannot be provided
Problem: the installed trilinos_13_0_1-gnu-openmpi2-hpc-devel-13.0.1-1.2.x86_64 requires 'netcdf-gnu-openmpi2-hpc-devel = 4.7.4', but this requirement cannot be provided

Problem: the installed libnetcdf-cxx4_4_3_1-gnu-hpc-devel-4.3.1-4.1.x86_64 requires 'netcdf-gnu-hpc-devel = 4.7.4', but this requirement cannot be provided
  deleted providers: netcdf-gnu-hpc-devel-4.7.4-3.3.noarch
 Solution 1: deinstallation of libnetcdf-cxx4_4_3_1-gnu-hpc-devel-4.3.1-4.1.x86_64
 Solution 2: keep obsolete netcdf-gnu-hpc-devel-4.7.4-3.3.noarch
 Solution 3: break libnetcdf-cxx4_4_3_1-gnu-hpc-devel-4.3.1-4.1.x86_64 by ignoring some of its dependencies

Choose from above solutions by number or skip, retry or cancel [1/2/3/s/r/c/d/?] (c): 
}}}

Kind regards,
Anthony
Comment 1 Egbert Eich 2021-07-14 06:19:39 UTC
Dominique - what should I do here? 

OBS should simply rebuild Trilinos but doesn't.
The 
%{requires_eq libnetcdf... }
construct is needed as ABI version handling in HPC packages is not reliable.
Comment 2 Dominique Leuenberger 2021-07-14 07:20:17 UTC
https://build.opensuse.org/package/show/openSUSE:Factory/trilinos

trilinos was attempted to be rebuilt - but, since May 28 it has not seen any single successful build in various flavors.
Comment 3 Egbert Eich 2021-07-14 07:57:35 UTC
(In reply to Dominique Leuenberger from comment #2)
> https://build.opensuse.org/package/show/openSUSE:Factory/trilinos
> 
> trilinos was attempted to be rebuilt - but, since May 28 it has not seen any
> single successful build in various flavors.

Yes, but this was due to gcc11 update which broke netcdf (due to more strict-aliasing requirements).
This should be fixed with the latest submission to netcdf. It works here locally with 'osc build' - at least I got past the error message seen in the buildlog from oS:Factory...
Comment 4 Egbert Eich 2021-07-14 09:03:22 UTC
Ok, local build completed. So there is nothing stopping this package to build any more. So, either a rebuild gets triggered by hand - which I have no authority to do:
$ osc  rebuild -M gnu-mpich-hpc openSUSE:Factory trilinos standard
Server returned an error: HTTP Error 403: Forbidden
could not trigger rebuild for project 'openSUSE:Factory' package 'trilinos:gnu-mpich-hpc'
No permission to execute command on package trilinos:gnu-mpich-hpc in project openSUSE:Factory
or we wait for it to happen automagically.

Dominique, I leave this to you to decide, once you're done, you may want to close it as a duplicate of bsc#1187910 as the root cause is the same.
Comment 5 Dominique Leuenberger 2021-07-14 09:06:05 UTC
A rebuild of all failed trilinos flavors in Factory had been triggered already - so far looking good as well there

Let's go with the DUP in this case

*** This bug has been marked as a duplicate of bug 1187910 ***
Comment 6 Egbert Eich 2021-07-14 09:44:43 UTC
(In reply to Dominique Leuenberger from comment #5)
> A rebuild of all failed trilinos flavors in Factory had been triggered
> already - so far looking good as well there
> 
> Let's go with the DUP in this case
> 
> *** This bug has been marked as a duplicate of bug 1187910 ***

Thanks Dominique!
BTW:
The fix for the root cause in netcdf (adding -fno-strict-aliasing) should be a temporary fix only, the real fix involves a number of patches I would like to run past upstream before I integrate them.
Comment 7 Anthony Agelastos 2021-07-15 16:41:49 UTC
(In reply to Egbert Eich from comment #6)
> (In reply to Dominique Leuenberger from comment #5)
> > A rebuild of all failed trilinos flavors in Factory had been triggered
> > already - so far looking good as well there
> > 
> > Let's go with the DUP in this case
> > 
> > *** This bug has been marked as a duplicate of bug 1187910 ***
> 
> Thanks Dominique!
> BTW:
> The fix for the root cause in netcdf (adding -fno-strict-aliasing) should be
> a temporary fix only, the real fix involves a number of patches I would like
> to run past upstream before I integrate them.

I was able to update today (at least start the download process... I have a lot of packages to update so it will take a while). Thank you all for your help with this.