[MacPorts] #64488: darktable-devel @3.8.0_1: rebuilds dependent ports with "+universal" when that isn't specified
MacPorts
noreply at macports.org
Fri Jan 21 21:28:09 UTC 2022
#64488: darktable-devel @3.8.0_1: rebuilds dependent ports with "+universal" when
that isn't specified
------------------------------+-----------------------------------------
Reporter: bal-agates | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.1
Resolution: | Keywords: darktable universal sqlite3
Port: darktable-devel |
------------------------------+-----------------------------------------
Comment (by bal-agates):
Thank you Ryan for the quick analysis. You were correct.
In the Portfile for darktable-devel I added "arm64" to supported_archs.
That solved the building "universal" ports issue. Everything now built
arm64 without error. However when I ran in a shell I saw the following
messages:
{{{
$ 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:40086): GLib-GObject-CRITICAL **: 15:00:42.945: g_object_set:
assertion 'G_IS_OBJECT (object)' failed
[defaults] found a 64-bit system with 33554432 kb ram and 1 cores (0 atom
based)
[defaults] setting very conservative defaults
dbus[40086]: Dynamic session lookup supported but failed: launchd did not
provide a socket path, verify that org.freedesktop.dbus-session.plist is
loaded!
[dt_detect_cpu_features] Not implemented for this architecture.
[dt_detect_cpu_features] Please contribute a patch.
[dt_codepaths_init] will be using experimental plain OpenMP SIMD codepath.
[dt_pthread_create] info: bumping pthread's stacksize from 524288 to
2097152
[dt_pthread_create] info: bumping pthread's stacksize from 524288 to
2097152
[dt_pthread_create] info: bumping pthread's stacksize from 524288 to
2097152
[dt_pthread_create] info: bumping pthread's stacksize from 524288 to
2097152
[dt_pthread_create] info: bumping pthread's stacksize from 524288 to
2097152
[dt_pthread_create] info: bumping pthread's stacksize from 524288 to
2097152
zsh: trace trap darktable
}}}
I recognize the SSE2 instruction as only for Intel CPU. See
[https://developer.apple.com/documentation/apple-silicon/addressing-
architectural-differences-in-your-macos-code Addressing Architectural
Differences in Your macOS Code]. I am not sure about the other status but
there could be other CPU specific issues. I may look at the CPU issues a
little but likely they are more than I can handle.
A prepackaged version of darktable x86_64 is available. I was only trying
to build in MacPorts to get a native arm64 version. Do you think we
should add a comment to the Portfile referencing this Trac issue in case
others fall into the same trap that I did?
Feel free to close this issue.
--
Ticket URL: <https://trac.macports.org/ticket/64488#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list