Package Base Details: darling-git

Git Clone URL: https://aur.archlinux.org/darling-git.git (read-only)
Keywords: Darwin Emulator macOS OSX Wine
Submitter: Xorg
Maintainer: jamesbrink
Last Packager: jamesbrink
Votes: 33
Popularity: 0.821102
First Submitted: 2013-06-29 15:19
Last Updated: 2019-05-04 06:46

Latest Comments

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

Scrumplex commented on 2019-05-13 00:48

When building it requires linux-headers on my system. But I run linux-zen instead. Can I safely ignore this dependency?

jamesbrink commented on 2019-05-04 06:49

@dreieck & @J5lx, I have updated the PKGBUILD placing the git submodules into the sources section. Thanks for the info!

simona commented on 2019-05-03 13:18

home/simona/.cache/yay/darling-git/src/darling/src/lkm/osfmk/duct/duct_kern_task.c:417:53: error: ‘struct task_struct’ has no member named ‘se’ times->sum_exec_runtime += t->se.sum_exec_runtime; ^~ make[6]: [scripts/Makefile.build:277: /home/simona/.cache/yay/darling-git/src/darling/src/lkm/osfmk/duct/duct_kern_task.o] Error 1 make[5]: [Makefile:1579: module/home/simona/.cache/yay/darling-git/src/darling/src/lkm] Error 2

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.