[MacPorts] #62065: hdf5 / field3d / openimageio dylib mismatch on builders; causes blender builds to fail

MacPorts noreply at macports.org
Fri Jan 15 18:15:36 UTC 2021


#62065: hdf5 / field3d / openimageio dylib mismatch on builders; causes blender
builds to fail
-------------------------+-------------------------------------------------
 Reporter:  jasonliu--   |      Owner:  admin@…
     Type:  defect       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:               |    Version:  2.6.4
  buildbot/mpbb          |
 Keywords:               |       Port:  blender, openimageio, field3d, hdf5
-------------------------+-------------------------------------------------
 There appears to be a dylib version mismatch between a couple of the
 packages in the ports tree. As a result, all of the
 [https://ports.macports.org/port/blender/builds builds for blender] are
 failing, with the following error:


 {{{
 dyld: Library not loaded: /opt/local/lib/libhdf5.103.dylib
   Referenced from: /opt/local/lib/libOpenImageIO.2.1.dylib
   Reason: image not found
 }}}

 `OpenImageIO` is dependent on `hdf5`, not directly, but by way of
 depending on `field3d`.

 I encountered this same error on my own machine, and did some
 troubleshooting. It appears to have something to do with this PR, which
 updated the `hdf5` port to version 1.12.0:

 [https://github.com/macports/macports-ports/pull/7983]

 To get the error to go away on my machine, I had to reactivate `hdf5
 @1.10.7`. Running `port contents` on `hdf5`, it turns out that
 `libhdf5.103.dylib` exists in `hdf5 @1.10.7`, but doesn't exist in `hdf5
 @1.12.0`. Instead, `hdf5 @1.12.0` has `libhdf5.200.dylib`.

 I'm not really sure how to fix this on the builders though, since PR7983
 included a revbump of `field3d` to revision 11, which should have caused
 it to get rebuilt against `hdf5 @1.12.0`, if I'm not mistaken. I'm not
 familiar with `field3d`, so I don't know whether or not a rebuild would
 have caused `field3d` to pick up `libhdf5.200.dylib`.

-- 
Ticket URL: <https://trac.macports.org/ticket/62065>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list