Ticket #12705 (closed defect: duplicate)
Upgrading HDF5 from 1.6.5 to 1.6.6 fails
| Reported by: | themiwi@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.5.2 |
| Keywords: | hdf5 | Cc: | themiwi@…, persquare@…, waterson@… |
| Port: |
Description
When upgrading the hdf5 port from version 1.6.5 to 1.6.6 the compilation of the tests fails. This is due to the fact that -L${prefix}/lib appears before -L${worksrcpath}/src/.libs and thus causes the test program to link against version 1.6.5.
The command that fails is:
gcc .libs/getnameS.o -O2 -std=c99 -Wno-long-long -O -fomit-frame-pointer -finline-functions -o .libs/getname getname.o -L./.libs -lh5test -L/macports/lib -L/macports/lib/lib -L../src/.libs -lhdf5 -lz -lm
where the current directory is ${worksrcpath}/test and ${prefix}=/macports.
Deactivating hdf5 before upgrading fixes the problem.
I will attach a build log which has been created by sudo port -f -d -v upgrade hdf5 2>&1 | tee build.log.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


Log file