Opened 3 years ago

Closed 2 years ago

#65206 closed defect (fixed)

darktable - port processing fails due to dependency on rav1e install and cargo-c build

Reported by: jason-azze (Jason Azze) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: arm64 monterey Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: darktable

Description

$ uname -a
Darwin jazze-mbp14.local 21.5.0 Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:37 PDT 2022; root:xnu-8020.121.3~4/RELEASE_ARM64_T6000 arm64
$ sw_vers
ProductName:	macOS
ProductVersion:	12.4
BuildVersion:	21F79
$ port version
Version: 2.7.2

Darktable fails to install with the following error, although I am able to install both rav1e and cargo-c.

$ sudo port clean darktable
$ sudo port install darktable
--->  Computing dependencies for darktable
Error: Cannot install rav1e for the archs 'arm64 x86_64' because
Error: its dependency cargo-c does not build for the required archs by default
Error: and does not have a universal variant.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port darktable failed

I tried installing the dependencies and attempting the darktable install again, but the error is as above.

$ port installed cargo-c
The following ports are currently installed:
  cargo-c @0.9.5_0 (active)
$ port installed rav1e
The following ports are currently installed:
  rav1e @0.5.1_0 (active)

Attachments (1)

macports.conf (9.0 KB) - added by jason-azze (Jason Azze) 3 years ago.
My /System/Volumes/Data/opt/local/etc/macports/macports.conf file

Download all attachments as: .zip

Change History (9)

Changed 3 years ago by jason-azze (Jason Azze)

Attachment: macports.conf added

My /System/Volumes/Data/opt/local/etc/macports/macports.conf file

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: mascguy added
Owner: set to MarcusCalhoun-Lopez
Status: newassigned

See also #64488.

comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)

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

Is this still an issue?

comment:3 Changed 2 years ago by jason-azze (Jason Azze)

I just tested again, and this particular problem appears to be solved.

sudo port install darktable

completes without error.

Unfortunately, it doesn't result in a runnable Darktable on Apple silicon, but this is probably an upstream issue.

$ darktable
[dt_detect_cpu_features] Not implemented for this architecture.
[dt_detect_cpu_features] Please contribute a patch.
[dt_init] SSE2 instruction set is unavailable.
[dt_init] expect a LOT of functionality to be broken. you have been warned.

(process:37438): GLib-GObject-CRITICAL **: 14:11:48.041: g_object_set: assertion 'G_IS_OBJECT (object)' failed

(darktable:37438): Gtk-WARNING **: 14:11:48.113: cannot open display: 

I think this issue can be closed.

comment:4 in reply to:  3 ; Changed 2 years ago by mascguy (Christopher Nielsen)

Replying to jason-azze:

I just tested again, and this particular problem appears to be solved.

Unfortunately, it doesn't result in a runnable Darktable on Apple silicon, but this is probably an upstream issue.

$ darktable
(darktable:37438): Gtk-WARNING **: 14:11:48.113: cannot open display: 

I think this issue can be closed.

The display-related warning looks like an X11 issue. Do you have other X11-based GUI ports that work?

comment:5 in reply to:  4 Changed 2 years ago by mascguy (Christopher Nielsen)

Replying to mascguy:

The display-related warning looks like an X11 issue. Do you have other X11-based GUI ports that work?

Also, do you have xorg-server installed?

comment:6 Changed 2 years ago by jason-azze (Jason Azze)

I don't have any other GUI ports installed at all. (I'd be willing to test one.)

I did not have xorg-server installed. I installed and and tried darktable again, but the errors persist.

comment:7 in reply to:  6 Changed 2 years ago by mascguy (Christopher Nielsen)

Replying to jason-azze:

I don't have any other GUI ports installed at all. (I'd be willing to test one.)

I did not have xorg-server installed. I installed and and tried darktable again, but the errors persist.

Per some instructions in comment:2:issue:59003, try the following:

  • Logout and login again
  • Navigate to folder MacPorts, contained within Applications. There should be an app named X11; open that. (I'm not sure whether you have to run X11 manually each time, but let's run it for this test.)
  • Keep X11 running in the background
  • From the MacPorts folder, open Darktable

Let me know if that works. If not, there are some additional things we can try.

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

Resolution: fixed
Status: assignedclosed

Closing as fixed, since the original issue has been resolved.

Did the previous suggestions help, relative to starting the app?

Note: See TracTickets for help on using tickets.