Bug 1228280

Summary: PETSc: missing dependency
Product: [openSUSE] openSUSE Tumbleweed Reporter: Martin Diehl <m.diehl>
Component: OtherAssignee: Egbert Eich <eich>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: Andreas.Stieger
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Martin Diehl 2024-07-24 12:15:46 UTC
Since revision 35, PETSc is build with libyaml support. However, libyaml is not an installation dependency and using the PETSc build command fails:

https://build.opensuse.org/build/home:MarDieh/openSUSE_Tumbleweed/x86_64/damask/_log
Comment 1 Andreas Stieger 2024-07-24 12:43:53 UTC
Breaking change: https://bugzilla.opensuse.org/show_bug.cgi?id=1228280

Quoting for completeness:
[   27s] [100%] Linking Fortran executable DAMASK_grid
[   27s] [...]
[   27s] /usr/lib64/gcc/x86_64-suse-linux/13/../../../../x86_64-suse-linux/bin/ld: cannot find -lyaml: No such file or directory
[   27s] collect2: error: ld returned 1 exit status


Likely solution: Add the appropriate to petsc.spec %package %{?n_pre}devel
Comment 2 Martin Diehl 2024-07-25 09:14:45 UTC
slowroll has the same issue. Should I report it somewhere else?
Comment 3 Andreas Stieger 2024-07-25 19:47:07 UTC
https://build.opensuse.org/request/show/1189657