Hide Forgot
mathgl-1.11.0.1-2.fc15.src is missing BuildRequires: hdf-static [...] https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2 If a library you depend on only provides a static version your package can link against it provided that you BuildRequire the *-static subpackage. Packagers in such a situation should be aware that if a shared library becomes available, that you should adjust your package to use the shared library.
Hello, Thanks for bringing this up -- I was unable to reproduce the build error on my f13 install, and had not got around to making an f15 box. I am wondering, looking at the hdf .spec (but not the code), why it does not ship a shared lib? I have CCd the hdf maintainer in so I can better understand the rationale for this.
There is no build error, just the violation of the packaging guidelines. [ http://mschwendt.fedorapeople.org/staticbugstat.html ]
The hdf build system cannot build shared fortran libraries.
OK, I have added Bug #679948 as a dep on this, 'cause the build is failing for a separate reason, so I cannot test the fix at the moment. Once that bug is fixed I will update this package across all versions. However,I would quietly suggest patching the hdf build system -- Gentoo appear to have done this, so you can probably just use their patches: http://mirror.mcs.anl.gov/pub/gentoo/distfiles/hdf-4.2_p4-patches.tar.bz2 its in hdf-4.2_p4-configure.ac.patch, and -as-needed.patch and its much neater than the Debian ones.
Closed by: fedora-report-static-batch.py http://mschwendt.fedorapeople.org/staticbugstat.html
Reopened by: fedora-report-static-batch.py mathgl-1.11.0.1-6.fc16.src is missing BuildRequires: hdf-static [...] https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2 If a library you depend on only provides a static version your package can link against it provided that you BuildRequire the *-static subpackage. Packagers in such a situation should be aware that if a shared library becomes available, that you should adjust your package to use the shared library.
Not clear what's going on here though. It BuildRequires both hdf-devel hdf5-devel and ought to BuildRequires hdf5-static instead (it links with -lhdf5 not -lhdf).
And I should trust the automated report, which is correct about mathgl-1.11.0.1-6.fc16.src is missing BuildRequires: hdf-static http://kojipkgs.fedoraproject.org/packages/mathgl/1.11.2/1.fc15/data/logs/i686/build.log [...] -lgslcblas /usr/lib/hdf/libmfhdf.a /usr/lib/hdf/libdf.a -lz -lhdf5 -lgif [...]
Not sure why this was closed before. Anyway: Build with additional buildrequires, and removed hdf5-devel http://koji.fedoraproject.org/koji/taskinfo?taskID=3157256 The duplicate -devel package is to solve a configure time problem. I could modify configure, but I would need to either update the package, or autoreconf -- neither of which is particularly appealing. I did send upstream a note a while ago, and they are quite responsive. I can poke them again about this. Marking as closed rawhide. Feel free to open again as needed. I still think we could look to using those gentoo patches to fix the static hdf build.
>I could >modify configure, but I would need to either update the package, or autoreconf >-- neither of which is particularly appealing. That is, do that every new release. Ahem.
Reopened by: fedora-report-static-batch.py mathgl-1.11.2-7.fc17.src is missing BuildRequires: hdf-static [...] https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Static_Libraries_2 If a library you depend on only provides a static version your package can link against it provided that you BuildRequire the *-static subpackage. Packagers in such a situation should be aware that if a shared library becomes available, that you should adjust your package to use the shared library.
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19