Opened 17 years ago

Closed 16 years ago

Last modified 15 years ago

#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 (1)

build.log (218.7 KB) - added by themiwi@… 17 years ago.
Log file

Download all attachments as: .zip

Change History (6)

Changed 17 years ago by themiwi@…

Attachment: build.log added

Log file

comment:1 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: persquare@… added
Owner: changed from macports-dev@… to ryandesign@…

Cc'ing the maintainer.

comment:2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from ryandesign@… to macports-dev@…

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: waterson@… added

comment:4 Changed 16 years ago by jochen@…

Resolution: duplicate
Status: newclosed

duplicate of Ticket #12704

comment:5 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.