Opened 10 months ago
Closed 5 months ago
#69193 closed defect (worksforme)
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: | Ooolab, cooljeanius (Eric Gallager) |
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 (2)
Change History (18)
Changed 10 months ago by fmw42 (Fred Weinhaus)
Attachment: | MacPorts GIMP2 log.txt added |
---|
comment:1 Changed 10 months ago by fmw42 (Fred Weinhaus)
Description: | modified (diff) |
---|
comment:2 Changed 10 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: | new → assigned |
Summary: | GIMP2 fails to install on M1 Mac Ventura → gimp2 @2.10.36_1+python27: ld: Undefined symbols: Imf_3_1::Chromaticities::Chromaticities |
comment:3 Changed 10 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 9 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 9 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 9 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 9 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 9 months ago by fmw42 (Fred Weinhaus)
Sorry I pressed the wrong link (Modify Ticket) thinking I could add the log file.
comment:9 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | Ooolab added |
---|
comment:10 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Fred, now that you have uninstalled and reinstalled your ports and the problem no longer happens with opencv4, are you able to build gimp2 as well?
comment:11 Changed 6 months ago by fmw42 (Fred Weinhaus)
Fred, now that you have uninstalled and reinstalled your ports and the problem no longer happens with opencv4, are you able to build gimp2 as well?
I have not tried. Would it still be useful for me to report that? If so, I will try again.
comment:12 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Yes. It would let us know if this ticket was caused by the same as yet unidentified problem as your other ticket. We also have another user who filed duplicate #69970 experiencing the same issue who is still looking for the solution. We would still like to understand what the problem was so that we can prevent it from happening to others.
comment:13 follow-up: 16 Changed 6 months ago by fmw42 (Fred Weinhaus)
I tried to install again, but it failed. So I cleaned gimp2 port and tried again. This time it worked. This is the same method as I got py312-opencv4 to install in #69381. See uploaded gimp2 install file.
Changed 6 months ago by fmw42 (Fred Weinhaus)
Attachment: | gimp2_install.txt added |
---|
comment:14 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Yes, that's not unexpected. You need to clean before trying again so that the configure phase can run again and analyze the current state of your libraries. If you don't do that, you're just continuing a build that had analyzed the previous evidently broken state of your libraries so the build would continue to fail.
I'll do some more troubleshooting with Ooolab in #69970 rather than mix it into this ticket.
comment:15 Changed 5 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:16 Changed 5 months ago by mascguy (Christopher Nielsen)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
The real error in the log is:
#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.