Build fails for me:
[...]
[ 0%] Linking CXX executable x86_64-apple-darwin11-ld
[ 0%] Built target x86_64-apple-darwin11-ld
make: *** [Makefile:149: all] Error 2
(Btw., for darling
I get the same error.)
Git Clone URL: | https://aur.archlinux.org/darling-git.git (read-only, click to copy) |
---|---|
Package Base: | darling-git |
Description: | Darwin/macOS emulation layer for Linux |
Upstream URL: | http://www.darlinghq.org |
Keywords: | Darwin Emulator macOS OSX Wine |
Licenses: | |
Groups: | |
Conflicts: | |
Provides: | |
Submitter: | Xorg |
Maintainer: | jamesbrink |
Last Packager: | jamesbrink |
Votes: | 34 |
Popularity: | 0.000558 |
First Submitted: | 2013-06-29 15:19 |
Last Updated: | 2020-07-26 04:35 |
Build fails for me:
[...]
[ 0%] Linking CXX executable x86_64-apple-darwin11-ld
[ 0%] Built target x86_64-apple-darwin11-ld
make: *** [Makefile:149: all] Error 2
(Btw., for darling
I get the same error.)
EDIT: It's fixed now.
I'm getting a build error, at 100%:
/home/<user>/Downloads/darling-git/src/darling/src/external/lkm/osfmk/duct/duct_kern_task.c: In function ‘__thread_group_cputime’:
/home/<user>/Downloads/darling-git/src/darling/src/external/lkm/osfmk/duct/duct_kern_task.c:431:53: error: ‘struct task_struct’ has no member named ‘se’
431 | times->sum_exec_runtime += t->se.sum_exec_runtime;
| ^~
make[6]: *** [scripts/Makefile.build:267: /home/<user>/Downloads/darling-git/src/darling/src/external/lkm/osfmk/duct/duct_kern_task.o] Error 1
make[5]: *** [Makefile:1736: /home/<user>/Downloads/darling-git/src/darling/src/external/lkm] Error 2
make[5]: Leaving directory '/usr/lib/modules/5.7.19-1-ck-skylake/build'
make[4]: *** [Makefile:346: default] Error 2
make[4]: Leaving directory '/home/<user>/Downloads/darling-git/src/darling/src/external/lkm'
make[3]: *** [src/external/lkm/CMakeFiles/lkm.dir/build.make:77: src/external/lkm/CMakeFiles/lkm] Error 2
make[2]: *** [CMakeFiles/Makefile2:46367: src/external/lkm/CMakeFiles/lkm.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:46374: src/external/lkm/CMakeFiles/lkm.dir/rule] Error 2
make: *** [Makefile:15757: lkm] Error 2
Downloading libswiftAVFoundation.dylib (130 KB)
Error downloading object: libswiftAVFoundation.dylib (06aa9a4): Smudge error: Error downloading libswiftAVFoundation.dylib (06aa9a4164514f7f0339c086089861320b980bc3c1a727d7395fcf8447fb5fe7): error transferring "06aa9a4164514f7f0339c086089861320b980bc3c1a727d7395fcf8447fb5fe7": [0] remote missing object 06aa9a4164514f7f0339c086089861320b980bc3c1a727d7395fcf8447fb5fe7
Errors logged to /home/nixi/.cache/yay/darling/src/darling-swift/.git/lfs/logs/20200819T030136.227075294.log
Use `git lfs logs last` to view the log.
error: external filter 'git-lfs filter-process' failed
fatal: libswiftAVFoundation.dylib: smudge filter lfs failed
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
PKGBUILD patch to get this working again with latest upstream https://pastebin.com/vRknUKcu
There is a little issue with this package. I'm using yay as AUR Helper.
It doesnt find the file ~/.cache/yay/darling-git/darling-opendirectory.git, meaning it wasnt downloaded.
I checked the PKGBUILD and, indeed, this line has to be added : 'git+https://github.com/darlinghq/darling-opendirectory.git'
I just tried to add it (and a 'SKIP' to md5sums), and run makepkg -si in ~/.cache/yay/darling folder, it works... mmm, well, not entirely, it's just better.... I explain : I had to cheat a little with darling-opendirectory because while the makepkg -si, it says it cant find ~/.cache/yay/darling-git/darling-opendirectory.git ... so I did a symlink from darling-opendirectory to darling-opendirectory.git. It works better, BUT, still having errors like this one below but multiple times : CMake Error at src/CMakeLists.txt:49 (add_subdirectory): add_subdirectory given source "external/cctools-port/cctools/ld64/src" which is not an existing directory.
Please can you check ?
@fox8091 I tried your suggestion as well as some other options but they all seem to break the package
thanks @fox8091 I am adding it now!
Please add --uname_r=$kernelver at the end of MAKE in dkms.conf to allow proper upgrades. This applies to both packages.
@Xorg, this has been done on this package as well as the other! thank you.
@jamesbrink: Please also add provides=('darling')
and provides=('darling-mach-dkms')
in appropriates package
functions. :)
Pinned Comments
jamesbrink commented on 2019-07-10 02:27
Please use this package for stable more reliable builds
https://aur.archlinux.org/packages/darling/
This one is identical but locked in on a last known working git ref and I will update as often as I can.
I have also raised an issue about versioning so maybe we can get some kind of tags for future versions and stable working builds
https://github.com/darlinghq/darling/issues/537