Package Details: darling-mach-dkms-git r2420.9f31032f-1

Git Clone URL: https://aur.archlinux.org/darling-git.git (read-only)
Package Base: darling-git
Description: A Darwin/OS X emulation layer for Linux
Upstream URL: http://www.darlinghq.org
Keywords: Darwin Emulator OSX Wine
Licenses: GPL3
Groups: darling-git
Submitter: Xorg
Maintainer: jamesbrink
Last Packager: jamesbrink
Votes: 32
Popularity: 0.006191
First Submitted: 2013-06-29 15:19
Last Updated: 2018-11-03 22:11

Dependencies (29)

Required by (1)

Sources (2)

Pinned Comments

jamesbrink commented on 2018-06-12 03:41

As of 2018-06-11 all build issues have been resolved and package is working as expected.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

YuutaW commented on 2019-02-27 03:58

I cannot build it on the latest Arch Linux:

Building the Linux kernel module
make[4]: Entering directory '/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm'
Running kernel version is 4.20.12-arch1-1-ARCH
rm -f darling-mach.mod.o
make -C /lib/modules/4.20.12-arch1-1-ARCH/build M=/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm modules
make[5]: Entering directory '/usr/lib/modules/4.20.12-arch1-1-ARCH/build'
Running kernel version is 4.20.12-arch1-1-ARCH
Invoked by kernel build system, building for 4.20.12-arch1-1-ARCH
  CC [M]  /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.o
/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c: In function ‘pthread_kill_trap’:
/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c:65:17: error: passing argument 1 of ‘clear_siginfo’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   clear_siginfo(&info);
                 ^~~~~
In file included from ./include/linux/syscalls.h:76,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/osfmk/duct/duct.h:73,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.h:22,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c:20:
./include/linux/signal.h:20:52: note: expected ‘kernel_siginfo_t *’ {aka ‘struct kernel_siginfo *’} but argument is of type ‘struct siginfo *’
 static inline void clear_siginfo(kernel_siginfo_t *info)
                                  ~~~~~~~~~~~~~~~~~~^~~~
/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c:74:33: error: passing argument 2 of ‘send_sig_info’ from incompatible pointer type [-Werror=incompatible-pointer-types]
   ret = send_sig_info(args.sig, &info, t);
                                 ^~~~~
In file included from ./include/linux/ptrace.h:7,
                 from ./include/uapi/asm-generic/bpf_perf_event.h:4,
                 from ./arch/x86/include/generated/uapi/asm/bpf_perf_event.h:1,
                 from ./include/uapi/linux/bpf_perf_event.h:11,
                 from ./include/linux/perf_event.h:18,
                 from ./include/linux/trace_events.h:10,
                 from ./include/trace/syscall.h:7,
                 from ./include/linux/syscalls.h:85,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/osfmk/duct/duct.h:73,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.h:22,
                 from /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.c:20:
./include/linux/sched/signal.h:325:31: note: expected ‘struct kernel_siginfo *’ but argument is of type ‘struct siginfo *’
 extern int send_sig_info(int, struct kernel_siginfo *, struct task_struct *);
                               ^~~~~~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
make[6]: *** [scripts/Makefile.build:292: /home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm/darling/pthread_kill.o] Error 1
make[5]: *** [Makefile:1562: _module_/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm] Error 2
make[5]: Leaving directory '/usr/lib/modules/4.20.12-arch1-1-ARCH/build'
make[4]: *** [Makefile:292: default] Error 2
make[4]: Leaving directory '/home/yuuta/Softs/AUR/darling-git/src/darling/src/lkm'
make[3]: *** [src/lkm/CMakeFiles/lkm.dir/build.make:58: src/lkm/CMakeFiles/lkm] Error 2
make[2]: *** [CMakeFiles/Makefile2:54218: src/lkm/CMakeFiles/lkm.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:54225: src/lkm/CMakeFiles/lkm.dir/rule] Error 2
make: *** [Makefile:15010: lkm] Error 2

Could you help me to solve that? Thanks.

dreieck commented on 2018-11-21 12:49

.. and what for is e.g. perl needed, when I just want to build the kernel module?

J5lx commented on 2018-11-21 12:43

The Arch Wiki has instructions on how to handle git submodules: https://wiki.archlinux.org/index.php/VCS_package_guidelines#Git_Submodules

dreieck commented on 2018-11-21 10:41

The prepare()-function invokes a lot of data traffic (via initialisation of git submodules).

For getting sources, the source-array is the place to go.

Is it possible to make all the downloads via the source-array? Would be much more convenient, expecially over slow internet connections where downloading via source-array can be managed differently e.g. by specifiying handlers in the makepkg.conf.

jamesbrink commented on 2018-11-03 22:13

Package updated - Added new dependencies libpng, libtiff, glu, cairo, libbsd, python2, and linux-headers

thanks @tgc

I found that in a headless install it now requires OpenGL libraries.

tgc commented on 2018-09-20 18:20

I tried building this pkg on a very fresh Arch install and had to install the following additional dependencies (some probably overlap) to successfully build it: llvm libpng mesa cairo libtiff libbsd python2 linux-headers

jamesbrink commented on 2018-06-12 03:41

As of 2018-06-11 all build issues have been resolved and package is working as expected.

jamesbrink commented on 2018-06-11 20:23

Thank you for your work on this @Xorg . I will try my best to keep this package updated.

Xorg commented on 2017-06-22 16:59

Hello world.
I have written this PKGBUILD 4 years later, and today I'm tired of maintening this package: there are often upstream breaks, and it requires a lot of time to build and fix this package.
Since 4 years, I was trying to do my best to offer to Arch users a buildable Darling out of the box, but Upstream seems not ready yet for packaging.
Some issues remain: the package is installed under /usr/libexec, but due to Arch standards, it should not [1]. There are some hacks, like the darling-git.install file and the DKMS sub-package. Sometimes, DKMS fails, but it works after reinstalling the darling-mach-dkms-git package.
I'm not interested to maintain this package anymore. Feel free to adopt it and improve it. Good luck to next maintener.

[1] https://wiki.archlinux.org/index.php/Arch_packaging_standards#Package_etiquette

indra17r commented on 2017-06-02 21:36

@Xorg: Great! it work for the problem..
but now i found another problem..

DKMS make.log for darling-mach-r1922.c9a66d64 for kernel 4.9.30-1-MANJARO (x86_64)
Jum Jun 2 23:36:57 WIB 2017
make -C /lib/modules/4.9.30-1-MANJARO/build M=/var/lib/dkms/darling-mach/r1922.c9a66d64/build modules
make[1]: Entering directory '/usr/lib/modules/4.9.30-1-MANJARO/build'
CC [M] /var/lib/dkms/darling-mach/r1922.c9a66d64/build/osfmk/ipc/ipc_entry.o
CC [M] /var/lib/dkms/darling-mach/r1922.c9a66d64/build/osfmk/ipc/ipc_hash.o
CC [M] /var/lib/dkms/darling-mach/r1922.c9a66d64/build/osfmk/ipc/ipc_space.o
CC [M] /var/lib/dkms/darling-mach/r1922.c9a66d64/build/osfmk/ipc/ipc_kmsg.o
/var/lib/dkms/darling-mach/r1922.c9a66d64/build/osfmk/ipc/ipc_kmsg.c:86:25: fatal error: mach/vm_map.h: No such file or directory
#include <mach/vm_map.h>
^
compilation terminated.
make[2]: *** [scripts/Makefile.build:294: /var/lib/dkms/darling-mach/r1922.c9a66d64/build/osfmk/ipc/ipc_kmsg.o] Error 1
make[1]: *** [Makefile:1490: _module_/var/lib/dkms/darling-mach/r1922.c9a66d64/build] Error 2
make[1]: Leaving directory '/usr/lib/modules/4.9.30-1-MANJARO/build'
make: *** [Makefile:279: default] Error 2