mac OS build using darling #1902

Open
opened 2021-12-12 11:20:40 +01:00 by PeterSurda · 0 comments
PeterSurda commented 2021-12-12 11:20:40 +01:00 (Migrated from github.com)

Darling is an implementation of macOS system interfaces on linux, similarly like wine is an implementation of Windows system on linux. Based on my research there is a good chance building macOS binaries of PyBitmessage using Darling will work, i.e. produce binaries that will work on macOS. The environment appears to be compatible with macOS 10.15 Catalina, and xcode command line tools 12.4. Unfortunately there is some work left on python2 and Qt4 compatibility which prevents the build from progressing, so I got stuck. I made a fork of qt4 and python2 casks so we can make patched versions until a python3 / Qt5 port is working.

Once a build procedure is available, it can be plugged into the existing build system by running on a ubuntu VM. I don't think it will work in docker as it needs a special kernel module, which isn't very stable, running it in a VM is the official recommended process of the darling project.

A lack of mac OS binary is preventing a new release, so it would be nice if this was solved.

[Darling](https://www.darlinghq.org) is an implementation of macOS system interfaces on linux, similarly like [wine](https://www.winehq.org) is an implementation of Windows system on linux. Based on my research there is a good chance building macOS binaries of PyBitmessage using Darling will work, i.e. produce binaries that will work on macOS. The environment appears to be compatible with macOS 10.15 Catalina, and xcode command line tools 12.4. Unfortunately there is some work left on python2 and Qt4 compatibility which prevents the build from progressing, so I got stuck. I made a fork of qt4 and python2 casks so we can make patched versions until a python3 / Qt5 port is working. Once a build procedure is available, it can be plugged into the existing build system by running on a ubuntu VM. I don't think it will work in docker as it needs a special kernel module, which isn't very stable, running it in a VM is the official recommended process of the darling project. A lack of mac OS binary is preventing a new release, so it would be nice if this was solved.
This repo is archived. You cannot comment on issues.
No Milestone
No project
No Assignees
1 Participants
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: Bitmessage/PyBitmessage-2024-12-09#1902
No description provided.