Bug 1228280 - PETSc: missing dependency
Summary: PETSc: missing dependency
Status: RESOLVED FIXED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Egbert Eich
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-24 12:15 UTC by Martin Diehl
Modified: 2024-07-25 19:47 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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