Hide Forgot
Created attachment 1132552 [details] test.c Description of problem: Package hdf5-mpich-devel currently requires only hdf5-mpich (which in turn requires mpich) and does not require mpich-devel. Then when compiling software which uses hdf5-mpich-devel, linking against libmpi (i.e. -lmpi) fails because package mpich provides the versioned libraries (i.e. libmpi.so.12), but mpich-devel provides the symbolic link (i.e. libmpi.so) needed for linking. How reproducible: Always Steps to Reproduce: 1. Without package mpich-devel installed, install hdf5-mpich-devel and its dependences. 2. [Matthew@strider ~]$ module load mpi/mpich-x86_64 3. Try to compile a program e.g. test.c: [Matthew@strider ~]$ mpicc -o test.exe test.c Actual results: /usr/bin/ld: cannot find -lmpi collect2: error: ld returned 1 exit status Expected results: [Matthew@strider ~]$ mpicc -o test.out test.c produces binary test.out Additional info: Installing package mpich-devel fixes this. The hdf5-openmpi-devel package correctly requires openmpi-devel, so this packaging issue is not an issue for for the OpenMPI implementation: diff <(dnf repoquery --requires hdf5-openmpi-devel) <(dnf repoquery --requires hdf5-mpich-devel) 1c1,2 < Last metadata expiration check performed 4:43:57 ago on Wed Mar 2 10:22:04 2016. --- > Waiting for process with pid 27750 to finish. > Last metadata expiration check performed 4:43:59 ago on Wed Mar 2 10:22:04 2016. 3,4c4,5 < hdf5-openmpi(x86-32) = 1.8.14-3.fc22 < hdf5-openmpi(x86-64) = 1.8.14-3.fc22 --- > hdf5-mpich(x86-32) = 1.8.14-3.fc22 > hdf5-mpich(x86-64) = 1.8.14-3.fc22 13c14 < openmpi-devel --- > mpich
hdf5-1.8.15-10.patch1.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-6a13ebb6ca
hdf5-1.8.15-10.patch1.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-6a13ebb6ca
hdf5-1.8.15-10.patch1.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.