Opened 3 months ago

Last modified 2 months ago

#69193 assigned defect

gimp2 @2.10.36_1+python27: ld: Undefined symbols: Imf_3_1::Chromaticities::Chromaticities

Reported by: fmw42 (Fred Weinhaus) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.9.0
Keywords: ventura arm64 Cc:
Port: gimp2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I am trying to upgrade GIMP2 on my M1 Mac mini OSX Ventura. But I get messages in the log that it fails to find gimp-2.10.36.tar.bz2,

:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  gimp2-2.10.36_1+python27.darwin_22.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch gimp2-2.10.36_1+python27.darwin_22.arm64.tbz2 from https://packages.macports.org/gimp2
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch gimp2-2.10.36_1+python27.darwin_22.arm64.tbz2 from http://mirror.fcix.net/macports/packages/gimp2
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch gimp2-2.10.36_1+python27.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gimp2
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

This may be related to Ticket #68044

Is there a work around?

Thanks

Attachments (1)

MacPorts GIMP2 log.txt (3.7 MB) - added by fmw42 (Fred Weinhaus) 3 months ago.

Change History (9)

Changed 3 months ago by fmw42 (Fred Weinhaus)

Attachment: MacPorts GIMP2 log.txt added

comment:1 Changed 3 months ago by fmw42 (Fred Weinhaus)

Description: modified (diff)

comment:2 Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: mascguy@… mascguy removed
Description: modified (diff)
Keywords: ventura arm64 added; gimp2 removed
Owner: set to mascguy
Status: newassigned
Summary: GIMP2 fails to install on M1 Mac Venturagimp2 @2.10.36_1+python27: ld: Undefined symbols: Imf_3_1::Chromaticities::Chromaticities

The real error in the log is:

:info:build ld: Undefined symbols:
:info:build   Imf_3_1::Chromaticities::Chromaticities(Imath_2_3::Vec2<float> const&, Imath_2_3::Vec2<float> const&, Imath_2_3::Vec2<float> const&, Imath_2_3::Vec2<float> const&), referenced from:
:info:build       _EXRLoader::getProfile() const in openexr-wrapper.o
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

#68044 contains no information about what the problem was, except that it occurred at configure time. Your issue occurred at build time so it is not the same.

comment:3 in reply to:  description Changed 3 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to fmw42:

But I get messages in the log that it fails to find gimp-2.10.36.tar.bz2,

:debug:archivefetch euid/egid changed to: 502/501
:info:archivefetch --->  gimp2-2.10.36_1+python27.darwin_22.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
:msg:archivefetch --->  Attempting to fetch gimp2-2.10.36_1+python27.darwin_22.arm64.tbz2 from https://packages.macports.org/gimp2
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch gimp2-2.10.36_1+python27.darwin_22.arm64.tbz2 from http://mirror.fcix.net/macports/packages/gimp2
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
:msg:archivefetch --->  Attempting to fetch gimp2-2.10.36_1+python27.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gimp2
:debug:archivefetch Fetching archive failed: The requested URL returned error: 404

No, you don't. You get messages that it failed to find gimp2-2.10.36_1+python27.darwin_22.arm64.tbz2, which is not a bug; see #68869. After failing to locate that file, it then successfully fetched gimp-2.10.36.tar.bz2, extracted it, and tried to build it from source, which is what failed and what we now need to investigate.

comment:4 Changed 3 months ago by fmw42 (Fred Weinhaus)

Any update or time estimate when this might be fixed. I am dead in the water with my Python/OpenCV and I need to be able to use those tools. Or perhaps is there a work around to build the Python/OpenCV ports ( py39-opencv4 @4.6.0_2 +contrib +readline) without the need for GIMP2

comment:5 Changed 3 months ago by fmw42 (Fred Weinhaus)

Please can someone help me? Is there any workaround to get py39-opencv4 to compile without dealing with this GIMP2 issue?

comment:6 Changed 2 months ago by fmw42 (Fred Weinhaus)

I updated MacPorts today and then tried to install py39-openc4. I did not get the above error message. However, the install failed because it could not build opencv4. I have opened a new ticket for that error. So perhaps this ticket can be closed if that seems appropriate.

comment:7 Changed 2 months ago by fmw42 (Fred Weinhaus)

I tried installing GIMP2 again today (2/27/2024), but it failed again.

sudo port install gimp2
--->  Computing dependencies for gimp2
--->  Fetching archive for gimp2
--->  Attempting to fetch gimp2-2.10.36_3+python27.darwin_22.arm64.tbz2 from https://packages.macports.org/gimp2
--->  Attempting to fetch gimp2-2.10.36_3+python27.darwin_22.arm64.tbz2 from http://mirror.fcix.net/macports/packages/gimp2
--->  Attempting to fetch gimp2-2.10.36_3+python27.darwin_22.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gimp2
--->  Building gimp2
Error: Failed to build gimp2: command execution failed   
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gimp2/gimp2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port gimp2 failed

I do not see where to upload the main.log file.

comment:8 Changed 2 months ago by fmw42 (Fred Weinhaus)

Sorry I pressed the wrong link (Modify Ticket) thinking I could add the log file.

Note: See TracTickets for help on using tickets.