New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #12705 (closed defect: duplicate)

Opened 6 years ago

Last modified 4 years ago

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

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

Change History

Changed 6 years ago by themiwi@…

Log file

comment:1 Changed 6 years ago by ryandesign@…

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

Cc'ing the maintainer.

comment:2 Changed 6 years ago by ryandesign@…

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

comment:3 Changed 6 years ago by ryandesign@…

  • Cc waterson@… added

comment:4 Changed 6 years ago by jochen@…

  • Status changed from new to closed
  • Resolution set to duplicate

duplicate of Ticket #12704

comment:5 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.