Opened 9 months ago

Last modified 7 months ago

#68111 assigned defect

imath @3.1.9+universal: libImath.dylib is being used by the active ilmbase port

Reported by: Liontooth (David Liontooth) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: imath

Description

--->  Computing dependencies for imath
--->  Fetching archive for imath
--->  Attempting to fetch imath-3.1.9_0+universal.darwin_22.arm64-x86_64.tbz2 from https://packages.macports.org/imath
--->  Attempting to fetch imath-3.1.9_0+universal.darwin_22.arm64-x86_64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/imath
--->  Attempting to fetch imath-3.1.9_0+universal.darwin_22.arm64-x86_64.tbz2 from http://mirror.fcix.net/macports/packages/imath
--->  Fetching distfiles for imath
--->  Attempting to fetch Imath-3.1.9.tar.gz from https://distfiles.macports.org/openexr
--->  Verifying checksums for imath
--->  Extracting imath
--->  Configuring imath
--->  Building imath                                     
--->  Staging imath into destroot                        
--->  Installing imath @3.1.9_0+universal
--->  Activating imath @3.1.9_0+universal
Error: Failed to activate imath: Image error: /opt/local/lib/libImath.dylib is being used by the active ilmbase port.  Please deactivate this port first, or use 'port -f activate imath' to force the activation.
    while executing
"throw registry::image-error $msg"
    ("foreach" body line 47)
    invoked from within
"foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to install links, we test if we can lst..."
    invoked from within
"registry::write {
            foreach file $imagefiles {
                set srcfile "${extracted_dir}${file}"

                # To be able to instal..."
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_imath/imath/main.log for details.
Error: Problem while installing imath
Error: rev-upgrade failed: Error rebuilding kfilemetadata

Change History (4)

comment:1 Changed 9 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mcalhoun removed
Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: libImath.dylib is being used by the active ilmbase portimath @3.1.9+universal: libImath.dylib is being used by the active ilmbase port

comment:2 Changed 8 months ago by mascguy (Christopher Nielsen)

Cc: MarcusCalhoun-Lopez added; mascguy removed
Owner: changed from MarcusCalhoun-Lopez to mascguy

comment:3 Changed 7 months ago by mascguy (Christopher Nielsen)

Just curious, are your other ports all up-to-date?

I ask, as ilmbase does not conflict with imath: The former is segregated, with contents installed under ${prefix}/libexec/openexr2/. Which suggests that ilmbase is pinned at an earlier version, at least on your system.

comment:4 in reply to:  3 Changed 7 months ago by mascguy (Christopher Nielsen)

Replying to mascguy:

I ask, as ilmbase does not conflict with imath: The former is segregated, with contents installed under ${prefix}/libexec/openexr2/. Which suggests that ilmbase is pinned at an earlier version, at least on your system.

Sorry, I'm mistaken: If you haven't updated your ports in at least a year-ish, then you will indeed encounter this.

And Marcus had this case covered at one point, but I removed it. Argh!

Will re-add the fix later today, if possible.

And sorry for the confusion!

Note: See TracTickets for help on using tickets.